From be95e839f40eb3ddf64706b60cba6dfcf4fad5e5 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 03 四月 2020 14:31:44 +0800
Subject: [PATCH] 2020-04-03 1.去掉登录前ping百度域名的网络监测。

---
 Crabtree/ON/Application.cs |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Crabtree/ON/Application.cs b/Crabtree/ON/Application.cs
index 3898983..a79c574 100644
--- a/Crabtree/ON/Application.cs
+++ b/Crabtree/ON/Application.cs
@@ -64,7 +64,7 @@
 
             BaseActivity.BackKeyAction = () => {
                 if (Shared.SimpleControl.MainPage.Loading != null) {
-                    Console.WriteLine (MainPage.Loading.CurStatus);
+                    Utlis.WriteLine (MainPage.Loading.CurStatus);
                     if (Shared.SimpleControl.MainPage.Loading.CurStatus) {
                         Shared.SimpleControl.MainPage.Loading.Hide ();
                         return;
@@ -73,7 +73,7 @@
                 //if(BaseActivity.VerifyDateTime == DateTime.MaxValue) { } else 
                 try {
                     var lastView = Shared.Application.MainPage.GetChildren (Shared.Application.MainPage.ChildrenCount - 1);
-                    Console.WriteLine ("lastView " + lastView);
+                    Utlis.WriteLine ("lastView " + lastView);
                     if (MainPage.Loading.CurStatus) {
                         return;
                     }
@@ -82,26 +82,26 @@
                             BaseActivity.VerifyDateTime = DateTime.MaxValue;
                             return;
                         } else {
-                            Console.WriteLine ("Remove Dialog!!!!");
+                            Utlis.WriteLine ("Remove Dialog!!!!");
                             var lastView2 = Shared.Application.MainPage.GetChildren (Shared.Application.MainPage.ChildrenCount - 2);
                             lastView.RemoveFromParent ();
                             lastView2.RemoveFromParent ();
-                            Console.WriteLine ("Remove Dialog End!!!!");
+                            Utlis.WriteLine ("Remove Dialog End!!!!");
                             BaseActivity.VerifyDateTime = DateTime.MinValue;
                             return;
                         }
                     }
                 } catch (System.Exception ezx) {
-                    Console.WriteLine (ezx.Message);
+                    Utlis.WriteLine (ezx.Message);
                 }
                 if (SharedMethod.SharedMethod.CurPageLayout != null) {
                     if (SharedMethod.SharedMethod.CurPageLayout.ChildrenCount > 1) {
-                        Console.WriteLine ("Remove PageLayout Children!!!!");
+                        Utlis.WriteLine ("Remove PageLayout Children!!!!");
                         SharedMethod.SharedMethod.CurPageLayout.GetChildren (SharedMethod.SharedMethod.CurPageLayout.ChildrenCount - 1).RemoveFromParent ();
-                        Console.WriteLine ("Remove PageLayout Children End!!!!");
+                        Utlis.WriteLine ("Remove PageLayout Children End!!!!");
                         BaseActivity.VerifyDateTime = DateTime.MinValue;
                     } else {
-                        Console.WriteLine ("BaseActivity.VerifyDateTime = DateTime.MaxValue");
+                        Utlis.WriteLine ("BaseActivity.VerifyDateTime = DateTime.MaxValue");
                         BaseActivity.VerifyDateTime = DateTime.MaxValue;
                     }
                 }
@@ -120,7 +120,7 @@
                     UserConfig.Instance.SaveUserConfig ();
                 }
                 BaseActivity.NetworkStateChanged += (int obj) => {
-                    Console.WriteLine ("NetworkStateChanged " + obj);
+                    Utlis.WriteLine ("NetworkStateChanged " + obj);
                     UserConfig.Instance.internetStatus = obj;
                     UserConfig.Instance.SaveUserConfig ();
                     //缃戠粶鍙樺寲閫氱煡
@@ -187,7 +187,7 @@
 
             IsShowTip = true;
             var status = isNetworkAvailable (this);
-            Console.WriteLine ("status!!!" + status);
+            Utlis.WriteLine ("status!!!" + status);
             int internetStatus = 0;
             if (status) {
                 var isWifi = isWifiConnected (this);
@@ -197,7 +197,7 @@
                     internetStatus = 1;
                 }
             }
-            Console.WriteLine ("");
+            Utlis.WriteLine ("");
             Shared.SimpleControl.EquipmentPublicClass.CheckLinkRemote (internetStatus, false);
         }
 

--
Gitblit v1.8.0