Binding function by states and terms done

This commit is contained in:
Иван Ивашкин
2025-03-04 14:11:41 +05:00
parent 0a7a696b5f
commit 45dc56a63e
12 changed files with 165 additions and 27 deletions

View File

@@ -111,7 +111,17 @@ namespace StructureHelperLogics.Models.Materials
var functionSelectionView = new FunctionSelectionView();
functionSelectionView.ShowDialog();
var material = new HeadMaterial();
material.HelperMaterial = new FunctionMaterial() { Modulus = 2e11d, CompressiveStrength = 4e8d, TensileStrength = 4e8d };
material.HelperMaterial = new FunctionMaterial()
{
Modulus = 2e11d,
CompressiveStrength = 4e8d,
TensileStrength = 4e8d,
FunctionStorage = functionSelectionView.ViewModel.FunctionStorage,
};
if (functionSelectionView.DialogResult == true)
{
material.SuccessfullyCreated = true;
}
return material;
}
}