黄学彪
2020-07-09 5428935270159bfc42c2934ed7fb1091554fc9a4
ZigbeeApp/Shared/Phone/Category/CategoryMainForm.cs
@@ -188,6 +188,7 @@
            //场景,功能,自动化的切换控件
            var switchContr = new SceneFunctionSwitchControl();
            switchContr.Y = Application.GetRealHeight(40);
            switchContr.Width = Application.GetRealWidth(650);
            switchContr.Gravity = Gravity.CenterVertical;
            frameSwitchBack.AddChidren(switchContr);
@@ -636,6 +637,9 @@
                            {
                                //在外面清空(特效的问题)
                                this.functionSceneBodyView.RemoveAll();
                                //刷新场景的时候,关闭左划菜单的未分配界面
                                MainPage.LeftListRoomViewFrom.Instance?.CloseUnallocatedRoomForm();
                                HdlThreadLogic.Current.RunMainInThread(() =>
                                {
                                    //刷新场景分支控件
@@ -857,10 +861,8 @@
                    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);