namespace RobotNet10.RobotApp.Client.Shared.Motion; /// /// DTO cho trạng thái ManualControlService /// public class ManualControlStatusDto { public string State { get; set; } = string.Empty; public bool IsEnabled { get; set; } public double CurrentLinearVelocity { get; set; } public double CurrentAngularVelocity { get; set; } public RfHandleStatusDto? RfHandleStatus { get; set; } } /// /// DTO cho trạng thái RF Handle /// public class RfHandleStatusDto { public int Heartbeat { get; set; } public bool Ready { get; set; } public bool Locked { get; set; } public bool EStop { get; set; } public bool Enable { get; set; } public int Speed { get; set; } public double Linear { get; set; } public double Angular { get; set; } public string Mode { get; set; } = string.Empty; public DateTime LastUpdateTime { get; set; } }