【列车状态信息】

This commit is contained in:
weizhihong 2023-06-16 16:34:00 +08:00
parent de6b01d131
commit 524a7e4f0a
2 changed files with 76 additions and 2 deletions

View File

@ -248,3 +248,75 @@ message OccNccFepNetwork{
bool active = 2; bool active = 2;
} }
// 2.7.8
message Train {
//
//
string trainId = 1;
//
string globalId = 2;
//
string groupId = 3;
//
int32 localSubId = 4;
//
int32 trainType = 5;
//
float speed = 6;
//
//
int32 direction = 7;
// ID
int32 destinationId = 8;
//
int32 stationId = 9;
//
int32 sideId = 10;
//
string trackName = 11;
//
bool recordType = 12;
//
int64 recordTime = 13;
//
string driverId = 14;
//
int32 routeId = 15;
//
TrainMode mode = 16;
//
int32 nccWindow = 17;
//
int32 nccWindowOffset = 18;
//
int32 rate = 19;
//
int32 devType = 20;
//
string devName = 21;
//
int32 blockFlag = 22;
}

View File

@ -29,10 +29,12 @@ message WsLineMessage {
repeated state.WorkArea workArea = 10; repeated state.WorkArea workArea = 10;
// //
repeated state.Gama gama = 11; repeated state.Gama gama = 11;
// //
repeated state.TrainMode trainMode = 12; repeated state.TrainMode trainMode = 12;
// //
repeated state.OccNccFepNetwork netWork = 13; repeated state.OccNccFepNetwork netWork = 13;
//
repeated state.Train train = 14;
} }
// 线 // 线