18 lines
600 B
C#
18 lines
600 B
C#
namespace RobotNet10.RobotApp.Client.Shared.Devices;
|
|
|
|
/// <summary>
|
|
/// DTO cho device update events qua SignalR
|
|
/// </summary>
|
|
public class DeviceUpdateDto
|
|
{
|
|
public string DeviceId { get; set; } = string.Empty;
|
|
public DeviceStatus? Status { get; set; }
|
|
public Dictionary<string, string>? Properties { get; set; }
|
|
public string? LastError { get; set; }
|
|
public DateTime? LastUpdateTime { get; set; }
|
|
public DateTime? LastConnectedTime { get; set; }
|
|
public DateTime? LastDisconnectedTime { get; set; }
|
|
public int? ReconnectAttemptCount { get; set; }
|
|
}
|
|
|