From 2a8a69d99f382bb3f87f8f5c1f6f964bc4f26a2b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 17 十二月 2020 16:18:07 +0800
Subject: [PATCH] 2020-12-17 1.增加错误码
---
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