From 5bfb959c47017825c8cf7dc8570c55b04dab694c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 09 六月 2021 16:42:11 +0800
Subject: [PATCH] Merge branch 'dev-tzy' into wxr6

---
 HDL_ON/DAL/DriverLayer/Control.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs
index df2a183..981f284 100644
--- a/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/HDL_ON/DAL/DriverLayer/Control.cs
@@ -602,8 +602,7 @@
                     }
                 }
 
-                MainPage.Log($"灞�鍩熺綉淇℃伅: {receiveObj.Topic}");
-                MainPage.Log($"鍐呭: {res[1]}");
+                MainPage.Log($"灞�鍩熺綉淇℃伅: {receiveObj.Topic}  : 鍐呭: {res[1]}");
 
 
                 //楠岃瘉鏈夋晥鏁版嵁闀垮害
@@ -623,7 +622,7 @@
                     }
 
                     var device = Newtonsoft.Json.JsonConvert.DeserializeObject<DeviceModule>(bodyJObj.objects.ToString());
-                    if (device.device_mac == DB_ResidenceData.Instance.residenceGatewayMAC)
+                    if (device.device_mac.ToUpper() == DB_ResidenceData.Instance.HomeGateway.mac.ToUpper())
                     {
                         MainPage.Log("鏈湴鎼滅储缃戝叧鎴愬姛");
                         Ins.IsSearchLocalGatewaySuccessful = true;

--
Gitblit v1.8.0