From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 28 四月 2020 15:02:44 +0800
Subject: [PATCH] 2020-04-28-1

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceRoomControl.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceRoomControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceRoomControl.cs
index 1bb995a..f6e6474 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceRoomControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/DeviceControls/DeviceRoomControl.cs
@@ -114,7 +114,7 @@
             frameTable.AddChidren(btnRoom, ChidrenBindMode.BindEventOnly);
             if (tempDevice != null)
             {
-                btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(tempDevice);
+                btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(tempDevice);
             }
             else
             {
@@ -140,7 +140,7 @@
                 return;
             }
             btnDevie.Text = Common.LocalDevice.Current.GetDeviceEpointName(tempDevice);
-            btnRoom.Text = Common.Room.CurrentRoom.GetRoomNameByDevice(tempDevice);
+            btnRoom.Text = HdlRoomLogic.Current.GetRoomNameByDevice(tempDevice);
 
             string unSelectPath = string.Empty;
             string selectPath = string.Empty;

--
Gitblit v1.8.0