From 2a23fbede38fadaf7060510a3cd72a93a8a95ec0 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 18 十二月 2020 17:49:46 +0800
Subject: [PATCH] 2020-12-18-3

---
 HDL-ON_iOS/ViewController.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs
index 2f9ac1c..cb709ac 100644
--- a/HDL-ON_iOS/ViewController.cs
+++ b/HDL-ON_iOS/ViewController.cs
@@ -77,14 +77,17 @@
             {
                 Control.Ins.GatewayOnline = false;
                 Control.Ins.IsRemote = false;
+                MainPage.InternetStatus = 0;
             }
             else if (internetStatus == NetworkStatus.ReachableViaCarrierDataNetwork)//3,4G鐨勭綉缁滆繛鎺� 1
             {
                 Control.Ins.SearchLoaclGateway();
+                MainPage.InternetStatus = 1;
             }
             else if (internetStatus == NetworkStatus.ReachableViaWiFiNetwork)
             {
                 Control.Ins.SearchLoaclGateway();
+                MainPage.InternetStatus = 2;
             }
         }
     }

--
Gitblit v1.8.0