From 0bf9e65bc3ba98391e7835c922b15baab3c77876 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 01 六月 2020 14:59:39 +0800
Subject: [PATCH] 上传一个合并的版本

---
 ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs b/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
index 81d6f2a..e6b064b 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
@@ -176,7 +176,7 @@
                 SceneBodyTableControl.AddChidren(listSceneView);
 
                 var listScene = HdlSceneLogic.Current.GetUnalloctedScenes();
-                if (listScene == null || listScene.Count == 0) { return; }
+                if (listScene.Count == 0) { return; }
 
                 foreach (var data in listScene)
                 {
@@ -193,7 +193,7 @@
                     frameContr.CollectEvent += (collect) =>
                     {
                         //濡傛灉褰撳墠鏄敹钘忔埧闂�,鍒欓渶瑕佸埛鏂颁富椤�
-                        if (HdlRoomLogic.Current.CurrentRoom.IsLove == true)
+                        if (HdlRoomLogic.Current.NowMainPageRoom.IsLove == true)
                         {
                             this.dataHadChanged = true;
                         }
@@ -536,7 +536,7 @@
                 selectZone.ZoneAction += (selectRoom) =>
                 {
                     //鍙樻洿浜嗗綋鍓嶆埧闂寸殑涓滆タ,涓婚〉闇�瑕佸埛鏂�
-                    if (HdlRoomLogic.Current.CurrentRoom.Id == selectRoom.Id)
+                    if (HdlRoomLogic.Current.NowMainPageRoom.Id == selectRoom.Id)
                     {
                         this.dataHadChanged = true;
                     }
@@ -635,7 +635,7 @@
                     string path1 = string.Empty;
                     string path2 = string.Empty;
                     //鑾峰彇鍥剧墖
-                    Common.LocalDevice.Current.GetDeviceObjectIcon(typeInfo.ConcreteType, ref path1, ref path2);
+                    Common.LocalDevice.Current.GetDeviceFunctionTypeMenuIcon(typeInfo.ConcreteType, ref path1, ref path2);
                     dic[typeInfo.BeloneTextId].IconPath = path1;
                     dic[typeInfo.BeloneTextId].IconPathSelected = path2;
                     dic[typeInfo.BeloneTextId].TextId = typeInfo.BeloneTextId;

--
Gitblit v1.8.0