Files
I150/srcs/RobotNet10/Shared/RobotNet10.MapEditor.Shared/DTOs/Node/NodeVehiclePropertyDto.cs
2026-07-03 16:37:12 +07:00

45 lines
1.4 KiB
C#

namespace RobotNet10.MapEditor.Shared.DTOs.Node;
/// <summary>
/// Node vehicle property data transfer object
/// </summary>
public class NodeVehiclePropertyDto
{
public Guid Id { get; set; }
public Guid NodeId { get; set; }
public Guid VehicleTypeId { get; set; }
/// <summary>
/// Vehicle type identifier (for reference)
/// </summary>
public string? VehicleTypeIdString { get; set; }
/// <summary>
/// Theta orientation in radians (optional)
/// Range: [-Pi ... Pi]
/// </summary>
public double? Theta { get; set; }
/// <summary>
/// Actions as JSON array (VDMA LIF format)
/// </summary>
public string? Actions { get; set; }
/// <summary>
/// Allowed deviation radius in meters (VDA5050: allowedDeviationXY)
/// Indicates how exact an AGV has to drive over a node in order for it to count as traversed.
/// If = 0: no deviation is allowed.
/// If > 0: allowed deviation-radius in meters.
/// Minimum: 0
/// </summary>
public double? AllowedDeviationXY { get; set; }
/// <summary>
/// Allowed deviation of theta angle in radians (VDA5050: allowedDeviationTheta)
/// Indicates how big the deviation of theta angle can be.
/// Range: [0.0 ... 3.141592654] (0 to Pi)
/// </summary>
public double? AllowedDeviationTheta { get; set; }
}