Добавил тест для бетонного прямоугольника

This commit is contained in:
Evgeny Redikultsev
2022-07-20 20:21:49 +05:00
parent ac40c10bb7
commit 47dc9617c3
5 changed files with 93 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ namespace StructureHelperLogics.Models.NdmPrimitives
public PointPrimitive(ICenter center, IPoint shape) : base(center, shape) { }
public override INdmPrimitive GetNdmPrimitive()
{
double strength = 400;
double strength = 400e6d;
string materialName = "s400";
IPrimitiveMaterial primitiveMaterial = new PrimitiveMaterial() { MaterialType = GetMaterialTypes(), ClassName = materialName, Strength = strength }; ;
INdmPrimitive ndmPrimitive = new NdmPrimitive() { Center = _center, Shape = _shape, PrimitiveMaterial = primitiveMaterial };