Files
BQP/srcs/RobotNet10/Shared/RobotNet.VDA5050/Order/NodePosition.cs
2026-07-13 09:25:40 +07:00

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; }
}