using System.ComponentModel.DataAnnotations; namespace RobotApp.VDA5050.State; public enum EStop { AUTOACK, MANUAL, REMOTE, NONE, } public class SafetyState { [Required] public string? EStop { get; set; } [Required] public bool FieldViolation { get; set; } }