【增加站场图SPKS状态】
This commit is contained in:
parent
ebfb67be9c
commit
442cdbead9
@ -292,6 +292,16 @@ message KeyState {
|
|||||||
int32 gear = 2;
|
int32 gear = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 站场图SPKS状态
|
||||||
|
message SpksState {
|
||||||
|
string id = 1;
|
||||||
|
bool open = 2; // 钥匙是否开启状态
|
||||||
|
bool xh = 3; // 继电器状态
|
||||||
|
bool light = 4; // 启用灯状态
|
||||||
|
bool pl = 5; // 旁路按钮状态
|
||||||
|
bool pljxh = 6; // 旁路按钮继电器状态
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -331,6 +341,8 @@ message AllDevicesStatus{
|
|||||||
repeated PsdState psdState = 9;
|
repeated PsdState psdState = 9;
|
||||||
// 钥匙状态
|
// 钥匙状态
|
||||||
repeated KeyState KeyState = 10;
|
repeated KeyState KeyState = 10;
|
||||||
|
// 站场图SPKS状态
|
||||||
|
repeated SpksState spksState = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
//服务器端向前端推送的设备状态信息
|
//服务器端向前端推送的设备状态信息
|
||||||
|
Loading…
Reference in New Issue
Block a user