namespace RobotNet10.RobotApp.Client.Shared.Devices;
///
/// DTO cho CiA402Servo data
///
public struct CiA402ServoDataDto
{
public ushort Statusword { get; set; }
public string DriveState { get; set; }
public string OperationMode { get; set; }
public int Position { get; set; }
public int Velocity { get; set; }
public short Torque { get; set; }
public ushort ErrorCode { get; set; }
public bool IsConnected { get; set; }
/// Profile Speed (0x6081) - đọc từ drive khi GetServoData
public uint ProfileSpeed { get; set; }
/// Profile Acceleration (0x6083) - đọc từ drive khi GetServoData
public uint ProfileAcceleration { get; set; }
/// Profile Deceleration (0x6084) - đọc từ drive khi GetServoData
public uint ProfileDeceleration { get; set; }
}