现场调整

This commit is contained in:
tiger_zhou 2023-08-04 11:01:35 +08:00
parent a41cd63038
commit 418c50a696
2 changed files with 30 additions and 2 deletions

View File

@ -27,6 +27,8 @@ message Rtu {
string id = 5; string id = 5;
//id //id
int32 rtuId = 6; int32 rtuId = 6;
//
int64 timestamp = 7;
} }
message Station { message Station {
@ -58,6 +60,8 @@ message Station {
string id = 25; string id = 25;
//id //id
int32 rtuId = 26; int32 rtuId = 26;
//
int64 timestamp = 27;
} }
message Signal { message Signal {
@ -88,6 +92,8 @@ message Signal {
string id = 24; string id = 24;
//id //id
int32 rtuId = 25; int32 rtuId = 25;
//
int64 timestamp = 26;
} }
message Entry { message Entry {
@ -98,6 +104,8 @@ message Entry {
string id = 4; string id = 4;
//id //id
int32 rtuId = 5; int32 rtuId = 5;
//
int64 timestamp = 6;
} }
message Switch { message Switch {
@ -134,6 +142,8 @@ message Switch {
int32 speedLimit = 29; int32 speedLimit = 29;
//id //id
int32 rtuId = 30; int32 rtuId = 30;
//
int64 timestamp = 31;
} }
message Track { message Track {
@ -156,6 +166,8 @@ message Track {
LimitType limitType = 14; //[1:CBTC限速/2:/4:] LimitType limitType = 14; //[1:CBTC限速/2:/4:]
//id //id
int32 rtuId = 15; int32 rtuId = 15;
//
int64 timestamp = 16;
// track限速类型 // track限速类型
enum LimitType { enum LimitType {
Unknown = 0; Unknown = 0;
@ -192,6 +204,8 @@ message Platform {
int32 stopTime = 17; int32 stopTime = 17;
//id //id
int32 rtuId = 18; int32 rtuId = 18;
//
int64 timestamp = 19;
} }
message Scada { message Scada {
@ -202,6 +216,8 @@ message Scada {
string id = 4; string id = 4;
//id //id
int32 rtuId = 5; int32 rtuId = 5;
//
int64 timestamp = 6;
} }
message WaterProofDoor { message WaterProofDoor {
@ -214,6 +230,8 @@ message WaterProofDoor {
string id = 6; string id = 6;
//id //id
int32 rtuId = 7; int32 rtuId = 7;
//
int64 timestamp = 8;
} }
message WorkArea { message WorkArea {
@ -222,6 +240,8 @@ message WorkArea {
string id = 2; string id = 2;
//id //id
int32 rtuId = 3; int32 rtuId = 3;
//
int64 timestamp = 4;
} }
message Gama { message Gama {
@ -230,6 +250,8 @@ message Gama {
string id = 2; string id = 2;
//id //id
int32 rtuId = 3; int32 rtuId = 3;
//
int64 timestamp = 4;
} }
message TrainMode { message TrainMode {

View File

@ -51,6 +51,8 @@ message TrainInfo {
TrainRemove remove = 21; TrainRemove remove = 21;
TrainBlock block = 22; TrainBlock block = 22;
TrainRecord record = 23; TrainRecord record = 23;
//
int64 timestamp = 24;
} }
message NccWindow{ message NccWindow{
int32 nccWindow = 1; int32 nccWindow = 1;
@ -73,6 +75,8 @@ message TrainRemove{
string trainIndex = 6; string trainIndex = 6;
// //
string groupId = 7; string groupId = 7;
//
int64 timestamp = 8;
} }
//2.7.13 //2.7.13
@ -102,7 +106,8 @@ message TrainBlock{
// 1 // 1
// 0 // 0
int32 blockFlag = 10; int32 blockFlag = 10;
//
int64 timestamp = 11;
} }
// //
@ -147,6 +152,7 @@ message TrainRecord{
bool recordType = 12; bool recordType = 12;
/** 到发时间(7) 时间戳 精确到秒 10位长度 */ /** 到发时间(7) 时间戳 精确到秒 10位长度 */
int64 recordTime = 13; int64 recordTime = 13;
//
int64 timestamp = 14;
} }