diff --git a/protos/device_status.proto b/protos/device_status.proto index 0cffa9c..cd3e33a 100644 --- a/protos/device_status.proto +++ b/protos/device_status.proto @@ -32,6 +32,8 @@ message Rtu { //消息时间戳 int64 timestamp = 7; int32 lineId = 8; + //接受时间 + int64 receiveTime = 9; } message Station { @@ -66,6 +68,8 @@ message Station { //消息时间戳 int64 timestamp = 27; int32 lineId = 28; + //接受时间 + int64 receiveTime = 29; } message Signal { @@ -99,6 +103,8 @@ message Signal { //消息时间戳 int64 timestamp = 26; int32 lineId = 27; + //接受时间 + int64 receiveTime = 28; } message Entry { @@ -112,6 +118,8 @@ message Entry { //消息时间戳 int64 timestamp = 6; int32 lineId = 7; + //接受时间 + int64 receiveTime = 8; } message Switch { @@ -151,6 +159,8 @@ message Switch { //消息时间戳 int64 timestamp = 31; int32 lineId = 32; + //接受时间 + int64 receiveTime = 33; } message Track { @@ -176,6 +186,8 @@ message Track { //消息时间戳 int64 timestamp = 16; int32 lineId = 17; + //接受时间 + int64 receiveTime = 18; // track限速类型 enum LimitType { Unknown = 0; @@ -215,6 +227,8 @@ message Platform { //消息时间戳 int64 timestamp = 19; int32 lineId = 20; + //接受时间 + int64 receiveTime = 21; } message Scada { @@ -228,6 +242,8 @@ message Scada { //消息时间戳 int64 timestamp = 6; int32 lineId = 7; + //接受时间 + int64 receiveTime = 8; } message WaterProofDoor { @@ -243,6 +259,8 @@ message WaterProofDoor { //消息时间戳 int64 timestamp = 8; int32 lineId = 9; + //接受时间 + int64 receiveTime = 10; } message WorkArea { @@ -254,6 +272,8 @@ message WorkArea { //消息时间戳 int64 timestamp = 4; int32 lineId = 5; + //接受时间 + int64 receiveTime = 6; } message Gama { @@ -265,6 +285,8 @@ message Gama { //消息时间戳 int64 timestamp = 4; int32 lineId = 5; + //接受时间 + int64 receiveTime = 6; } message TrainMode { diff --git a/protos/train.proto b/protos/train.proto index 6a2133c..549fa2c 100644 --- a/protos/train.proto +++ b/protos/train.proto @@ -53,6 +53,8 @@ message TrainInfo { TrainRecord record = 23; //消息时间戳 int64 timestamp = 24; + //接受时间 + int64 receiveTime = 25; } message NccWindow{ int32 nccWindow = 1; @@ -77,6 +79,8 @@ message TrainRemove{ string groupId = 7; //消息时间戳 int64 timestamp = 8; + //接受时间 + int64 receiveTime = 9; } //2.7.13 列车阻塞消息 @@ -108,6 +112,8 @@ message TrainBlock{ int32 blockFlag = 10; //消息时间戳 int64 timestamp = 11; + //接受时间 + int64 receiveTime = 12; } //列车报点消息 @@ -154,5 +160,7 @@ message TrainRecord{ int64 recordTime = 13; //消息时间戳 int64 timestamp = 14; + //接受时间 + int64 receiveTime = 15; }