Add value diagram calculator saving
This commit is contained in:
26
DataAccess/DTOs/DTOEntities/ValueDiagrams/ValueDiagramDTO.cs
Normal file
26
DataAccess/DTOs/DTOEntities/ValueDiagrams/ValueDiagramDTO.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
using StructureHelperLogics.NdmCalculations.Analyses.ValueDiagrams;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class ValueDiagramDTO : IValueDiagram
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; }
|
||||
[JsonProperty("Point2DRange")]
|
||||
public IPoint2DRange Point2DRange { get; set; }
|
||||
[JsonProperty("StepNumber")]
|
||||
public int StepNumber { get; set; }
|
||||
|
||||
public ValueDiagramDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user