仿真ws消息
This commit is contained in:
parent
4147f6e740
commit
cfa4d5a3dc
@ -86,3 +86,14 @@ message AllDevicesStatus{
|
|||||||
//所有类型区段状态
|
//所有类型区段状态
|
||||||
repeated SectionState sectionState = 3;
|
repeated SectionState sectionState = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//服务器端向前端推送的设备状态信息
|
||||||
|
message PushedDevicesStatus{
|
||||||
|
//true-全量设备状态信息,此时allStatus有效;
|
||||||
|
//false - 增量设备状态消息,此时varStatus有效
|
||||||
|
bool all = 1;
|
||||||
|
//增量设备状态消息
|
||||||
|
VariationStatus varStatus = 2;
|
||||||
|
//全量设备状态信息
|
||||||
|
AllDevicesStatus allStatus = 3;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user