diff --git a/protos/device_state.proto b/protos/device_state.proto index c642cfc..b96421f 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -405,7 +405,7 @@ message TrainMapState{ //列车B端 TrainEndsStateMqtt trainEndsB = 64; //列车位移 - int32 Displacement = 65; + int32 Displacement = 65; } //动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string //此类型需要与 common_data 中的 TrainDynamicConfig类型属性保持一致 @@ -525,6 +525,18 @@ message BaliseState { string variableUserTelegram = 6; //可变用户报文 } +// 车站联锁驱采状态 +message StationQc { + repeated State qdStates = 1; //驱动状态 + repeated State cjStates = 2; //采集状态 + + message State { + int32 row = 1; //行 + int32 col = 2; //列 + bool on = 3; //接通 + } +} + //////////////////////////////////////////////////////////////////////////// //仿真运行时状态变化量,当前时刻与上一时刻比较得到 @@ -567,6 +579,8 @@ message AllDevicesStatus{ repeated PlatformState platformState = 11; // 应答器状态 repeated BaliseState baliseState = 12; + // 车站联锁驱采状态 + StationQc stationQc = 13; } //服务器端向前端推送的设备状态信息