HDL-ON_iOS/AppDelegate.cs
@@ -144,7 +144,7 @@
        {
            Console.WriteLine("OnResignActivation");
            OnAppConfig.Instance.unlockTime = DateTime.Now;
            BusSocket.Stop();
            //BusSocket.Stop();
        }
        public override void DidEnterBackground(UIApplication application)
@@ -157,7 +157,7 @@
        public override void WillEnterForeground(UIApplication application)
        {
            SharedMethod.SharedMethod.IsBackground = false;
            BusSocket.Start(6000);
            //BusSocket.Start();
            new AppUnlockPage().LoadPage();
            Console.WriteLine("WillEnterForeground");
            UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
@@ -198,7 +198,9 @@
            if (MainPage.LoginUser != null && nsCount != MainPage.LoginUser.areaCode.ToString())
            {
                int.TryParse(nsCount,out MainPage.LoginUser.areaCode);
                //int.TryParse(nsCount,out MainPage.LoginUser.areaCode);
                //2020-11-18
                MainPage.LoginUser.areaCode = nsCount;
                OnAppConfig.Instance.SaveUserConfig();
            }
            application.IdleTimerDisabled = true;