update
This commit is contained in:
@@ -3,8 +3,6 @@ using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.VDA5050.State;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public enum OperatingMode
|
||||
{
|
||||
AUTOMATIC,
|
||||
@@ -17,22 +15,21 @@ public class StateMsg
|
||||
{
|
||||
[Required]
|
||||
public uint HeaderId { get; set; }
|
||||
public string Timestamp { get; set; } = DateTime.Now.ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
|
||||
[Required]
|
||||
public string Timestamp { get; set; }
|
||||
public string Version { get; set; } = "1.0.0";
|
||||
[Required]
|
||||
public string Version { get; set; }
|
||||
public string Manufacturer { get; set; } = "PhenikaaX";
|
||||
[Required]
|
||||
public string Manufacturer { get; set; }
|
||||
[Required]
|
||||
public string SerialNumber { get; set; }
|
||||
public string SerialNumber { get; set; } = string.Empty;
|
||||
public Map[] Maps { get; set; } = [];
|
||||
[Required]
|
||||
public string OrderId { get; set; }
|
||||
public string OrderId { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public int OrderUpdateId { get; set; }
|
||||
public string ZoneSetId { get; set; }
|
||||
public string ZoneSetId { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public string LastNodeId { get; set; }
|
||||
public string LastNodeId { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public int LastNodeSequenceId { get; set; }
|
||||
[Required]
|
||||
@@ -41,7 +38,7 @@ public class StateMsg
|
||||
public bool NewBaseRequest { get; set; }
|
||||
public double DistanceSinceLastNode { get; set; }
|
||||
[Required]
|
||||
public string OperatingMode { get; set; }
|
||||
public string OperatingMode { get; set; } = string.Empty;
|
||||
[Required]
|
||||
public NodeState[] NodeStates { get; set; } = [];
|
||||
[Required]
|
||||
|
||||
Reference in New Issue
Block a user