| | |
| | |
|
| | | this.dicSensorStatuView.Clear();
|
| | |
|
| | | //添加列表控件 |
| | | //添加列表控件
|
| | | frameLayoutDraw.RemoveAll();
|
| | | var listView = new VerticalFrameControl(35);
|
| | | listView.Height = frameLayoutDraw.Height;
|
| | |
| | | oldGetOnlineTime = DateTime.Now;
|
| | |
|
| | | //从设备列表中获取在线状态
|
| | | HdlThreadLogic.Current.RunThread(async () =>
|
| | | HdlThreadLogic.Current.RunThread(() =>
|
| | | {
|
| | | //首先获取这些传感器所在的网关
|
| | | var listWay = new List<ZbGateway>();
|
| | |
| | | //界面关闭
|
| | | return;
|
| | | }
|
| | | await Common.LocalDevice.Current.GetDeviceListFromGateway(zbway, false, this.ReceiveDeviceStatuPush, ShowErrorMode.NO);
|
| | | Common.LocalDevice.Current.GetDeviceListFromGateway(zbway, false, this.ReceiveDeviceStatuPush, ShowErrorMode.NO);
|
| | | }
|
| | | });
|
| | | }
|