26 lines
651 B
C#
26 lines
651 B
C#
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; }
|
|
}
|