Init project
This commit is contained in:
28
RobotApp.VDA5050/Connection/ConnectionMsg.cs
Normal file
28
RobotApp.VDA5050/Connection/ConnectionMsg.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace RobotApp.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; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user