Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 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;
}
}