From 334daf8dc48d6798524162228ae9cbe221773010 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 22 十二月 2020 13:55:15 +0800
Subject: [PATCH] Merge branch 'NewFilePath' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into NewFilePath

---
 HDL_ON/Common/HDLCommon.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 4b70eb3..78e05e0 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -450,9 +450,16 @@
             //缃戠粶鐘舵�佸彉鍖� 閲嶇疆缃戝叧鐘舵�侀噸鏂版悳绱�
             Control.Ins.GatewayOnline = false;
 
+            //缃戠粶鍙樺寲锛屾柇寮�閲嶈繛涓�娆�
+            if (Control.Ins.IsRemote)
+            {
+                Control.Ins.IsRemote = false;
+                DAL.Mqtt.MqttClient.DisConnectRemote("UpdateInternetStatus", false);
+            }
+
             if (internetStatus == 0)//娌℃湁缃戠粶杩炴帴 0
             {
-                //Control.Ins.GatewayOnline = false;
+                Control.Ins.GatewayOnline = false;
                 Control.Ins.IsRemote = false;
                 MainPage.InternetStatus = 0;
             }

--
Gitblit v1.8.0