RobotApp/RobotApp.VDA5050/State/Information.cs
Đăng Nguyễn cf309cccba Init project
2025-09-10 10:48:39 +07:00

28 lines
562 B
C#

using System.ComponentModel.DataAnnotations;
namespace RobotApp.VDA5050.State;
#nullable disable
public enum InfoLevel
{
INFO,
DEBUG
}
public class InfomationReferences
{
[Required]
public string ReferenceKey { get; set; }
[Required]
public string ReferenceValue { get; set; }
}
public class Information
{
[Required]
public string InfoType { get; set; }
public InfomationReferences[] InfoReferences { get; set; }
public string InfoDescription { get; set; }
[Required]
public string InfoLevel { get; set; }
}