From d87400af518ebc9274f4447f06476959c3aa5102 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期二, 14 七月 2020 16:29:42 +0800
Subject: [PATCH] Merge branch 'dev-tzy' into dev-2020xm

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
index b509b41..ef5a516 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayProductInfoForm.cs
@@ -140,7 +140,7 @@
             rowBeloneArea.SelectRoomEvent += (roomKeys) =>
             {
                 //鍙樻洿缃戝叧鎴块棿
-                HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway, roomKeys);
+                HdlGatewayLogic.Current.ChangedGatewayRoom(this.zbGateway.GwId, roomKeys);
             };
 
             //瀹屾垚鍒濆鍖栨甯�
@@ -220,12 +220,12 @@
         /// </summary>
         /// <param name="gatewayName">缃戝叧鍚嶇О</param>
         /// <param name="closeForm">鍏抽棴鐣岄潰</param>
-        private async void SetGatewayName(string gatewayName, bool closeForm)
+        private void SetGatewayName(string gatewayName, bool closeForm)
         {
             //鎵撳紑杩涘害鏉�
             this.ShowProgressBar();
             //淇敼鏈湴缃戝叧鍚�
-            var result = await HdlGatewayLogic.Current.ReName(zbGateway, gatewayName);
+            var result = HdlGatewayLogic.Current.ReName(zbGateway, gatewayName);
             //鍏抽棴杩涘害鏉�
             this.CloseProgressBar();
 

--
Gitblit v1.8.0