initial commit

This commit is contained in:
robotics_x1
2026-10-12 15:24:08 +07:00
commit 55228b3772
367 changed files with 162893 additions and 0 deletions

View 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
);