39 lines
885 B
C#
39 lines
885 B
C#
using Newtonsoft.Json;
|
|
using StructureHelperCommon.Models.Forces;
|
|
|
|
namespace DataAccess.DTOs
|
|
{
|
|
public class ForceTupleDTO : IForceTuple
|
|
{
|
|
[JsonProperty("Id")]
|
|
public Guid Id { get; set; }
|
|
[JsonProperty("Mx")]
|
|
public double Mx { get; set; }
|
|
[JsonProperty("My")]
|
|
public double My { get; set; }
|
|
[JsonProperty("Nz")]
|
|
public double Nz { get; set; }
|
|
[JsonProperty("Qx")]
|
|
public double Qx { get; set; }
|
|
[JsonProperty("Qy")]
|
|
public double Qy { get; set; }
|
|
[JsonProperty("Mz")]
|
|
public double Mz { get; set; }
|
|
|
|
public ForceTupleDTO(Guid id)
|
|
{
|
|
Id = id;
|
|
}
|
|
|
|
public void Clear()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public object Clone()
|
|
{
|
|
return this;
|
|
}
|
|
}
|
|
}
|