From f8343a2e765eefe10c8a0d6bdd6db65b0cf0321c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期六, 06 五月 2023 15:33:30 +0800
Subject: [PATCH] 灯光延时

---
 HDL-ON_iOS/AppDelegate.cs |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 59258cf..9064edf 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -262,7 +262,7 @@
                 {
                     Language.CurrentLanguage = "russian";
                 }
-                else if (NSLocale.PreferredLanguages[0].Contains( "bul"))
+                else if (NSLocale.PreferredLanguages[0].Contains("bul"))
                 {
                     Language.CurrentLanguage = "斜褗谢谐邪褉褋泻懈";
                 }
@@ -290,7 +290,7 @@
             Console.WriteLine("111111111111");
             SetCurrentLanguage();
             //Shared.Application.FontSize = 12;
-            //Bugly.Bugly.StartWithAppId("b58fb35436");
+            Bugly.Bugly.StartWithAppId("b58fb35436");
             //鍙栨秷EditText榛樿瀵嗙爜杈撳叆鏂瑰紡
             //Shared.Application.IsEditTextContentTypePassword = false;
             //榛樿浣跨敤鑻规柟瀛椾綋
@@ -327,10 +327,11 @@
             return true;
         }
 
-        /// <summary>
-        /// 澶勭悊閫氱煡娑堟伅
-        /// </summary>
-        void HandleNotificationMessageUserInfo(NSDictionary userInfo, bool bFinishedLaunching)
+        
+            /// <summary>
+            /// 澶勭悊閫氱煡娑堟伅
+            /// </summary>
+            void HandleNotificationMessageUserInfo(NSDictionary userInfo, bool bFinishedLaunching)
         {
             try
             {
@@ -496,6 +497,10 @@
 
             MainPage.IsEnterBackground = false;
             HDL_ON.DriverLayer.UdpSocket._BusSocket.Start();
+            //閲嶈繛mqtt闃叉mqtt杩涘叆鍋囨鐘舵�� 2023-05-03 22:55:12 wxr
+            HDL_ON.DAL.Mqtt.MqttClient.InitState();
+
+
             new AppUnlockPage().LoadPage();
             UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
             HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();

--
Gitblit v1.8.0