Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
using RobotNet10.MapManager.Data;
namespace RobotNet10.MapManager.Services;
/// <summary>
/// Service for querying map data (nodes and edges) by VehicleType
/// </summary>
public interface IMapQueryService
{
/// <summary>
/// Get nodes filtered by VehicleType
/// Returns only nodes that have NodeVehicleProperties for the specified VehicleType
/// </summary>
Task<List<Node>> GetNodesByVehicleTypeAsync(Guid vehicleTypeId);
/// <summary>
/// Get edges filtered by VehicleType
/// Returns only edges that have EdgeVehicleProperties for the specified VehicleType
/// </summary>
Task<List<Edge>> GetEdgesByVehicleTypeAsync(Guid vehicleTypeId);
/// <summary>
/// Get nodes filtered by VehicleType and LevelId
/// Returns only nodes that have NodeVehicleProperties for the specified VehicleType and belong to the specified level
/// </summary>
Task<List<Node>> GetNodesByVehicleTypeAndLevelAsync(Guid vehicleTypeId, Guid levelId);
/// <summary>
/// Get edges filtered by VehicleType and LevelId
/// Returns only edges that have EdgeVehicleProperties for the specified VehicleType and belong to the specified level
/// </summary>
Task<List<Edge>> GetEdgesByVehicleTypeAndLevelAsync(Guid vehicleTypeId, Guid levelId);
/// <summary>
/// Get total count of nodes across all levels
/// </summary>
Task<int> GetTotalNodesCountAsync();
/// <summary>
/// Get total count of edges across all levels
/// </summary>
Task<int> GetTotalEdgesCountAsync();
}