diff --git a/protos/device_state.proto b/protos/device_state.proto index 46db249..06d312d 100644 --- a/protos/device_state.proto +++ b/protos/device_state.proto @@ -241,7 +241,7 @@ message ReplyState { message ButtonState { string id = 1; bool down = 2; - Signal.Aspect aspect = 3; // 带灯的按钮 + bool active = 3; // 带灯的按钮 } // 警铃状态 @@ -253,7 +253,13 @@ message AlarmState { // 灯状态 message LightState { string id = 1; - Signal.Aspect aspect = 2; + bool active = 2; +} + +// 屏蔽门状态 +message PsdState { + string id = 1; //屏蔽门的id + repeated string openDoorCodes = 2; //开启的小门的编号 } @@ -291,6 +297,8 @@ message AllDevicesStatus{ repeated AlarmState AlarmState = 7; // 灯状态 repeated LightState LightState = 8; + // 屏蔽门状态 + repeated PsdState psdState = 9; } //服务器端向前端推送的设备状态信息