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,19 @@
namespace Lab505.Shared;
/// <summary>
/// Full ASRS state pushed via SignalR.
/// Includes tray coils, safety mode, busy/locked status.
/// LockedOps contains the set of operation keys currently locked by the driver
/// (e.g. "X1_S34", "X2_S12" — one lock held during each ASRS operation).
/// </summary>
public record AsrsPushDto(
bool? X11, bool? X12, bool? X13,
bool? X21, bool? X22, bool? X23,
bool? X31, bool? X32, bool? X33,
bool? X41, bool? X42, bool? X43,
bool? SAFETY_MODE,
bool IsOffline,
bool IsBusy,
string[] LockedOps,
string? LastError // lỗi thực thi lệnh ASRS gần nhất (null = OK)
);