This commit is contained in:
Đăng Nguyễn
2025-09-26 08:48:50 +07:00
parent 0d97684f70
commit d6fe1d9d52
53 changed files with 1232 additions and 111 deletions

View File

@@ -2,7 +2,6 @@
namespace RobotApp.VDA5050.State;
#nullable disable
public enum InfoLevel
{
@@ -12,16 +11,16 @@ public enum InfoLevel
public class InfomationReferences
{
[Required]
public string ReferenceKey { get; set; }
public string ReferenceKey { get; set; } = string.Empty;
[Required]
public string ReferenceValue { get; set; }
public string ReferenceValue { get; set; } = string.Empty;
}
public class Information
{
[Required]
public string InfoType { get; set; }
public InfomationReferences[] InfoReferences { get; set; }
public string InfoDescription { get; set; }
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; }
public string InfoLevel { get; set; } = string.Empty;
}