RobotNet/RobotNet.RobotManager/Services/Simulation/INavigationService.cs
2025-10-15 15:15:53 +07:00

19 lines
622 B
C#

using RobotNet.MapShares.Dtos;
using RobotNet.RobotManager.Services.Simulation.Models;
using RobotNet.Shares;
namespace RobotNet.RobotManager.Services.Simulation;
public interface INavigationService : IRobotOrder, IDisposable
{
Guid MapId { get; set; }
NavigationNode? InNode { get; }
List<ZoneDto> CurrentZones { get; set; }
NavigationStateType NavigationState { get; }
MessageResult Rotate(double angle);
MessageResult Move(NavigationNode[] path);
MessageResult Move(NodeDto[] nodes, EdgeDto[] edges);
MessageResult MoveStraight(NavigationNode[] path);
MessageResult Cancel();
}