From ed2f4a97aa48cdb4a013d2a389877f52eb3eccdf Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 29 十月 2019 13:15:59 +0800
Subject: [PATCH] Merge branch 'DEV_GXC' of http://172.16.1.23:6688/r/~xm/HomeApp into DEV_GXC

---
 ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs b/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs
old mode 100755
new mode 100644
index 3e280d9..54e4f18
--- a/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs
@@ -475,12 +475,12 @@
             //collection
             if ((sender as Button).IsSelected)
             {
-                Shared.Common.Room.GetLoveRoom().DeleteDevice(device.FileName);
+                Shared.Common.Room.CurrentRoom.GetLoveRoom().DeleteDevice(device.FileName);
                 (sender as Button).IsSelected = false;
             }
             else
             {
-                Shared.Common.Room.GetLoveRoom().AddDevice(device.FileName);
+                Shared.Common.Room.CurrentRoom.GetLoveRoom().AddDevice(device.FileName);
                 (sender as Button).IsSelected = true;
             }
         }

--
Gitblit v1.8.0