From 528c105b3aea0e6e00477365f16f57c1e3d7eb1c Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 24 十月 2019 15:31:28 +0800
Subject: [PATCH] 2019-10-24-3

---
 ZigbeeApp/Shared/Phone/Device/Logic/Send.cs |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
index 8e28b4d..348124f 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Send.cs
@@ -454,7 +454,7 @@
                         switch (Type)
                         {
                             case 1: {
-                                  ///
+                                    ///
                                 } break;
                             case 7:
                                 {
@@ -685,12 +685,17 @@
             btnregionname.Text = room.GetRoomNameByDevice(device);
         }
 
+        public static List<Common.Room> GetRoomList(string floorId)
+        {
+            return Common.Room.Lists.FindAll((obj) => obj.FloorId == floorId);
+
+        }
 
         #region  ----鑾峰彇闂ㄩ攣
         public static List<DoorLock> ReadDoorLockIfon(string doorlockMac)
         {
             List<DoorLock> list = new List<DoorLock>();
-            string url = "https://global.hdlcontrol.com/HangZhouHdlCloudApi/App/GetHomePager";
+            string url = "https://global.hdlcontrol.com/HangZhouHdlCloudApi/App/GetHomePager";//瀛愯处鍙峰拰涓昏处鍙峰彲鑳介摼鎺ヤ笉鍚�
             System.Net.WebClient webClient = new System.Net.WebClient();
             System.Collections.Specialized.NameValueCollection postValues = new System.Collections.Specialized.NameValueCollection();
             postValues.Add("RequestVersion", CommonPage.RequestVersion);
@@ -730,7 +735,7 @@
                            }
                            else
                            {
-                               residential.Url = "https://global.hdlcontrol.com/HangZhouHdlCloudApi/App/GetDoorLockPager";
+                               residential.Url = "https://global.hdlcontrol.com/HangZhouHdlCloudApi/DoorLock/GetDoorLockPager";
                                residential.Token = Config.Instance.Token;
                                residential.Id = Config.Instance.HomeId;
                                residential.IsOtherAccountCtrl = false;

--
Gitblit v1.8.0