Initial commit
This commit is contained in:
25
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/Map.cs
Normal file
25
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/Map.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using RobotNet.VDA5050.Type;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.VDA5050.State;
|
||||
|
||||
|
||||
public class Map
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("mapId")]
|
||||
public string MapId { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("mapVersion")]
|
||||
public string MapVersion { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("mapDescription")]
|
||||
public string? MapDescription { get; set; }
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("mapStatus")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public MapStatus MapStatus { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user