wxr
2021-02-23 34d49c20c2c2543658e844847c5eaa87f4c954e9
HDL-ON_iOS/AppDelegate.cs
@@ -202,7 +202,7 @@
        {
            Console.WriteLine("OnActivated");
            base.OnActivated(application);
            HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();
            //HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();
            //if (haveToSignOut == true)
            //{
@@ -282,6 +282,11 @@
            //Harpy.Harpy.SharedInstance.AlertType = Harpy.HarpyAlertType.Skip;
            //Harpy.Harpy.SharedInstance.DebugEnabled = false;
            //Harpy.Harpy.SharedInstance.ForceLanguageLocalization = Harpy.Constants.HarpyLanguageChineseSimplified;
            //中文国内key、英文海外key
            EZSDK.IOS.EZSDK.InitLibWithAppKey("1aa98a90489b4838b966b57018b4b04b", "1aa98a90489b4838b966b57018b4b04b");
            Console.WriteLine("FinishedLaunching");
            return true;
        }
@@ -415,7 +420,7 @@
            if (CloseTime.AddSeconds(10) < DateTime.Now)
            {
                //后台超过10s就断开MQTT重连
                if (HDL_ON.DriverLayer.Control.Ins.IsRemote)
                //if (HDL_ON.DriverLayer.Control.Ins.IsRemote)
                {
                    HDL_ON.DAL.Mqtt.MqttClient.DisConnectRemote("closeTime", false);
                }