Add version processor window
This commit is contained in:
@@ -11,7 +11,7 @@ namespace DataAccess.DTOs
|
||||
public class CompressedMemberDTO : ICompressedMember
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; set; }
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
[JsonProperty("Bucling")]
|
||||
public bool Buckling { get; set; }
|
||||
[JsonProperty("GeometryLength")]
|
||||
|
||||
@@ -8,6 +8,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
@@ -21,6 +22,10 @@ namespace DataAccess.DTOs
|
||||
public string Tags { get; set; }
|
||||
[JsonProperty("VersionProcessor")]
|
||||
public IVersionProcessor VersionProcessor { get; set; } = new VersionProcessorDTO();
|
||||
[JsonProperty("Comment")]
|
||||
public string Comment { get; set; } = string.Empty;
|
||||
[JsonProperty("Color")]
|
||||
public Color Color { get; set; } = new();
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace DataAccess.DTOs
|
||||
public class ForceCalculatorInputDataDTO : IForceCalculatorInputData
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; set; }
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
[JsonProperty("ForceActions")]
|
||||
public List<IForceAction> ForceActions { get; set; } = new();
|
||||
[JsonProperty("Primitives")]
|
||||
|
||||
Reference in New Issue
Block a user