From 98ceb6bd2021f9ff136cda27eef28676dd7b5d92 Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期四, 21 五月 2020 13:24:02 +0800
Subject: [PATCH] 最后的版本

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

diff --git a/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs b/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
index e1f77c9..330f836 100755
--- a/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
+++ b/ZigbeeApp/Shared/Phone/MainPage/UnallocatedRoomForm.cs
@@ -18,7 +18,7 @@
         /// <summary>
         /// 娣诲姞鍒� 鐨勮儗鏅浘鎺т欢
         /// </summary>
-        private FrameLayoutControl frameAddBackGroud = null;
+        private FrameLayoutStatuControl frameAddBackGroud = null;
         /// <summary>
         /// 鍔熻兘鐨勬甯冩帶浠�
         /// </summary>
@@ -193,7 +193,7 @@
                     frameContr.CollectEvent += (collect) =>
                     {
                         //濡傛灉褰撳墠鏄敹钘忔埧闂�,鍒欓渶瑕佸埛鏂颁富椤�
-                        if (HdlRoomLogic.Current.CurrentRoom.IsLove == true)
+                        if (HdlRoomLogic.Current.NowMainPageRoom.IsLove == true)
                         {
                             this.dataHadChanged = true;
                         }
@@ -510,7 +510,7 @@
         private void InitAddToControl()
         {
             //娣诲姞鍒� 鐨勮儗鏅浘鎺т欢
-            this.frameAddBackGroud = new FrameLayoutControl();
+            this.frameAddBackGroud = new FrameLayoutStatuControl();
             frameAddBackGroud.UseClickStatu = false;
             frameAddBackGroud.Height = Application.GetRealHeight(202);
             frameAddBackGroud.Gravity = Gravity.BottomCenter;
@@ -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