update
This commit is contained in:
@@ -1,20 +1,18 @@
|
||||
using RobotApp.VDA5050.Order;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.VDA5050.State;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public class NodeState
|
||||
{
|
||||
[Required]
|
||||
public string NodeId { get; set; }
|
||||
public string NodeId { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public int SequenceId { get; set; }
|
||||
public string NodeDescription { get; set; }
|
||||
public string NodeDescription { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public bool Released { get; set; }
|
||||
public NodePosition NodePosition { get; set; }
|
||||
public NodePosition NodePosition { get; set; } = new();
|
||||
}
|
||||
|
||||
public class NodePosition
|
||||
@@ -25,6 +23,6 @@ public class NodePosition
|
||||
public double Y { get; set; }
|
||||
public double Theta { get; set; }
|
||||
[Required]
|
||||
public string MapId { get; set; } = "";
|
||||
public string MapId { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user