namespace RobotNet10.RobotApp.Client.Shared.Devices; /// /// DTO cho thông tin device để truyền qua SignalR /// public class DeviceDto { public string DeviceId { get; set; } = string.Empty; public string DeviceName { get; set; } = string.Empty; public DeviceType DeviceType { get; set; } public string? Description { get; set; } public DeviceStatus Status { get; set; } public bool IsConnected { get; set; } public DateTime LastUpdateTime { get; set; } public DateTime? LastConnectedTime { get; set; } public DateTime? LastDisconnectedTime { get; set; } public string? LastError { get; set; } public int ReconnectAttemptCount { get; set; } public bool AutoReconnectEnabled { get; set; } public int ReconnectDelayMs { get; set; } public int MaxReconnectAttempts { get; set; } public List PropertyDescriptions { get; set; } = new(); public Dictionary Properties { get; set; } = new(); }