RobotApp/RobotApp.VDA5050/State/Information.cs
Đăng Nguyễn d6fe1d9d52 update
2025-09-26 08:48:50 +07:00

27 lines
630 B
C#

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