Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using RobotNet.VDA5050.Type;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace RobotNet.VDA5050.State;
public class InfomationReference
{
[Required]
[JsonPropertyName("referenceKey")]
public string ReferenceKey { get; set; } = string.Empty;
[Required]
[JsonPropertyName("referenceValue")]
public string ReferenceValue { get; set; } = string.Empty;
}
public class Information
{
[Required]
[JsonPropertyName("infoType")]
public string InfoType { get; set; } = string.Empty;
[JsonPropertyName("infoReferences")]
public InfomationReference[]? InfoReferences { get; set; }
[JsonPropertyName("infoDescription")]
public string? InfoDescription { get; set; }
[Required]
[JsonPropertyName("infoLevel")]
[JsonConverter(typeof(JsonStringEnumConverter))]
public InfoLevel InfoLevel { get; set; }
}