initial commit
This commit is contained in:
21
Lab505.Shared/ConveyorPushDto.cs
Normal file
21
Lab505.Shared/ConveyorPushDto.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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)
|
||||
);
|
||||
Reference in New Issue
Block a user