initial commit
This commit is contained in:
24
Lab505.Shared/WorkflowStateDto.cs
Normal file
24
Lab505.Shared/WorkflowStateDto.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Lab505.Shared;
|
||||
|
||||
/// <summary>
|
||||
/// Workflow state pushed via SignalR.
|
||||
/// </summary>
|
||||
public record WorkflowStateDto(
|
||||
bool IsRunning,
|
||||
string? LastError,
|
||||
int CompletedCycles,
|
||||
string ImrCmd, // "" = idle, "undocking" = undock in progress
|
||||
string AmrCmd, // "" = idle, "undocking" = undock in progress
|
||||
bool ImrBusy, // manual command đang chạy
|
||||
string? ImrBusyLabel, // label lệnh đang chạy (nút nào bị khóa)
|
||||
string? ImrNextLabel, // lệnh đang xếp hàng chờ (null = không có)
|
||||
bool AmrBusy,
|
||||
string? AmrBusyLabel, // label lệnh đang chạy AMR
|
||||
string? AmrNextLabel,
|
||||
string? ImrExecError, // lỗi thực thi lệnh thủ công IMR gần nhất
|
||||
string? AmrExecError, // lỗi thực thi lệnh thủ công AMR gần nhất
|
||||
bool DobotBusy,
|
||||
string? DobotBusyLabel,
|
||||
string? DobotNextLabel,
|
||||
string? DobotExecError
|
||||
);
|
||||
Reference in New Issue
Block a user