diff --git a/protos/device_state.proto b/protos/device_state.proto index d9c2308..8347c2e 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -106,6 +106,10 @@ message Signal { message PlatformState{ //站台索引 string id = 1; + // EMP继电器状态 + bool empj = 2; + // SPKS继电器状态 + repeated SpksState spksState = 3; } //车站状态 message StationState{ @@ -308,13 +312,6 @@ message SpksState { bool xh = 3; // 继电器状态 } -// 站场图站台状态 -message StandState { - string id = 1; - bool empj = 2; // EMP继电器状态 - repeated SpksState spksState = 3; // SPKS继电器状态 -} - //////////////////////////////////////////////////////////////////////////// //仿真运行时状态变化量,当前时刻与上一时刻比较得到 @@ -354,7 +351,7 @@ message AllDevicesStatus{ // 钥匙状态 repeated KeyState KeyState = 10; // 站场图站台状态 - repeated StandState standState = 11; + repeated PlatformState platformState = 11; } //服务器端向前端推送的设备状态信息