From 38ab16c66df6fc523f2c385fd583a2f2e86a781c Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 29 四月 2020 17:58:45 +0800
Subject: [PATCH] 2020-4-29-1

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
index ccccd7c..1685d91 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Bind/AddDevicePage.cs
@@ -234,8 +234,8 @@
                 }
             }
             else
-            {
-                // 鑾峰彇妤煎眰瀵瑰簲瀵规埧闂�
+            {
+                // 鑾峰彇妤煎眰瀵瑰簲瀵规埧闂�
                 var listAllRoom = HdlRoomLogic.Current.GetAllListRooms();
                 foreach (var room in listAllRoom)
                 {
@@ -453,7 +453,7 @@
         /// <returns></returns>
         List<CommonDevice> GetALlDispalyRoomDeviceList()
         {
-            currentKeyAllRoomDeviceList.Clear();
+            currentKeyAllRoomDeviceList.Clear();
             var listAllRoom = HdlRoomLogic.Current.GetAllListRooms();
             switch (curDeviceBindType)
             {
@@ -492,7 +492,7 @@
                         if (r.IsLove == true)
                         {
                             continue;
-                        }
+                        }
                         foreach (var deviceKeys in r.ListDevice)
                         {
                             var device = LocalDevice.Current.GetDevice(deviceKeys);
@@ -548,9 +548,9 @@
             switch (curDeviceBindType)
             {
                 case "AddSwitch":
-                    foreach (var deviceKeys in curRoom.ListDevice)
-                    {
-                        var device = LocalDevice.Current.GetDevice(deviceKeys);
+                    foreach (var deviceKeys in curRoom.ListDevice)
+                    {
+                        var device = LocalDevice.Current.GetDevice(deviceKeys);
                         if (device != null)
                         {
                             var dev = device.InClusterList.Find(obj => (obj != null) && (obj.InCluster == 6));
@@ -561,10 +561,10 @@
                         }
                     }
                     break;
-                case "AddDimmer":
-                    foreach (var deviceKeys in curRoom.ListDevice)
-                    {
-                        var device = LocalDevice.Current.GetDevice(deviceKeys);
+                case "AddDimmer":
+                    foreach (var deviceKeys in curRoom.ListDevice)
+                    {
+                        var device = LocalDevice.Current.GetDevice(deviceKeys);
                         if (device != null)
                         {
                             var dev = device.InClusterList.Find(obj => (obj != null) && (obj.InCluster == 8));
@@ -575,10 +575,10 @@
                         }
                     }
                     break;
-                case "AddCurtain":
-                    foreach (var deviceKeys in curRoom.ListDevice)
-                    {
-                        var device = LocalDevice.Current.GetDevice(deviceKeys);
+                case "AddCurtain":
+                    foreach (var deviceKeys in curRoom.ListDevice)
+                    {
+                        var device = LocalDevice.Current.GetDevice(deviceKeys);
                         if (device != null)
                         {
                             var dev = device.InClusterList.Find(obj => (obj != null) && (obj.InCluster == 258));
@@ -839,9 +839,9 @@
                         btnMethodText.IsSelected = true;
                         oldbuttonText.TextColor = Shared.Common.ZigbeeColor.Current.XMBlack;
                         oldbuttonText.IsBold = true;
-                    }
-
-                    //鑾峰彇妤煎眰瀵瑰簲鐨勬埧闂�
+                    }
+
+                    //鑾峰彇妤煎眰瀵瑰簲鐨勬埧闂�
                     var listAllRoom = HdlRoomLogic.Current.GetAllListRooms();
                     foreach (var room in listAllRoom)
                     {

--
Gitblit v1.8.0