黄学彪
2020-12-17 9f326f4000847e6167d8166fa2f6a66f53cb3734
ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
@@ -61,7 +61,7 @@
            this.ScrollEnabled = false;
            this.WcdType = ((Rollershade)this.device).WcdType;
            //设置状态文字
            this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
            this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
            if (WcdType == 0)
            {
@@ -96,7 +96,7 @@
                        SeekBarOpenCurtain.Progress = 100;
                    }
                    //设置状态文字
                    this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
                    this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
                    return;
                }
                //发送窗帘命令
@@ -145,7 +145,7 @@
                        SeekBarOpenCurtain.Progress = 0;
                    }
                    //设置状态文字
                    this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
                    this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
                    return;
                }
                //发送窗帘命令
@@ -186,7 +186,6 @@
            SeekBarSiphonateCurtain.Progress = (device as Rollershade).WcdCurrentPositionLiftPercentage;
            frameWhiteBack.AddChidren(SeekBarSiphonateCurtain);
            SeekBarSiphonateCurtain.IsProgressTextShow = false;
            SeekBarSiphonateCurtain.CurtainPaddingTop = Application.GetRealHeight(110);
            //卷帘控件里面的那个显示百分比的控件
            int progressY = SeekBarSiphonateCurtain.Y - Application.GetMinReal(204);
@@ -401,7 +400,7 @@
                HdlThreadLogic.Current.RunMain(() =>
                {
                    //设置状态文字
                    this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
                    this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
                    if (this.isProgressing == false)
                    {
                        //当进度值在手动变更中时,不接收推送