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