黄学彪
2020-04-14 463cf39019aa54e6c1226be4620766a035a0c490
ZigbeeApp/Shared/Phone/MainPage/Controls/DeviceCard/DeviceCurtainCardControl.cs
@@ -60,13 +60,11 @@
            //深度卡片信息
            this.ButtonClickEvent += (sender, e) =>
            {
                var rollerShadeControl = new Phone.Device.Curtain.RollerShadeControl();
                UserView.HomePage.Instance.AddChidren(rollerShadeControl);
                UserView.HomePage.Instance.PageIndex += 1;
                UserView.HomePage.Instance.ScrollEnabled = false;
                rollerShadeControl.IsDrawerLockMode = true;
                rollerShadeControl.Show(i_device, UserCenter.HdlRoomLogic.Current.CurrentRoom);
                rollerShadeControl.action += this.CardDetailInfoBackEvent;
                Common.CommonPage.Instance.IsDrawerLockMode = true;
                //窗帘类型的深度卡片界面
                var form = new ControlForm.DeviceCurtainDetailCardForm();
                form.AddForm(i_device, UserCenter.HdlRoomLogic.Current.CurrentRoom, 965, 1316);
                form.FormCloseEvent += this.CardDetailInfoBackEvent;
            };
        }
@@ -81,7 +79,7 @@
        /// <returns></returns>
        public override bool CheckIsOpenStatu(CommonDevice i_device)
        {
            return ((Rollershade)i_device).WcdCurrentPositionLiftPercentage > 10;
            return ((Rollershade)i_device).WcdCurrentPositionLiftPercentage > 0;
        }
        #endregion