27 lines
630 B
C#
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;
|
|
}
|