Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user