From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
index 8bbe274..8489132 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/BelongAreaControl.cs
@@ -144,11 +144,15 @@
             //鍙崇澶�
             this.AddRightArrow();
 
-            this.ButtonClickEvent += (sender, e) =>
+            //濡傛灉褰撳墠鏄睍绀烘ā鏉�,鍒欓渶瑕佸鐞�
+            if (Common.Config.Instance.Home.IsShowTemplate == false)
             {
-                //鍖哄煙閫夋嫨
-                this.ShowSelectRoom(btnTextView, i_caption);
-            };
+                this.ButtonClickEvent += (sender, e) =>
+                {
+                    //鍖哄煙閫夋嫨
+                    this.ShowSelectRoom(btnTextView, i_caption);
+                };
+            }
         }
 
         #endregion
@@ -169,6 +173,8 @@
                 txtView.Text = selectName;
                 //璋冪敤鍥炶皟鍑芥暟
                 this.SelectRoomEvent?.Invoke(RoomKey);
+                //涓婁紶绌洪棿鍖哄煙淇℃伅
+                HdlRoomLogic.Current.SetRoomInfoToGateway();
             });
             if (result == false)
             {

--
Gitblit v1.8.0