Initial commit

This commit is contained in:
2026-07-03 16:37:12 +07:00
commit 63b8c1ea8b
1931 changed files with 640587 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using RobotNet10.RobotApp.Client.Shared.Devices;
namespace RobotNet10.RobotApp.Devices;
/// <summary>
/// Event args khi có lỗi xảy ra
/// </summary>
public class DeviceErrorEventArgs : EventArgs
{
public Exception Exception { get; }
public DeviceStatus Status { get; }
public string? Context { get; }
public DateTime Timestamp { get; }
public DeviceErrorEventArgs(Exception exception, DeviceStatus status, string? context = null)
{
Exception = exception;
Status = status;
Context = context;
Timestamp = DateTime.UtcNow;
}
}