From 462b2ba20ec57cef20b99a317ff0d44a23597512 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Mon, 21 Aug 2023 09:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E9=81=93=E5=B2=94=E5=A4=B1=E8=A1=A8=E5=8F=8A=E5=A4=B1=E8=A1=A8?= =?UTF-8?q?=E4=BF=9D=E6=8A=A4=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_status.proto | 22 ++++++++++++++++++++++ protos/train.proto | 8 ++++++++ 2 files changed, 30 insertions(+) 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; }