Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
namespace RobotNet10.MapEditor.Shared.Models;
/// <summary>
/// Coordinate system configuration for a layout level
/// </summary>
public class CoordinateSystemInfo
{
/// <summary>
/// World coordinate origin X in METERS
/// </summary>
public double OriginX { get; set; }
/// <summary>
/// World coordinate origin Y in METERS
/// </summary>
public double OriginY { get; set; }
/// <summary>
/// Resolution: Meters per pixel
/// </summary>
public double Resolution { get; set; }
/// <summary>
/// Minimum X boundary in METERS (optional)
/// </summary>
public double? BoundsMinX { get; set; }
/// <summary>
/// Maximum X boundary in METERS (optional)
/// </summary>
public double? BoundsMaxX { get; set; }
/// <summary>
/// Minimum Y boundary in METERS (optional)
/// </summary>
public double? BoundsMinY { get; set; }
/// <summary>
/// Maximum Y boundary in METERS (optional)
/// </summary>
public double? BoundsMaxY { get; set; }
/// <summary>
/// Background image width in PIXELS
/// </summary>
public double? ImageWidth { get; set; }
/// <summary>
/// Background image height in PIXELS
/// </summary>
public double? ImageHeight { get; set; }
}

View File

@@ -0,0 +1,29 @@
namespace RobotNet10.MapEditor.Shared.Models;
/// <summary>
/// Editor settings configuration for a layout level
/// </summary>
public class EditorSettingsInfo
{
/// <summary>
/// Minimum edge length (in METERS) required to create an edge
/// </summary>
public double? EdgeMinLengthCreate { get; set; }
/// <summary>
/// Auto-generate edge names when creating new edges
/// </summary>
public bool? EdgeNameAutoGenerate { get; set; }
/// <summary>
/// Auto-generate node names when creating new nodes
/// </summary>
public bool? NodeNameAutoGenerate { get; set; }
/// <summary>
/// Node proximity radius (in METERS) for edge creation
/// </summary>
public double? NodeProximityRadius { get; set; }
}