From 0f5d7d18f98d6d961b3d21dc2b1b59905e261fff Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 23 二月 2021 17:09:17 +0800 Subject: [PATCH] 20210223-1 --- HDL_ON/Common/HDLCommon.cs | 29 ++++++++++++++++++++--------- 1 files changed, 20 insertions(+), 9 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index e784943..0480e9f 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -296,6 +296,23 @@ /// </summary> public void CheckLogout() { + //娴嬭瘯璐﹀彿锛屼笉鎸や笅绾� + switch (UserInfo.Current.AccountString) + { + case "13415629083": + case "18316120654": + case "15622703419": + case "18824864143": + case "464027401@qq.com": + case "2791308028@qq.com": + case "13697499568": + case "18666455392": + case "13375012446": + case "13602944661": + case "18778381374": + return; + } + //鏈櫥褰曚笉鐢ㄥ鐞� if (!UserInfo.Current.IsLogin) return; @@ -449,19 +466,13 @@ { MainPage.Log($"缃戠粶鐘舵�佸彉鍖栵紝褰撳墠缃戠粶:{internetStatus} 鏄惁鍚庡彴:{IsEnterBackground.ToString()}"); //缃戠粶鐘舵�佸彉鍖� 閲嶇疆缃戝叧鐘舵�侀噸鏂版悳绱� - Control.Ins.GatewayOnline = false; + Control.Ins.GatewayOnline_Cloud = false; + Control.Ins.GatewayOnline_Local = false; - //缃戠粶鍙樺寲锛屾柇寮�閲嶈繛涓�娆� - if (Control.Ins.IsRemote) - { - Control.Ins.IsRemote = false; - DAL.Mqtt.MqttClient.DisConnectRemote("UpdateInternetStatus", false); - } + DAL.Mqtt.MqttClient.DisConnectRemote("UpdateInternetStatus", false); if (internetStatus == 0)//娌℃湁缃戠粶杩炴帴 0 { - Control.Ins.GatewayOnline = false; - Control.Ins.IsRemote = false; MainPage.InternetStatus = 0; } else if (internetStatus == 1)//3,4G鐨勭綉缁滆繛鎺� 1 -- Gitblit v1.8.0