32 lines
965 B
C#
32 lines
965 B
C#
namespace RobotNet10.RobotApp.Client.Shared.Motion;
|
|
|
|
/// <summary>
|
|
/// DTO cho trạng thái ManualControlService
|
|
/// </summary>
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// DTO cho trạng thái RF Handle
|
|
/// </summary>
|
|
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; }
|
|
}
|
|
|