29 lines
749 B
C#
29 lines
749 B
C#
namespace RobotNet10.MapEditor.Shared.DTOs.Requests;
|
|
|
|
/// <summary>
|
|
/// Request to split a node into multiple nodes
|
|
/// </summary>
|
|
public class SplitNodeRequest
|
|
{
|
|
public Guid LevelId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Node ID to split
|
|
/// </summary>
|
|
public Guid NodeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional: Offset distance for new nodes (in meters)
|
|
/// Default: 0.1m (10cm)
|
|
/// </summary>
|
|
public double? OffsetDistance { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional: Node ID to assign station to (if original node had station)
|
|
/// If not provided, station will be assigned to first new node
|
|
/// </summary>
|
|
public Guid? StationNodeId { get; set; }
|
|
}
|
|
|
|
|