Files
Lab505/Lab505.Shared/ConveyorPushDto.cs
2026-10-12 15:24:08 +07:00

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