From c0ce2f57a4f836ebeb9e7b8b4b5a4407fd78dc86 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 23 九月 2020 10:06:05 +0800
Subject: [PATCH] 上传

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

diff --git a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
index 27098e8..21fd604 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/ControlForm/DeviceCurtainDetailCardForm.cs
@@ -366,19 +366,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 +396,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 +415,7 @@
                         }
                     }
                 });
+                return true;
             }
             return false;
         }

--
Gitblit v1.8.0