21 lines
465 B
C#
21 lines
465 B
C#
using RobotNet10.FleetManager.Services.TrafficControl.Models;
|
|
|
|
namespace RobotNet10.FleetManager.Services.TrafficControl;
|
|
|
|
public enum OrderStatus
|
|
{
|
|
IsError,
|
|
IsCompleted,
|
|
IsProccessing,
|
|
IsCanceled,
|
|
Empty
|
|
}
|
|
|
|
|
|
public interface IOrderControlService
|
|
{
|
|
OrderStatus GetRobotOrderStatus(string robotId);
|
|
RobotRoute? GetRobotRoute(string robotId);
|
|
Task<bool> CreateRobotOrderAsync(string robotId, RobotRoute route);
|
|
}
|