Initial commit

This commit is contained in:
2026-07-03 16:31:37 +07:00
commit 899c7c637d
1939 changed files with 641750 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
namespace RobotNet10.RobotApp.Client.Shared.Devices;
/// <summary>
/// DTO cho thông tin device để truyền qua SignalR
/// </summary>
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<PropertyDescription> PropertyDescriptions { get; set; } = new();
public Dictionary<string, string> Properties { get; set; } = new();
}