diff --git a/protos/device_state.proto b/protos/device_state.proto index 575f38f..7634f58 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -55,6 +55,28 @@ message SignalState{ //信号机索引 string id = 1; } +//信号机显示枚举定义 +message Signal { + enum Aspect { + //物理灭灯 + OFF = 0; + //物理亮灯 + ON = 1; + //绿灯亮 + L = 2; + //红灯亮 + H = 3; + //黄灯亮 + U = 4; + //红灯且黄灯亮 + HU= 5; + //白灯亮 + B=6; + //蓝灯亮 + A=7; + } +} + //站台状态 message PlatformState{ //站台索引