24 lines
563 B
C#
24 lines
563 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RobotApp.VDA5050.State;
|
|
|
|
public enum ActionStatus
|
|
{
|
|
WAITING,
|
|
INITIALIZING,
|
|
RUNNING,
|
|
PAUSED,
|
|
FINISHED,
|
|
FAILED,
|
|
}
|
|
public class ActionState
|
|
{
|
|
public string ActionType { get; set; } = string.Empty;
|
|
[Required]
|
|
public string ActionId { get; set; } = string.Empty;
|
|
public string ActionDescription { get; set; } = string.Empty;
|
|
[Required]
|
|
public string ActionStatus { get; set; } = string.Empty;
|
|
public string ResultDescription { get; set; } = string.Empty;
|
|
}
|