WJC
2020-03-23 bba578c2f0acf2eca747edcb69426771e0cadd32
ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceAcCardControl.cs
@@ -29,7 +29,7 @@
            {
                bool setStatu = !btnSwitch.IsSelected;
                //变更卡片状态
                this.SetCardStatu(setStatu);
                this.SetCardOpenStatu(setStatu);
                //检测是否获取网关反馈的结果,如果网关没有回复,则会弹出消息
                this.StartCheckResponeResult(!setStatu);
@@ -60,8 +60,6 @@
            //深度卡片信息
            this.ButtonClickEvent += (sender, e) =>
            {
                Common.CommonPage.Instance.IsDrawerLockMode = true;
                var lightControl = new Phone.Device.AC.ACControl();
                UserView.HomePage.Instance.AddChidren(lightControl);
                UserView.HomePage.Instance.PageIndex += 1;
@@ -92,10 +90,13 @@
        /// <summary>
        /// 发送获取状态命令
        /// </summary>
        /// <param name="i_device"></param>
        public override void SendStatuComand(CommonDevice i_device)
        public override void SendStatuComand()
        {
            Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendACStatuComand(i_device);
            //检测能否发送获取状态命令
            if (this.CheckCanSendStatuComand() == true)
            {
                Device.DeviceLogic.ReadDeviceAttributeLogic.Instance.SendACStatuComand(this.device);
            }
        }
        #endregion