This commit is contained in:
fan 2023-10-25 09:24:00 +08:00
commit fc47b23c36
3 changed files with 52 additions and 0 deletions

View File

@ -60,4 +60,26 @@ enum AlertType {
TRAIN_EB_ATP = 18; TRAIN_EB_ATP = 18;
//线 //线
ALL_LINE_BLUE_DISPLAY = 19; ALL_LINE_BLUE_DISPLAY = 19;
//
AXLE_LED_RED_INTERLOCK_AREA = 20;
//
AXLE_LED_ORANGE_INTERLOCK_AREA = 21;
//
SWITCH_LOST_INTERLOCK_AREA = 22;
//
INTERLOCK_LEVEL_ONE = 23;
}
enum TipTimeConfig{
//
HOLIDAYS_MORN_PEAK = 0;
//
HOLIDAYS_EVENING_PEAK = 1;
//
MORN_PEAK = 2;
//
EVENING_PEARK = 3;
//
NORMAL_UNPEARK = 4;
} }

View File

@ -121,10 +121,15 @@ message Station {
} }
message StationLine { message StationLine {
enum stationColor {
orange = 0;
gray = 1;
}
CommonInfo common = 1; CommonInfo common = 1;
string code = 2; string code = 2;
bool hasTransfer = 3; // bool hasTransfer = 3; //
bool hideName = 4; bool hideName = 4;
stationColor codeColor = 5;
} }
message TrainWindow { message TrainWindow {

25
protos/trainShedule.proto Normal file
View File

@ -0,0 +1,25 @@
syntax = "proto3";
package alert;
//
//import "LineNetTrainOffsetDiagram.proto";
option java_package = "club.joylink.xiannccda.dto.protos";
option java_outer_classname = "TrainShedule";
message Plan{
int32 lineId = 1;
int64 date = 2;
int32 actionId = 3;
string trainId = 4;
string globalId = 5;
int32 stationId = 6;
int32 platformId = 7;
int64 aTime = 8;
int64 dTime = 9;
bool upWay = 10;
int64 timestamp = 11;
//
int64 receiveTime = 12;
int32 flag = 13;
}