列车应答器调整
This commit is contained in:
parent
ec6c571a37
commit
bc7ca44ffd
@ -204,7 +204,9 @@ message TrainBtmCache{
|
|||||||
uint32 dsn = 1;
|
uint32 dsn = 1;
|
||||||
uint32 baliseCount = 2; //应答器计数(每过一个应答器加一,在同一个应答器内不变)(0~255)
|
uint32 baliseCount = 2; //应答器计数(每过一个应答器加一,在同一个应答器内不变)(0~255)
|
||||||
uint32 messageCounter = 3; //报文计数器 (每解出一个报文加一)(0~255)
|
uint32 messageCounter = 3; //报文计数器 (每解出一个报文加一)(0~255)
|
||||||
repeated BTMState baliseList = 4;
|
string resendBaliseId = 4;
|
||||||
|
|
||||||
|
repeated BTMState baliseList = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -466,6 +468,8 @@ message TrainVobcState {
|
|||||||
bool lightDir2 = 80;
|
bool lightDir2 = 80;
|
||||||
//驾驶室激活
|
//驾驶室激活
|
||||||
bool lightDriverActive = 81;
|
bool lightDriverActive = 81;
|
||||||
|
//列车连接半实物是否初始化
|
||||||
|
bool trainConnInitComplate = 82;
|
||||||
// request.TrainControl.Direction historyDir = 76; //历史行驶方向,用于列车操控时,方向旋钮更改方向时使用,不在前端显示
|
// request.TrainControl.Direction historyDir = 76; //历史行驶方向,用于列车操控时,方向旋钮更改方向时使用,不在前端显示
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -629,6 +633,8 @@ message BTMState {
|
|||||||
bool isSend = 6;//记录是否发送过
|
bool isSend = 6;//记录是否发送过
|
||||||
bool unpack =7; //解包是否成功
|
bool unpack =7; //解包是否成功
|
||||||
int32 baliseType = 8; //应答器类型 与model的类型一致
|
int32 baliseType = 8; //应答器类型 与model的类型一致
|
||||||
|
bool hasData =9; //是否有应答器报文
|
||||||
|
uint32 resendCount = 10;//重发次数
|
||||||
}
|
}
|
||||||
|
|
||||||
//动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string
|
//动力学相关参数返回数据,因golang float类型数据序列化后丢失精度故使用string
|
||||||
|
Loading…
Reference in New Issue
Block a user