黄学彪
2020-04-02 9904031f5291daaf56985146bb671f25e18ebbdf
ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DeviceColorLightRowControl.cs
@@ -68,12 +68,10 @@
            //深度卡片信息
            this.frameTable.ButtonClickEvent += (sender, e) =>
            {
                var dimmableLightControl = new Phone.Device.Light.DimmableLightControl();
                UserView.HomePage.Instance.AddChidren(dimmableLightControl);
                UserView.HomePage.Instance.PageIndex += 1;
                UserView.HomePage.Instance.ScrollEnabled = false;
                dimmableLightControl.Show(i_device, UserCenter.HdlRoomLogic.Current.CurrentRoom);
                dimmableLightControl.action += this.CardDetailInfoBackEvent;
                //彩灯,调光器类型的深度卡片界面
                var form = new MainPage.ControlForm.DeviceColorLightDetailCardForm();
                form.AddForm(i_device, UserCenter.HdlRoomLogic.Current.CurrentRoom, 965, 1316);
                form.FormCloseEvent += this.CardDetailInfoBackEvent;
            };
        }
@@ -103,7 +101,7 @@
            //检测能否发送获取状态命令
            if (this.CheckCanSendStatuComand() == true)
            {
                Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendLightStatuComand(this.device);
                Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendDimmableLightStatuComand(this.device);
            }
        }