【添加继电器状态】
This commit is contained in:
parent
60ea471ebf
commit
35e347cd89
@ -196,6 +196,14 @@ message TrainVobcState {
|
||||
bool udpInterruption = 25;
|
||||
}
|
||||
|
||||
// 继电器状态
|
||||
message ReplyState {
|
||||
// 继电器索引
|
||||
string id = 1;
|
||||
// 继电器吸合状态
|
||||
bool xh = 2;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//仿真运行时状态变化量,当前时刻与上一时刻比较得到
|
||||
@ -212,12 +220,14 @@ message VariationStatus{
|
||||
|
||||
//仿真运行时的所有设备的状态
|
||||
message AllDevicesStatus{
|
||||
//所有列车状态
|
||||
// 所有列车状态
|
||||
repeated TrainState trainState = 1;
|
||||
//所有道岔状态
|
||||
// 所有道岔状态
|
||||
repeated SwitchState switchState = 2;
|
||||
//所有类型区段状态
|
||||
// 所有类型区段状态
|
||||
repeated SectionState sectionState = 3;
|
||||
// 所有继电器状态
|
||||
repeated ReplyState replyState = 4;
|
||||
}
|
||||
|
||||
//服务器端向前端推送的设备状态信息
|
||||
|
Loading…
Reference in New Issue
Block a user