From b6655c930866fadf3275587f4c692aa658bd9b21 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 24 六月 2020 10:57:07 +0800 Subject: [PATCH] 2020-06-24 1. 修改网络请求方法,改为HttpWebRequest支持自定义超时时间,默认10S。 2.后台回前台,超过20S断开远程重新连接。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Music/A31WifiPassword.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Music/A31WifiPassword.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Music/A31WifiPassword.cs index 960a7bb..dc83504 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Music/A31WifiPassword.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Music/A31WifiPassword.cs @@ -83,9 +83,9 @@ TextAlignment = TextAlignment.CenterLeft, //Radius = (uint)Application.GetRealHeight(6), //BackgroundColor = SkinStyle.Current.MusicEditTextBackgroundColor, - PlaceholderText="Wi-Fi password", - Text=pas==""? "":pas, PlaceholderTextColor = SkinStyle.Current.MusicEditTextPlaceholderTextColor, + PlaceholderText ="Wi-Fi password", + Text=pas==""? "":pas, TextColor = SkinStyle.Current.MusicTextColor, BorderWidth = 1, BorderColor = SkinStyle.Current.MusicEditBorderColor, @@ -156,7 +156,7 @@ var webClient = new Shared.Net.MyWebClient (4000); return webClient.DownloadString (url); } catch (Exception e) { - System.Console.WriteLine (e.Message); + Utlis.WriteLine (e.Message); return null; } } -- Gitblit v1.8.0