陈嘉乐
2020-04-27 18b93d511dc764b469d7c4a7e755f7274f89cdb4
ZigbeeApp/Shared/Phone/Category/Controls/DeviceRow/DeviceAcRowControl.cs
@@ -69,12 +69,10 @@
            //深度卡片信息
            this.frameTable.ButtonClickEvent += (sender, e) =>
            {
                var acControl = new Phone.Device.AC.ACControl();
                UserView.HomePage.Instance.AddChidren(acControl);
                UserView.HomePage.Instance.PageIndex += 1;
                UserView.HomePage.Instance.ScrollEnabled = false;
                acControl.Show(i_device, UserCenter.HdlRoomLogic.Current.CurrentRoom);
                acControl.action += this.CardDetailInfoBackEvent;
                //空调类型的深度卡片界面
                var form = new MainPage.ControlForm.DeviceAcDetailCardForm();
                form.AddForm(i_device, HdlRoomLogic.Current.CurrentRoom, 965, 1457);
                form.FormCloseEvent += this.CardDetailInfoBackEvent;
            };
        }
@@ -104,7 +102,7 @@
            //检测能否发送获取状态命令
            if (this.CheckCanSendStatuComand() == true)
            {
                Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendACStatuComand(this.device);
                HdlDeviceAttributeLogic.Current.SendACStatuComand(this.device);
            }
        }