Init project
This commit is contained in:
30
RobotApp.VDA5050/State/NodeState.cs
Normal file
30
RobotApp.VDA5050/State/NodeState.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using RobotApp.VDA5050.Order;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.VDA5050.State;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public class NodeState
|
||||
{
|
||||
[Required]
|
||||
public string NodeId { get; set; }
|
||||
[Required]
|
||||
public int SequenceId { get; set; }
|
||||
public string NodeDescription { get; set; }
|
||||
[Required]
|
||||
public bool Released { get; set; }
|
||||
public NodePosition NodePosition { get; set; }
|
||||
}
|
||||
|
||||
public class NodePosition
|
||||
{
|
||||
[Required]
|
||||
public double X { get; set; }
|
||||
[Required]
|
||||
public double Y { get; set; }
|
||||
public double Theta { get; set; }
|
||||
[Required]
|
||||
public string MapId { get; set; } = "";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user