Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-message
This commit is contained in:
commit
f3013d1079
@ -131,7 +131,7 @@ message TrainState{
|
||||
float speed = 3;
|
||||
//列车长度,1=1mm
|
||||
int64 trainLength = 4;
|
||||
//列车是否显示
|
||||
//列车是否显示(此状态仅在列车被删除时为false,若需更改用途需增加列车被删除状态)
|
||||
bool show = 5;
|
||||
// 列车车头所在设备ID
|
||||
uint32 headDeviceId = 6;
|
||||
@ -161,8 +161,14 @@ message TrainState{
|
||||
common.TrainEndsState trainEndsA = 18;
|
||||
//列车B端
|
||||
common.TrainEndsState trainEndsB = 19;
|
||||
// 列车尾端所在设备ID
|
||||
uint32 tailDeviceId = 20;
|
||||
// 列车尾端所在设备偏移量
|
||||
int64 tailOffset = 21;
|
||||
// 列车尾端所在设备端口
|
||||
string tailDevicePort = 22;
|
||||
// BTM状态
|
||||
BTMState btmState = 20;
|
||||
BTMState btmState = 23;
|
||||
}
|
||||
|
||||
// 动力学列车状态
|
||||
@ -412,8 +418,10 @@ message TrainMapState{
|
||||
uint32 tailDeviceId = 66;
|
||||
// 列车车尾所在设备偏移量
|
||||
int64 tailOffset = 67;
|
||||
// 列车车尾所在设备端口
|
||||
string tailDevicePort = 68;
|
||||
// BTM状态
|
||||
BTMState btmState = 68;
|
||||
BTMState btmState = 69;
|
||||
}
|
||||
|
||||
message BTMState {
|
||||
@ -446,11 +454,11 @@ message TrainDynamicConfigMqtt{
|
||||
//是否跳跃
|
||||
bool jump = 9;
|
||||
//打滑加速度(m/s) 默认0 原本属性 float
|
||||
string slipA=10;
|
||||
string slipA = 10;
|
||||
// 打滑冲击率(m/s) 默认0
|
||||
string slipR=11;
|
||||
string slipR = 11;
|
||||
// 打滑持续时间ms 默认0
|
||||
int32 slipD=12;
|
||||
int32 slipD = 12;
|
||||
// 空转加速度(m/s2),默认值:0 原本属性 float
|
||||
string idlingA = 14;
|
||||
// 空转冲击率(m/s3),默认值:0
|
||||
@ -459,7 +467,7 @@ message TrainDynamicConfigMqtt{
|
||||
int32 idlingD = 16;
|
||||
//过标/欠标(mm)(正数过标,负数欠标)
|
||||
int32 stopSign = 17;
|
||||
// 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 原本属性 float
|
||||
// 前溜/后溜(m/s)(正数前溜,负数后溜),默认值:0 原本属性 float
|
||||
string slide = 18 ;
|
||||
}
|
||||
//列车一端的状态
|
||||
@ -496,7 +504,7 @@ message ButtonState {
|
||||
uint32 id = 1;
|
||||
bool down = 2;
|
||||
bool active = 3; // 带灯的按钮
|
||||
// bool bypass = 4; //摁钮,钥匙 是否旁路
|
||||
// bool bypass = 4; //摁钮,钥匙 是否旁路
|
||||
}
|
||||
|
||||
// 警铃状态
|
||||
@ -517,7 +525,7 @@ message PsdState {
|
||||
repeated AsdState asdStates = 2; //滑动门状态
|
||||
bool mgj = 3; //屏蔽门整体的关闭(继电器)状态
|
||||
request.PsdParam param = 4; //屏蔽门设置的参数
|
||||
bool obstacle = 5; //是否有障碍物
|
||||
bool zaw = 5; //有障碍物
|
||||
}
|
||||
|
||||
//滑动门状态
|
||||
@ -526,6 +534,8 @@ message AsdState {
|
||||
bool kmdw = 2; //开门到位(实际位置)
|
||||
bool gmdw = 3; //关门到位(实际位置)
|
||||
bool mgj = 4; //门关继电器
|
||||
bool zaw = 5; //有障碍物
|
||||
bool force = 6; //强制开/关门
|
||||
}
|
||||
|
||||
|
||||
@ -533,7 +543,7 @@ message AsdState {
|
||||
message KeyState {
|
||||
uint32 id = 1;
|
||||
int32 gear = 2;
|
||||
// bool bypass = 3; //摁钮,钥匙 是否旁路
|
||||
// bool bypass = 3; //摁钮,钥匙 是否旁路
|
||||
}
|
||||
|
||||
// 战场图门控箱继电器状态
|
||||
|
@ -65,6 +65,15 @@ message Canvas {
|
||||
string backgroundColor = 3;
|
||||
// 视口变换
|
||||
Transform viewportTransform = 4;
|
||||
//画布格子背景
|
||||
Grid gridBackground = 5;
|
||||
}
|
||||
|
||||
//格子背景
|
||||
message Grid {
|
||||
bool hasGrid = 1;
|
||||
string lineColor = 2; // 线色
|
||||
int32 space = 3; //间隔
|
||||
}
|
||||
|
||||
message Point {
|
||||
@ -200,7 +209,7 @@ message Station {
|
||||
// string kilometerCode = 5; //公里标
|
||||
KilometerSystem kilometerSystem = 6; //公里标
|
||||
// int32 index = 7;
|
||||
string refIbpMapCode = 8; // 关联IBP地图Code
|
||||
//string refIbpMapCode = 8; // 关联IBP地图Code
|
||||
string stationName = 9; //车站名
|
||||
string stationNameAcronym = 10; // 车站名拼音简写
|
||||
bool depots = 11; //是否车辆段
|
||||
|
Loading…
Reference in New Issue
Block a user