Initial commit
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
namespace RobotNet10.RobotApp.Devices;
|
||||
|
||||
/// <summary>
|
||||
/// Triggers cho state machine của Device
|
||||
/// </summary>
|
||||
public enum DeviceTrigger
|
||||
{
|
||||
/// <summary>
|
||||
/// Khởi tạo thiết bị
|
||||
/// </summary>
|
||||
Initialize,
|
||||
|
||||
/// <summary>
|
||||
/// Kết nối với thiết bị
|
||||
/// </summary>
|
||||
Connect,
|
||||
|
||||
/// <summary>
|
||||
/// Ngắt kết nối với thiết bị
|
||||
/// </summary>
|
||||
Disconnect,
|
||||
|
||||
/// <summary>
|
||||
/// Reset thiết bị
|
||||
/// </summary>
|
||||
Reset,
|
||||
|
||||
/// <summary>
|
||||
/// Bắt đầu auto-reconnect
|
||||
/// </summary>
|
||||
StartReconnect,
|
||||
|
||||
/// <summary>
|
||||
/// Dừng auto-reconnect
|
||||
/// </summary>
|
||||
StopReconnect,
|
||||
|
||||
/// <summary>
|
||||
/// Internal triggers - tự động fire khi operation hoàn thành
|
||||
/// </summary>
|
||||
InitializationCompleted,
|
||||
ConnectionCompleted,
|
||||
DisconnectionCompleted,
|
||||
ReconnectionCompleted,
|
||||
ResetCompleted,
|
||||
|
||||
/// <summary>
|
||||
/// Xảy ra lỗi
|
||||
/// </summary>
|
||||
ErrorOccurred,
|
||||
|
||||
/// <summary>
|
||||
/// Dispose thiết bị
|
||||
/// </summary>
|
||||
Dispose
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user