列车状态中的阻力和速度改为浮点数;
This commit is contained in:
parent
f0da7c7c5c
commit
c87d9f5a41
@ -89,27 +89,27 @@ message TrainState{
|
||||
//列车当前运行方向,1 =上行true 0 =下行false
|
||||
bool runningUp = 11;
|
||||
//实际运行阻力(总),1=1KN
|
||||
int32 runningResistanceSum = 12;
|
||||
float runningResistanceSum = 12;
|
||||
//阻力1(空气阻力),1=1KN
|
||||
int32 airResistance = 13;
|
||||
float airResistance = 13;
|
||||
//阻力2(坡道阻力),1=1KN
|
||||
int32 rampResistance = 14;
|
||||
float rampResistance = 14;
|
||||
//阻力3(曲线阻力),1=1KN
|
||||
int32 curveResistance = 15;
|
||||
float curveResistance = 15;
|
||||
//列车运行速度,1=1km/h
|
||||
int32 speed = 16;
|
||||
float speed = 16;
|
||||
//头车速传1速度值,1=1km/h
|
||||
int32 headSensorSpeed1 = 17;
|
||||
float headSensorSpeed1 = 17;
|
||||
//头车速传2速度值,1=1km/h
|
||||
int32 headSensorSpeed2 = 18;
|
||||
float headSensorSpeed2 = 18;
|
||||
//尾车速传1速度值,1=1km/h
|
||||
int32 tailSensorSpeed1 = 19;
|
||||
float tailSensorSpeed1 = 19;
|
||||
//尾车速度2速度值,1=1km/h
|
||||
int32 tailSensorSpeed2 = 20;
|
||||
float tailSensorSpeed2 = 20;
|
||||
//头车雷达速度值,1=1km/h
|
||||
int32 headRadarSpeed = 21;
|
||||
float headRadarSpeed = 21;
|
||||
//尾车雷达速度值,1=1km/h
|
||||
int32 tailRadarSpeed = 22;
|
||||
float tailRadarSpeed = 22;
|
||||
//列车长度,1=1mm
|
||||
int64 trainLength = 23;
|
||||
//列车是否显示
|
||||
|
Loading…
Reference in New Issue
Block a user