From b14d5add8aa4131b8a3f22e42a575bb80c9b1aa7 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Fri, 13 Oct 2023 10:18:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E5=8F=B7=E6=9C=BA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protos/device_state.proto | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/protos/device_state.proto b/protos/device_state.proto index 575f38f..70ea052 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -55,6 +55,25 @@ message SignalState{ //信号机索引 string id = 1; } +//信号机显示枚举 +enum SignalAspect{ + //物理灭灯 + SA_OFF = 0; + //物理亮灯 + SA_ON = 1; + //绿灯亮 + SA_L = 2; + //红灯亮 + SA_H = 3; + //黄灯亮 + SA_U = 4; + //红灯且黄灯亮 + SA_HU= 5; + //白灯亮 + SA_B=6; + //蓝灯亮 + SA_A=7; +} //站台状态 message PlatformState{ //站台索引