Initial commit
This commit is contained in:
27
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/NodeState.cs
Normal file
27
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/NodeState.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using RobotNet.VDA5050.Order;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.VDA5050.State;
|
||||
|
||||
|
||||
public class NodeState
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("nodeId")]
|
||||
public string NodeId { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("sequenceId")]
|
||||
public int SequenceId { get; set; }
|
||||
|
||||
[JsonPropertyName("nodeDescription")]
|
||||
public string? NodeDescription { get; set; }
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("released")]
|
||||
public bool Released { get; set; }
|
||||
|
||||
[JsonPropertyName("nodePosition")]
|
||||
public NodePosition? NodePosition { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user