From 301d3f15ba03ff942c029bd4c0b1ff544f7cfede Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 30 十二月 2020 11:19:48 +0800
Subject: [PATCH] 2020-12-30 1.解决RGB灯,色盘ColorPicker部分安卓手机,刷新图片时会变小问题

---
 HDL_ON/DAL/DriverLayer/Packet.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/DriverLayer/Packet.cs b/HDL_ON/DAL/DriverLayer/Packet.cs
index f229efc..a1d7c74 100644
--- a/HDL_ON/DAL/DriverLayer/Packet.cs
+++ b/HDL_ON/DAL/DriverLayer/Packet.cs
@@ -91,6 +91,14 @@
                 }
                 //澶勭悊鎺ユ敹鍒扮殑鏁版嵁
                 UdpPacket_DataProcessing(subnetID, deviceID, command, usefulBytes);
+#if DEBUG
+                string ddd = "";
+                foreach(var bb in usefulBytes)
+                {
+                    ddd += bb + ",";
+                }
+                MainPage.Log(ddd);
+#endif
                 //澶勭悊鏄惁瑕侀噸鍙戞暟鎹�
                 ManagerReceive(subnetID, deviceID, command, usefulBytes);
             }
@@ -572,6 +580,8 @@
                         MainPage.Log($"name : {Name} ; mac : {mac}");
                         if (DB_ResidenceData.Instance.residenceGatewayMAC == mac)
                         {
+                            //鏈湴鎼滅储缃戝叧鎴愬姛
+                            Control.Ins.IsSearchLocalGatewaySuccessful = true;
                             Control.Ins.GatewayOnline = true;
                             Control.Ins.IsRemote = false;
                             DAL.Mqtt.MqttClient.DisConnectRemote();//鏂紑mqtt

--
Gitblit v1.8.0