【增加按钮、指示灯、警铃状态】

This commit is contained in:
weizhihong 2023-10-17 15:46:27 +08:00
parent 7a105e7c0e
commit d1b6798d30

View File

@ -233,6 +233,25 @@ message ReplyState {
bool xh = 2;
}
//
message ButtonState {
string id = 1;
bool down = 2;
}
//
message AlarmState {
string id = 1;
bool active = 2;
}
//
message LightState {
string id = 1;
Signal.Aspect aspect = 2;
}
////////////////////////////////////////////////////////////////////////////
//仿
@ -261,6 +280,12 @@ message AllDevicesStatus{
repeated ReplyState replyState = 4;
//
repeated SignalState signalState = 5;
//
repeated ButtonState buttonState = 6;
//
repeated AlarmState AlarmState = 7;
//
repeated LightState LightState = 8;
}
//