24 lines
520 B
C#
24 lines
520 B
C#
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; } = [];
|
|
}
|