message 调整

This commit is contained in:
tiger_zhou 2023-06-28 09:52:11 +08:00
parent 39c150153d
commit 51ad8e758b
2 changed files with 8 additions and 18 deletions

View File

@ -41,14 +41,16 @@ message TrainInfo {
int64 departTime = 16;
//
float speed = 17;
//
bool show = 18;
// true=false =
bool type = 19;
bool type = 18;
//0
int32 routeId = 20;
int32 routeId = 19;
//
int32 rate = 21;
int32 rate = 20;
TrainRemove remove = 21;
TrainBlock block = 22;
TrainRecord record = 23;
}
message NccWindow{
int32 nccWindow = 1;
@ -59,16 +61,13 @@ message TrainRemove{
// 线
int32 lineId = 1;
//
int32 rtuId = 2;
// NCC车次窗编号
//
NccWindow window = 3;
//
state.DeviceType deviceType = 4;
//
string devName = 5;
// 线0
string trainIndex = 6;
@ -90,24 +89,18 @@ message TrainBlock{
// 2
int32 direction = 4;
//
int32 stationIDInUpSide = 5;
//
int32 stationIDInDownSide = 6;
//
int32 rtuId = 7;
//
state.DeviceType deviceType = 8;
//
string DevName = 9;
//
// 1
// 0
int32 blockFlag = 10;
}

View File

@ -40,10 +40,7 @@ message WsLineMessage {
//线
message WsLineTrainMessage{
repeated train.TrainInfo train = 1;
repeated train.TrainBlock trainBlock = 2;
repeated train.TrainRecord trainRecord = 3;
repeated train.TrainRemove trainRemove = 4;
repeated train.TrainInfo trainInfo = 1;
}
// 线