20 lines
654 B
C#
20 lines
654 B
C#
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)
|
|
);
|