From dc0309e64f02227d8e1468b7326c07955f804612 Mon Sep 17 00:00:00 2001
From: chenqiyang <1406175257@qq.com>
Date: 星期三, 22 六月 2022 11:22:18 +0800
Subject: [PATCH] 修改引用路径

---
 ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs |   29 +++++++++++++----------------
 1 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
index 27098e8..290933b 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
@@ -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);
@@ -366,19 +365,20 @@
         /// <param name="comand"></param>
         private void SetCurtainCommand(int comand)
         {
+            //2020.07.20鍙樻洿:鏀惧紑闄愬埗,涓嶅啀绛夊緟缃戝叧鍥炲,涔熻兘鐐瑰嚮鎸夐挳
             //鍦ㄦ病鏈夋帴鏀跺埌鍙嶉涔嬪墠,涓嶈兘鍐嶇偣鍑�
-            this.btnClose.CanClick = false;
-            this.btnOpen.CanClick = false;
-            this.btnStop.CanClick = false;
+            //this.btnClose.CanClick = false;
+            //this.btnOpen.CanClick = false;
+            //this.btnStop.CanClick = false;
 
             //妫�娴嬫槸鍚﹁幏鍙栫綉鍏冲弽棣堢殑缁撴灉,濡傛灉缃戝叧娌℃湁鍥炲,鍒欎細寮瑰嚭娑堟伅
-            this.StartCheckResponeResult(new List<ButtonBase>(), (result) =>
-            {
-                //鏃堕棿缁撴潫,鍙互鍐嶆鐐瑰嚮
-                this.btnClose.CanClick = true;
-                this.btnOpen.CanClick = true;
-                this.btnStop.CanClick = true;
-            });
+            //this.StartCheckResponeResult(new List<ButtonBase>(), (result) =>
+            //{
+            //    //鏃堕棿缁撴潫,鍙互鍐嶆鐐瑰嚮
+            //    this.btnClose.CanClick = true;
+            //    this.btnOpen.CanClick = true;
+            //    this.btnStop.CanClick = true;
+            //});
             //鍙戦�佸懡浠�
             ((Rollershade)device).CurtainUpDownStopControl(comand);
         }
@@ -395,11 +395,7 @@
         /// <returns></returns>
         public override bool CheckResponeResultStatu(ReceiveComandDiv comandDiv, CommonDevice report)
         {
-            if (comandDiv == ReceiveComandDiv.A鑺傜偣鎺у埗鍙嶉)
-            {
-                return true;
-            }
-            else if (comandDiv == ReceiveComandDiv.A璁惧灞炴�т笂鎶�)
+            if (comandDiv == ReceiveComandDiv.A璁惧灞炴�т笂鎶�)
             {
                 HdlThreadLogic.Current.RunMain(() =>
                 {
@@ -418,6 +414,7 @@
                         }
                     }
                 });
+                return true;
             }
             return false;
         }

--
Gitblit v1.8.0