Initial commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Station;
|
||||
|
||||
/// <summary>
|
||||
/// Station data transfer object with full details including interaction nodes
|
||||
/// </summary>
|
||||
public class StationDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid LevelId { get; set; }
|
||||
public string StationId { get; set; } = string.Empty;
|
||||
public string? StationName { get; set; }
|
||||
public string? StationDescription { get; set; }
|
||||
public double? StationHeight { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// X coordinate in METERS
|
||||
/// </summary>
|
||||
public double X { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Y coordinate in METERS
|
||||
/// </summary>
|
||||
public double Y { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Theta orientation in radians (optional)
|
||||
/// </summary>
|
||||
public double? Theta { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Interaction nodes linked to this station
|
||||
/// </summary>
|
||||
public List<StationInteractionNodeDto>? InteractionNodes { get; set; }
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace RobotNet10.MapEditor.Shared.DTOs.Station;
|
||||
|
||||
/// <summary>
|
||||
/// Station interaction node data transfer object
|
||||
/// </summary>
|
||||
public class StationInteractionNodeDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid StationId { get; set; }
|
||||
public Guid NodeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Node details (for convenience)
|
||||
/// </summary>
|
||||
public Node.NodeDto? Node { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user