Files
BQP/srcs/RobotNet10/RobotApp/RobotNet10.RobotApp/Interfaces/IRFHandler.cs
2026-07-13 09:25:40 +07:00

30 lines
669 B
C#

namespace RobotNet10.RobotApp.Interfaces;
public enum RFHandlerMode
{
Default,
Maintenance,
Override,
Unknown
}
public interface IRFHandler
{
bool IsConnected { get; }
bool IsEnabled { get; }
bool IsLocked { get; }
bool EStop { get; }
bool LiftUp { get; }
bool LiftDown { get; }
int Speed { get; }
bool Forward { get; }
bool Backward { get; }
bool RotateLeft { get; }
bool RotateRight { get; }
bool Left { get; }
bool Right { get; }
RFHandlerMode Mode { get; }
event Action<RFHandlerMode> OnStateChanged;
event Action<bool>? OnConnectionChanged;
}