namespace RobotNet10.RobotApp.Devices;
///
/// Triggers cho state machine của Device
///
public enum DeviceTrigger
{
///
/// Khởi tạo thiết bị
///
Initialize,
///
/// Kết nối với thiết bị
///
Connect,
///
/// Ngắt kết nối với thiết bị
///
Disconnect,
///
/// Reset thiết bị
///
Reset,
///
/// Bắt đầu auto-reconnect
///
StartReconnect,
///
/// Dừng auto-reconnect
///
StopReconnect,
///
/// Internal triggers - tự động fire khi operation hoàn thành
///
InitializationCompleted,
ConnectionCompleted,
DisconnectionCompleted,
ReconnectionCompleted,
ResetCompleted,
///
/// Xảy ra lỗi
///
ErrorOccurred,
///
/// Dispose thiết bị
///
Dispose
}