| | |
| | |
|
| | | //场景,功能,自动化的切换控件
|
| | | var switchContr = new SceneFunctionSwitchControl();
|
| | | switchContr.Y = Application.GetRealHeight(40);
|
| | | switchContr.Width = Application.GetRealWidth(650);
|
| | | switchContr.Gravity = Gravity.CenterVertical;
|
| | | frameSwitchBack.AddChidren(switchContr);
|
| | |
| | | {
|
| | | //在外面清空(特效的问题)
|
| | | this.functionSceneBodyView.RemoveAll();
|
| | | //刷新场景的时候,关闭左划菜单的未分配界面
|
| | | MainPage.LeftListRoomViewFrom.Instance?.CloseUnallocatedRoomForm();
|
| | |
|
| | | HdlThreadLogic.Current.RunMainInThread(() =>
|
| | | {
|
| | | //刷新场景分支控件
|
| | |
| | | string mainKeys = LocalDevice.Current.GetDeviceMainKeys(report);
|
| | | if (this.dicDeviceRowControl.ContainsKey(mainKeys) == true)
|
| | | {
|
| | | //本地设备对象
|
| | | var locadevice = LocalDevice.Current.GetDevice(mainKeys);
|
| | | //刷新卡片信息
|
| | | this.dicDeviceRowControl[mainKeys].RefreshControlInfo(locadevice);
|
| | | //开启行闪烁特效
|
| | | this.dicDeviceRowControl[mainKeys].StartRowLightAppeal();
|
| | | }
|
| | |
|
| | | }, ShowErrorMode.NO);
|