Force combination was added
This commit is contained in:
23
StructureHelperCommon/Models/Forces/DesignForceTuple.cs
Normal file
23
StructureHelperCommon/Models/Forces/DesignForceTuple.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public class DesignForceTuple : IDesignForceTuple
|
||||
{
|
||||
public LimitStates LimitState { get; set; }
|
||||
public CalcTerms CalcTerm { get; set; }
|
||||
public IForceTuple ForceTuple { get; private set; }
|
||||
|
||||
public DesignForceTuple(LimitStates limitState, CalcTerms calcTerm)
|
||||
{
|
||||
LimitState = limitState;
|
||||
CalcTerm = calcTerm;
|
||||
ForceTuple = new ForceTuple();
|
||||
}
|
||||
}
|
||||
}
|
||||
27
StructureHelperCommon/Models/Forces/ForceCombinationList.cs
Normal file
27
StructureHelperCommon/Models/Forces/ForceCombinationList.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public class ForceCombinationList : IForceCombinationList
|
||||
{
|
||||
|
||||
public string Name { get; set; }
|
||||
public Point2D ForcePoint { get; private set; }
|
||||
public List<IDesignForceTuple> DesignForces { get; private set; }
|
||||
|
||||
public ForceCombinationList()
|
||||
{
|
||||
DesignForces = new List<IDesignForceTuple>();
|
||||
DesignForces.Add(new DesignForceTuple(LimitStates.ULS, CalcTerms.ShortTerm));
|
||||
DesignForces.Add(new DesignForceTuple(LimitStates.ULS, CalcTerms.LongTerm));
|
||||
DesignForces.Add(new DesignForceTuple(LimitStates.SLS, CalcTerms.ShortTerm));
|
||||
DesignForces.Add(new DesignForceTuple(LimitStates.SLS, CalcTerms.LongTerm));
|
||||
}
|
||||
}
|
||||
}
|
||||
18
StructureHelperCommon/Models/Forces/ForceTuple.cs
Normal file
18
StructureHelperCommon/Models/Forces/ForceTuple.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public class ForceTuple : IForceTuple
|
||||
{
|
||||
public double Mx { get; set; }
|
||||
public double My { get; set; }
|
||||
public double Nz { get; set; }
|
||||
public double Qx { get; set; }
|
||||
public double Qy { get; set; }
|
||||
public double Mz { get; set; }
|
||||
}
|
||||
}
|
||||
16
StructureHelperCommon/Models/Forces/IDesignForceTuple.cs
Normal file
16
StructureHelperCommon/Models/Forces/IDesignForceTuple.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public interface IDesignForceTuple
|
||||
{
|
||||
LimitStates LimitState { get; set; }
|
||||
CalcTerms CalcTerm { get; set; }
|
||||
IForceTuple ForceTuple {get;}
|
||||
}
|
||||
}
|
||||
16
StructureHelperCommon/Models/Forces/IForceCombinationList.cs
Normal file
16
StructureHelperCommon/Models/Forces/IForceCombinationList.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public interface IForceCombinationList
|
||||
{
|
||||
string Name { get; set; }
|
||||
Point2D ForcePoint {get ;}
|
||||
List<IDesignForceTuple> DesignForces { get; }
|
||||
}
|
||||
}
|
||||
19
StructureHelperCommon/Models/Forces/IForceTuple.cs
Normal file
19
StructureHelperCommon/Models/Forces/IForceTuple.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StructureHelperCommon.Models.Forces
|
||||
{
|
||||
public interface IForceTuple
|
||||
{
|
||||
double Mx { get; set; }
|
||||
double My { get; set; }
|
||||
double Nz { get; set; }
|
||||
double Qx { get; set; }
|
||||
double Qy { get; set; }
|
||||
double Mz { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user