From 4e275a7b14a645c84d15842106cc4ed883234382 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 10 Sep 2024 15:37:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=98=E8=BF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/protos/device_state.proto b/protos/device_state.proto index 6e2e431..7267c66 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -210,6 +210,7 @@ message TrainState{ float TrainMaxBrake = 37; //列车最大减速度 float TrainEmergencyBrake = 38;//列车紧急制动减速度 string projectCode = 39; +// map trainPortVS = 40; } //列车应答器缓存 @@ -456,6 +457,10 @@ message TrainVobcState { //Ato运行级位 AtoStepLevel atoStepLevel = 85; VobcBtmInfo vobcBtmInfo = 86; + int64 lineInitTimeStamp12 = 87; //12号线列出初始化时间戳 + bool line12ConnErr = 88;//12号线连接错误,因为12号线atp故障(此时atp需要重启)时,还是会发送数据通过此次属性标记atp状态情况(多次观察atp故障时,atp输出数字量返回的数据最后一个直接是0) +// bool trainConnInitComplateTc1 = 87; +// bool trainConnInitComplateTc2 = 88; message VobcBtmInfo{ uint32 btmId = 1; @@ -938,9 +943,15 @@ message TrainControlState{ // DirectionKeySwitch dirKey = 3; //接车运行方向 PushHandler pushHandler = 4; //牵引制动手柄 map lightMaps = 5; - int64 lineInitTimeStamp12 = 6; //12号线列出初始化时间戳 - bool line12ConnErr = 7;//12号线连接错误,因为12号线atp故障(此时atp需要重启)时,还是会发送数据通过此次属性标记atp状态情况(多次观察atp故障时,atp输出数字量返回的数据最后一个直接是0) -// uint32 initCount = 8;//初始化计数器 + int64 lineInitTimeStamp12PortA = 6; //12号线列出初始化时间戳 + int64 lineInitTimeStamp12PortB = 7; //12号线列出初始化时间戳 + bool line12ConnErrPortA = 8;//12号线连接错误,因为12号线atp故障(此时atp需要重启)时,还是会发送数据通过此次属性标记atp状态情况(多次观察atp故障时,atp输出数字量返回的数据最后一个直接是0) + bool line12ConnErrPortB = 9;//12号线连接错误,因为12号线atp故障(此时atp需要重启)时,还是会发送数据通过此次属性标记atp状态情况(多次观察atp故障时,atp输出数字量返回的数据最后一个直接是0) + bool TrainConnInitComplatePortA = 10; + bool TrainConnInitComplatePortB = 11; + bool activeTrainA = 12; + bool activeTrainB = 13; + message ControlButton{ uint32 id = 1; bool passed = 3;