Init project
This commit is contained in:
27
RobotApp.VDA5050/State/Information.cs
Normal file
27
RobotApp.VDA5050/State/Information.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user