33 lines
807 B
C#
33 lines
807 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace RobotNet.VDA5050.Order;
|
|
|
|
|
|
public class NodePosition
|
|
{
|
|
[Required]
|
|
[JsonPropertyName("x")]
|
|
public double X { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("y")]
|
|
public double Y { get; set; }
|
|
|
|
[JsonPropertyName("theta")]
|
|
public double? Theta { get; set; }
|
|
|
|
[JsonPropertyName("allowedDeviationXY")]
|
|
public double? AllowedDeviationXY { get; set; }
|
|
|
|
[JsonPropertyName("allowedDeviationTheta")]
|
|
public double? AllowedDeviationTheta { get; set; }
|
|
|
|
[Required]
|
|
[JsonPropertyName("mapId")]
|
|
public string MapId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("mapDescription")]
|
|
public string? MapDescription { get; set; }
|
|
}
|