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/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs index fbaa935..400f3c9 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Alexa/AlexaDeviceListPage.cs @@ -77,7 +77,7 @@ }); } } catch (Exception ex) { - Console.WriteLine (ex.Message); + Utlis.WriteLine (ex.Message); } finally { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); @@ -88,7 +88,7 @@ ItemButton.MouseUpEventHandler += (sender, e) => { Action action = () => { Application.RunOnMainThread (() => { - MainPage.Loading.Start ("please wait..."); + MainPage.Loading.Start ("Please wait..."); }); System.Threading.Tasks.Task.Run (() => { try { @@ -98,7 +98,7 @@ InitDevcieRow (alexaDeviceLista, bodyView); }); } catch (Exception ex) { - Console.WriteLine (ex.Message); + Utlis.WriteLine (ex.Message); } finally { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); @@ -111,7 +111,7 @@ System.Threading.Tasks.Task.Factory.StartNew (() => { try { Application.RunOnMainThread (() => { - MainPage.Loading.Start ("please wait..."); + MainPage.Loading.Start ("Please wait..."); }); foreach (var newDevicePath in roomDeviceFilePathList) { var common = Newtonsoft.Json.JsonConvert.DeserializeObject<Common> (CommonPage.MyEncodingUTF8.GetString (IO.FileUtils.ReadFile (newDevicePath))); @@ -131,7 +131,7 @@ if (!roomDeviceFilePathList.Contains (oldDevicePath)) { DelDevice (oldDevice.Id); - Console.WriteLine ("delDevice " + oldDevice.DeviceName); + Utlis.WriteLine ("delDevice " + oldDevice.DeviceName); } } @@ -372,7 +372,7 @@ }); } catch (Exception ex) { - Console.WriteLine (ex.Message); + Utlis.WriteLine (ex.Message); } finally { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); @@ -384,7 +384,7 @@ System.Threading.Tasks.Task.Factory.StartNew (() => { try { Application.RunOnMainThread (() => { - MainPage.Loading.Start ("please wait..."); + MainPage.Loading.Start ("Please wait..."); }); var tempRoom = new Room (); foreach (var device in alexaDeviceLista) {//鐗规畩澶勭悊鏈嶅姟鍣ㄤ笌鏈湴璁惧绫诲瀷涓嶄竴鏍风殑璁惧 @@ -415,7 +415,7 @@ userDeviceListPage.ShowPage (action, saveAction); }); } catch (Exception ex) { - Console.WriteLine (ex.Message); + Utlis.WriteLine (ex.Message); } finally { Application.RunOnMainThread (() => { MainPage.Loading.Hide (); -- Gitblit v1.8.0