22 lines
518 B
C#
22 lines
518 B
C#
namespace Lab505.Shared;
|
|
|
|
/// <summary>
|
|
/// Full conveyor state pushed via SignalR.
|
|
/// Uses nullable bool: null = not yet read (offline), true/false = actual coil state.
|
|
/// </summary>
|
|
public record ConveyorPushDto(
|
|
bool? C1In,
|
|
bool? C1Out,
|
|
bool? C1IMRin,
|
|
bool? C1IMRout,
|
|
bool? C1HasGoods,
|
|
bool? C1NotGoods,
|
|
bool? C1Ready,
|
|
bool? C2In,
|
|
bool? C2Out,
|
|
bool? C2HasGoods,
|
|
bool? C2NotGoods,
|
|
bool? C2Ready,
|
|
string? WriteError // lỗi ghi coil gần nhất (null = OK)
|
|
);
|