Add beam shear converting to DTO
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperCommon.Infrastructures.Enums;
|
||||
using StructureHelperCommon.Models.Calculators;
|
||||
using StructureHelperCommon.Models.Forces;
|
||||
using StructureHelperCommon.Models.Sections;
|
||||
using StructureHelperLogics.NdmCalculations.Analyses.ByForces;
|
||||
using StructureHelperLogics.NdmCalculations.Primitives;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class ForceCalculatorInputDataDTO : IForceCalculatorInputData
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; }
|
||||
[JsonProperty("ForceActions")]
|
||||
public List<IForceAction> ForceActions { get; set; } = new();
|
||||
[JsonProperty("Primitives")]
|
||||
public List<INdmPrimitive> Primitives { get; set; } = new();
|
||||
[JsonProperty("LimitStatesList")]
|
||||
public List<LimitStates> LimitStatesList { get; set; } = new();
|
||||
[JsonProperty("CalcTermList")]
|
||||
public List<CalcTerms> CalcTermsList { get; set; } = new();
|
||||
[JsonProperty("Accuracy")]
|
||||
public IAccuracy Accuracy { get; set; }
|
||||
[JsonProperty("CompressedMember")]
|
||||
public ICompressedMember CompressedMember { get; set; } = new CompressedMemberDTO();
|
||||
|
||||
public ForceCalculatorInputDataDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user