添加警告类型,设备状态添加线路id

This commit is contained in:
tiger_zhou 2023-08-17 14:03:26 +08:00
parent 68c46628cc
commit 7376f35cd1
3 changed files with 24 additions and 2 deletions

View File

@ -44,4 +44,14 @@ enum AlertType {
SWITCH_DW_LOST = 9;
//
SWITCH_FW_LOST = 10;
//
AXLE_LED = 11;
//
AXLE_LED_RED = 12;
//
AXLE_LED_RED_MOST = 13;
//
AXLE_LED_ORANGE = 14;
//
AXLE_LED_ORANGE_MOST = 15;
}

View File

@ -31,6 +31,7 @@ message Rtu {
int32 rtuId = 6;
//
int64 timestamp = 7;
int32 lineId = 8;
}
message Station {
@ -64,6 +65,7 @@ message Station {
int32 rtuId = 26;
//
int64 timestamp = 27;
int32 lineId = 28;
}
message Signal {
@ -96,6 +98,7 @@ message Signal {
int32 rtuId = 25;
//
int64 timestamp = 26;
int32 lineId = 27;
}
message Entry {
@ -108,6 +111,7 @@ message Entry {
int32 rtuId = 5;
//
int64 timestamp = 6;
int32 lineId = 7;
}
message Switch {
@ -146,6 +150,7 @@ message Switch {
int32 rtuId = 30;
//
int64 timestamp = 31;
int32 lineId = 32;
}
message Track {
@ -170,6 +175,7 @@ message Track {
int32 rtuId = 15;
//
int64 timestamp = 16;
int32 lineId = 17;
// track限速类型
enum LimitType {
Unknown = 0;
@ -208,6 +214,7 @@ message Platform {
int32 rtuId = 18;
//
int64 timestamp = 19;
int32 lineId = 20;
}
message Scada {
@ -220,6 +227,7 @@ message Scada {
int32 rtuId = 5;
//
int64 timestamp = 6;
int32 lineId = 7;
}
message WaterProofDoor {
@ -234,6 +242,7 @@ message WaterProofDoor {
int32 rtuId = 7;
//
int64 timestamp = 8;
int32 lineId = 9;
}
message WorkArea {
@ -244,6 +253,7 @@ message WorkArea {
int32 rtuId = 3;
//
int64 timestamp = 4;
int32 lineId = 5;
}
message Gama {
@ -254,6 +264,7 @@ message Gama {
int32 rtuId = 3;
//
int64 timestamp = 4;
int32 lineId = 5;
}
message TrainMode {
@ -305,4 +316,5 @@ message OccNccFepNetwork {
// true 线(server)
// false
bool active = 2;
int32 lineId = 3;
}

View File

@ -212,7 +212,7 @@ message Section {
repeated string axleCountings = 7; // (&&)
repeated string children = 8; // id()/id()
string destinationCode = 9; //
bool turning = 10; //
bool turning = 10; //
}
/** 逻辑区段 */