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,21 @@
using RobotNet10.FleetManager.Data;
using RobotNet10.FleetManager.Shared.DTOs.Robot;
namespace RobotNet10.FleetManager.Services;
/// <summary>
/// Service for managing robots
/// </summary>
public interface IRobotService
{
Task<Robot> CreateAsync(CreateRobotRequest request);
Task<List<Robot>> GetAllAsync(Guid? modelId = null, Guid? mapId = null);
Task<Robot?> GetByIdAsync(Guid id);
Task<Robot?> GetByRobotIdAsync(string robotId);
Task<Robot> UpdateAsync(Guid id, UpdateRobotRequest request);
Task<bool> DeleteAsync(Guid id);
Task<List<Robot>> GetByModelIdAsync(Guid modelId);
Task<List<Robot>> GetByModelNameAsync(string modelName);
Task<List<Robot>> SearchAsync(string query);
Task<bool> ExistsAsync(string robotId);
}