Add inclined rebar
This commit is contained in:
@@ -92,7 +92,10 @@ namespace DataAccess.DTOs
|
||||
rebarConvertStrategy.TraceLogger = TraceLogger;
|
||||
RebarNdmPrimitive newItem = rebarConvertStrategy.Convert(rebar);
|
||||
TraceLogger?.AddMessage($"Primtive has been obtained successfully, Name = {newItem.Name}");
|
||||
newItem.HostPrimitive = GetHostPrimitive(rebar);
|
||||
if (rebar.HostPrimitive != null)
|
||||
{
|
||||
newItem.HostPrimitive = GetHostPrimitive(rebar);
|
||||
}
|
||||
return newItem;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace DataAccess.DTOs
|
||||
public double Spacing { get; set; }
|
||||
[JsonProperty("CompressedGap")]
|
||||
public double CompressedGap { get; set; }
|
||||
[JsonProperty("IsSpiral")]
|
||||
public bool IsSpiral { get; set; } = false;
|
||||
|
||||
public StirrupByRebarDTO(Guid id)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user