26 lines
514 B
C#
26 lines
514 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RobotNet.RobotShares.VDA5050.State;
|
|
|
|
#nullable disable
|
|
|
|
public enum ActionStatus
|
|
{
|
|
WAITING,
|
|
INITIALIZING,
|
|
RUNNING,
|
|
PAUSED,
|
|
FINISHED,
|
|
FAILED,
|
|
}
|
|
public class ActionState
|
|
{
|
|
public string ActionType { get; set; }
|
|
[Required]
|
|
public string ActionId { get; set; }
|
|
public string ActionDescription { get; set; }
|
|
[Required]
|
|
public string ActionStatus { get; set; }
|
|
public string ResultDescription { get; set; }
|
|
}
|