30 lines
764 B
C#
30 lines
764 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace RobotNet.VDA5050.Order;
|
|
|
|
public class Node
|
|
{
|
|
[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();
|
|
|
|
[Required]
|
|
[JsonPropertyName("actions")]
|
|
public InstantAction.Action[] Actions { get; set; } = [];
|
|
}
|