列车控制调整
This commit is contained in:
parent
121134778a
commit
e4c55ea4b6
@ -396,6 +396,7 @@ message TrainVobcState {
|
|||||||
// ATO牵引指令3
|
// ATO牵引指令3
|
||||||
bool atoTractionCommand3=74;
|
bool atoTractionCommand3=74;
|
||||||
uint32 mockInfo = 75; //车载接口输出的模拟量信息
|
uint32 mockInfo = 75; //车载接口输出的模拟量信息
|
||||||
|
// request.TrainControl.Direction historyDir = 76; //历史行驶方向,用于列车操控时,方向旋钮更改方向时使用,不在前端显示
|
||||||
}
|
}
|
||||||
|
|
||||||
// 发给前端的列车状态
|
// 发给前端的列车状态
|
||||||
|
@ -202,7 +202,11 @@ message TrainControl{
|
|||||||
DIRECTION_KEY_SWITCH = 2;//方向钥匙
|
DIRECTION_KEY_SWITCH = 2;//方向钥匙
|
||||||
HANDLER = 3; //手柄
|
HANDLER = 3; //手柄
|
||||||
}
|
}
|
||||||
|
enum Direction{
|
||||||
|
BACKWARD = 0; //后退
|
||||||
|
FORWARD = 1; //前进
|
||||||
|
NEUTRALWARD = 2;//中位
|
||||||
|
}
|
||||||
//紧急制动
|
//紧急制动
|
||||||
message EmergentButton{
|
message EmergentButton{
|
||||||
bool active = 1;
|
bool active = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user