| | |
| | | this.ScrollEnabled = false;
|
| | | this.WcdType = ((Rollershade)this.device).WcdType;
|
| | | //设置状态文字
|
| | | this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
|
| | | this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
|
| | |
|
| | | if (WcdType == 0)
|
| | | {
|
| | |
| | | SeekBarOpenCurtain.Progress = 100;
|
| | | }
|
| | | //设置状态文字
|
| | | this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
|
| | | this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
|
| | | return;
|
| | | }
|
| | | //发送窗帘命令
|
| | |
| | | SeekBarOpenCurtain.Progress = 0;
|
| | | }
|
| | | //设置状态文字
|
| | | this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
|
| | | this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
|
| | | return;
|
| | | }
|
| | | //发送窗帘命令
|
| | |
| | | HdlThreadLogic.Current.RunMain(() =>
|
| | | {
|
| | | //设置状态文字
|
| | | this.SetStatuText(HdlDeviceCommonLogic.Current.GetMainPageDeviceStatuText(this.device));
|
| | | this.SetStatuText(HdlDeviceOtherLogic.Current.GetDeviceStatu(this.device));
|
| | | if (this.isProgressing == false)
|
| | | {
|
| | | //当进度值在手动变更中时,不接收推送
|