From 45e4e387f3ef259b9e225fdd543e20be285a5112 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期二, 29 十月 2019 13:42:57 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc

---
 ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs b/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs
index 709f0be..c0741b3 100755
--- a/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Room/UnallocatedRoom.cs
@@ -245,8 +245,6 @@
         {
             SelectAll = selectAll;
             //閫夋嫨鍔熻兘--鐩存帴浠庢埧闂寸殑devicelist涓幏鍙�
-            Shared.Common.Room.GetAllRoomDeviceUIList();
-            Shared.Common.Room.GetAllRoomDeviceTypeList();
             if (Common.Room.AllRoomDeviceUIList == null)
             {
                 return;
@@ -277,7 +275,7 @@
                 };
                 functionSceneBodyView.AddChidren(deviceListScrolView);
 
-                
+
 
                 tempFunctionTypeBtn = new FunctionButton();
 
@@ -300,9 +298,8 @@
                     typeRowLayout.AddChidren(functionTypeIMG);
 
 
-                    functionTypeIMG.ImageBtn.MouseUpEventHandler += ShowSameTypeFunction;
-                    functionTypeIMG.NameBtn.MouseUpEventHandler += ShowSameTypeFunction;
-                    functionTypeIMG.ImageBG.MouseUpEventHandler += ShowSameTypeFunction;
+                    functionTypeIMG.ClickBtn.MouseUpEventHandler += ShowSameTypeFunction;
+
 
                     if (deviceType == Shared.Common.Room.AllRoomDeviceUIList[0].CommonDevice.Type)
                     {
@@ -320,7 +317,6 @@
         private void ShowSameTypeFunction(object typeSender, MouseEventArgs mouseEventArgs)
         {
             //閫夋嫨鍔熻兘--鐩存帴浠庢埧闂寸殑devicelist涓幏鍙�
-            Shared.Common.Room.GetAllRoomDeviceUIList();
             tempFunctionTypeBtn.IsSelected = false;
             tempFunctionTypeBtn = (typeSender as Button).Parent as FunctionButton;
             ((typeSender as Button).Parent as FunctionButton).IsSelected = true;

--
Gitblit v1.8.0