Init project

This commit is contained in:
Đăng Nguyễn
2025-09-10 10:48:39 +07:00
parent 0a13194f25
commit cf309cccba
146 changed files with 5627 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
using System.ComponentModel.DataAnnotations;
namespace RobotApp.VDA5050.State;
#nullable disable
public enum ErrorLevel
{
NONE,
WARNING,
FATAL
}
public class ErrorReferences
{
[Required]
public string ReferenceKey { get; set; }
[Required]
public string ReferenceValue { get; set; }
}
public class Error
{
[Required]
public string ErrorType { get; set; }
public ErrorReferences[] ErrorReferences { get; set; }
public string ErrorDescription { get; set; }
public string ErrorHint { get; set; }
[Required]
public string ErrorLevel { get; set; }
}