SectionTemlate was added

This commit is contained in:
Evgeny Redikultsev
2022-12-20 21:37:38 +05:00
parent d240968f29
commit 487cc66c39
36 changed files with 631 additions and 44 deletions

View File

@@ -12,12 +12,16 @@ namespace StructureHelperCommon.Models.Forces
{
public LimitStates LimitState { get; set; }
public CalcTerms CalcTerm { get; set; }
public IForceTuple ForceTuple { get; private set; }
public IForceTuple ForceTuple { get; set; }
public DesignForceTuple(LimitStates limitState, CalcTerms calcTerm)
public DesignForceTuple(LimitStates limitState, CalcTerms calcTerm) : this()
{
LimitState = limitState;
CalcTerm = calcTerm;
}
public DesignForceTuple()
{
ForceTuple = new ForceTuple();
}

View File

@@ -12,11 +12,15 @@ namespace StructureHelperCommon.Models.Forces
{
public string Name { get; set; }
public bool SetInGravityCenter { get; set; }
public Point2D ForcePoint { get; private set; }
public List<IDesignForceTuple> DesignForces { get; private set; }
public ForceCombinationList()
{
SetInGravityCenter = true;
ForcePoint = new Point2D() { X = 0, Y = 0 };
DesignForces = new List<IDesignForceTuple>();
DesignForces.Add(new DesignForceTuple(LimitStates.ULS, CalcTerms.ShortTerm));
DesignForces.Add(new DesignForceTuple(LimitStates.ULS, CalcTerms.LongTerm));

View File

@@ -11,6 +11,6 @@ namespace StructureHelperCommon.Models.Forces
{
LimitStates LimitState { get; set; }
CalcTerms CalcTerm { get; set; }
IForceTuple ForceTuple {get;}
IForceTuple ForceTuple { get; set; }
}
}

View File

@@ -10,6 +10,7 @@ namespace StructureHelperCommon.Models.Forces
public interface IForceCombinationList
{
string Name { get; set; }
bool SetInGravityCenter { get; set; }
Point2D ForcePoint {get ;}
List<IDesignForceTuple> DesignForces { get; }
}