Add Design range for shear
This commit is contained in:
@@ -14,6 +14,8 @@ namespace DataAccess.DTOs
|
||||
public List<IBeamShearSection> Sections { get; } = new();
|
||||
[JsonProperty("Stirrups")]
|
||||
public List<IStirrup> Stirrups { get; } = new();
|
||||
public IBeamShearDesignRangeProperty DesignRangeProperty { get; set; }
|
||||
|
||||
public BeamShearCalculatorInputDataDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperLogics.Models.BeamShears;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class BeamShearDesignRangePropertyDTO : IBeamShearDesignRangeProperty
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; }
|
||||
[JsonProperty("AbsoluteRangeValue")]
|
||||
public double AbsoluteRangeValue { get; set; } = 0.0;
|
||||
[JsonProperty("RelativeEffectiveDepthRangeValue")]
|
||||
public double RelativeEffectiveDepthRangeValue { get; set; } = 3.0;
|
||||
[JsonProperty("StepCount")]
|
||||
public int StepCount { get; set; } = 50;
|
||||
|
||||
public BeamShearDesignRangePropertyDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user