RobotNet/RobotNet.RobotShares/VDA5050/Connection/ConnectionMsg.cs
2025-10-15 15:15:53 +07:00

29 lines
609 B
C#

using System.ComponentModel.DataAnnotations;
namespace RobotNet.RobotShares.VDA5050.Connection;
#nullable disable
public enum ConnectionState
{
ONLINE,
OFFLINE,
CONNECTIONBROKEN
}
public class ConnectionMsg
{
[Required]
public uint HeaderId { get; set; }
[Required]
public string Timestamp { get; set; } = "";
[Required]
public string Version { get; set; } = "";
[Required]
public string Manufacturer { get; set; } = "";
[Required]
public string SerialNumber { get; set; } = "";
[Required]
public string ConnectionState { get; set; } = "";
}