From 911d1999d0df58db7fefb59471487bd5c524269f Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Mon, 26 Jun 2023 09:56:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=BF=E8=B7=AF=E6=A8=A1=E6=8B=9F=E8=AE=A2?= =?UTF-8?q?=E9=98=85=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_status.proto | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/protos/device_status.proto b/protos/device_status.proto index 8699389..690c7ad 100644 --- a/protos/device_status.proto +++ b/protos/device_status.proto @@ -3,6 +3,21 @@ syntax = "proto3"; package state; //模型的可变的状态数据 option java_package = "club.joylink.xiannccda.dto.protos"; option java_outer_classname = "DeviceStatusProto"; +enum DeviceType{ + UNKNOW = 0; + RTU = 1; + STATION = 2; + SIGNAL = 3; + SWITCH = 4; + TRACK = 5; + ENTRY = 6; + PLATFORM = 7; + SCADA = 8; + WATERPROOF_DOOR = 9; + WORK_AREA = 10; + GAMA = 11; + +} message Rtu{ bool ipRtuStusDown = 1; @@ -339,6 +354,8 @@ message Train { // 发点 int64 departTime = 30; + //车次号变化状态 + bool type = 31; }