From e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 09 十二月 2020 18:50:14 +0800 Subject: [PATCH] 2020-12-09 1.信息中心,增加下划线和点击Alter提醒详情。 --- HDL-ON_iOS/ViewController.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/HDL-ON_iOS/ViewController.cs b/HDL-ON_iOS/ViewController.cs index 221887a..2f9ac1c 100644 --- a/HDL-ON_iOS/ViewController.cs +++ b/HDL-ON_iOS/ViewController.cs @@ -2,6 +2,7 @@ using CoreLocation; using Foundation; using HDL_ON; +using HDL_ON.DriverLayer; using Shared; using UIKit; @@ -74,12 +75,16 @@ internetStatus = Reachability.InternetConnectionStatus(); if (internetStatus == NetworkStatus.NotReachable)//娌℃湁缃戠粶杩炴帴 0 { + Control.Ins.GatewayOnline = false; + Control.Ins.IsRemote = false; } else if (internetStatus == NetworkStatus.ReachableViaCarrierDataNetwork)//3,4G鐨勭綉缁滆繛鎺� 1 { + Control.Ins.SearchLoaclGateway(); } else if (internetStatus == NetworkStatus.ReachableViaWiFiNetwork) - { //wifi鐨勭綉缁滆繛鎺� 2 + { + Control.Ins.SearchLoaclGateway(); } } } -- Gitblit v1.8.0