This commit is contained in:
Yuan 2023-06-19 17:18:00 +08:00
commit b9f03f3d98
3 changed files with 80 additions and 13 deletions

View File

@ -248,3 +248,75 @@ message OccNccFepNetwork{
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

@ -109,6 +109,7 @@ message Station {
string code = 2;
bool hasControl = 3; //
bool concentrationStations = 4; //
string kilometerCode = 5; //
}
message StationLine {
@ -120,6 +121,7 @@ message StationLine {
message TrainWindow {
CommonInfo common = 1;
string code = 2;
string sectionId = 3;
}
message Train {

View File

@ -29,10 +29,12 @@ message WsLineMessage {
repeated state.WorkArea workArea = 10;
//
repeated state.Gama gama = 11;
//
//
repeated state.TrainMode trainMode = 12;
//
//
repeated state.OccNccFepNetwork netWork = 13;
//
repeated state.Train train = 14;
}
// 线
@ -41,15 +43,6 @@ message WsLineNetMessage {
//线
repeated diagram.LineNetTrainOffsetDiagram diagram = 1;
}
//
message WsMessage {
oneof message_oneOf {
// 线
WsLineMessage lineMessage = 1;
// 线
WsLineNetMessage lineNetMessage = 2;
}
//
repeated state.Train train = 2;
}