From 0087dd7734e71dfcfd1bb54db394ad7855021ffd Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 24 七月 2020 10:18:08 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlWifiLogic.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlWifiLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlWifiLogic.cs index 37fe00a..1f3fe59 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlWifiLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlWifiLogic.cs @@ -411,11 +411,14 @@ } //閲嶆柊鍒濆鍖朣ocket ZigBee.Common.Application.FindGateWaySocket.Stop(); + System.Threading.Thread.Sleep(100); + //鏂帀鏈湴杩炴帴 - HdlGatewayLogic.Current.ClearAllRealGateway(); + HdlGatewayLogic.Current.ClearAllRealGatewayConection(true); //鏂帀杩滅▼ ZigBee.Device.ZbGateway.DisConnectRemoteMqttClient(); + //濡傛灉鏄痺ifi if (value == 2) { ZigBee.Common.Application.FindGateWaySocket.Start(); -- Gitblit v1.8.0