修改状态字段索引

This commit is contained in:
weizhihong 2023-08-25 15:39:08 +08:00
parent 5c10464724
commit 47f5b0d171

View File

@ -115,23 +115,23 @@ message TrainDynamicState {
//1NairResistance,1=1KN
int32 airResistance = 11;
//2NslopeResistance,1=1KN
int32 rampResistance = 11;
int32 rampResistance = 12;
//3线NcurveResistance,1=1KN
int32 curveResistance = 12;
int32 curveResistance = 13;
//m/sspeed,1=1km/h
float speed = 13;
float speed = 14;
//1m/sheadSensorSpeed1,1=1km/h
float headSpeed1 = 14;
float headSpeed1 = 15;
//2m/sheadSensorSpeed2,1=1km/h
float headSpeed2 = 15;
float headSpeed2 = 16;
//1m/stailSensorSpeed1,1=1km/h
float tailSpeed1 = 16;
float tailSpeed1 = 17;
//2m/stailSensorSpeed2,1=1km/h
float tailSpeed2 = 17;
float tailSpeed2 = 18;
//m/sheadRadarSpeed,1=1km/h
float headRadarSpeed = 18;
float headRadarSpeed = 19;
//m/stailRadarSpeed,1=1km/h
float tailRadarSpeed = 19;
float tailRadarSpeed = 20;
}
// vobc发过来的列车信息