列车状态
This commit is contained in:
parent
be00086d33
commit
782321b107
@ -69,6 +69,36 @@ message TrainState{
|
|||||||
//列车所占用的link的索引的列表
|
//列车所占用的link的索引的列表
|
||||||
//顺序为从车头到车尾
|
//顺序为从车头到车尾
|
||||||
repeated string occupiedLinkIndex = 7;
|
repeated string occupiedLinkIndex = 7;
|
||||||
|
//生命信号
|
||||||
|
int32 heartbeat = 8;
|
||||||
|
//列车所在位置坡度值,1=1‰
|
||||||
|
int32 slope = 9;
|
||||||
|
//列车所在位置坡度走势,1=上坡true,0=下坡false
|
||||||
|
bool upslope = 10;
|
||||||
|
//列车当前运行方向,1 =上行true 0 =下行false
|
||||||
|
bool runningUp = 11;
|
||||||
|
//实际运行阻力(总),1=1KN
|
||||||
|
int32 runningResistanceSum = 12;
|
||||||
|
//阻力1(空气阻力),1=1KN
|
||||||
|
int32 airResistance = 13;
|
||||||
|
//阻力2(坡道阻力),1=1KN
|
||||||
|
int32 rampResistance = 14;
|
||||||
|
//阻力3(曲线阻力),1=1KN
|
||||||
|
int32 curveResistance = 15;
|
||||||
|
//列车运行速度,1=1km/h
|
||||||
|
int32 speed = 16;
|
||||||
|
//头车速传1速度值,1=1km/h
|
||||||
|
int32 headSensorSpeed1 = 17;
|
||||||
|
//头车速传2速度值,1=1km/h
|
||||||
|
int32 headSensorSpeed2 = 18;
|
||||||
|
//尾车速传1速度值,1=1km/h
|
||||||
|
int32 tailSensorSpeed1 = 19;
|
||||||
|
//尾车速度2速度值,1=1km/h
|
||||||
|
int32 tailSensorSpeed2 = 20;
|
||||||
|
//头车雷达速度值,1=1km/h
|
||||||
|
int32 headRadarSpeed = 21;
|
||||||
|
//尾车雷达速度值,1=1km/h
|
||||||
|
int32 tailRadarSpeed = 22;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user