first commit -push

This commit is contained in:
dungtt
2025-10-15 15:15:53 +07:00
parent 674ae395be
commit a9577c5756
885 changed files with 74595 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
using System.ComponentModel.DataAnnotations;
namespace RobotNet.RobotShares.VDA5050.InstantAction;
#nullable disable
public class ActionParameter
{
[Required]
public string Key { get; set; } = "";
[Required]
public string Value { get; set; } = "";
}

View File

@@ -0,0 +1,23 @@
using System.ComponentModel.DataAnnotations;
namespace RobotNet.RobotShares.VDA5050.InstantAction;
#nullable disable
public enum BlockingType
{
NONE,
SOFT,
HARD
}
public class Action
{
[Required]
public string ActionType { get; set; } = "";
[Required]
public string ActionId { get; set; } = "";
public string ActionDescription { get; set; } = "";
[Required]
public string BlockingType { get; set; } = "";
public ActionParameter[] ActionParameters { get; set; } = [];
}

View File

@@ -0,0 +1,13 @@
namespace RobotNet.RobotShares.VDA5050.InstantAction;
#nullable disable
public class InstantActionsMsg
{
public uint HeaderId { get; set; }
public string Timestamp { get; set; } = "";
public string Version { get; set; } = "";
public string Manufacturer { get; set; } = "";
public string SerialNumber { get; set; } = "";
public Action[] Actions { get; set; } = [];
}