From 454ac814944cf956ff02b84b70ba2ec68e5e5ea1 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 15 一月 2020 19:38:47 +0800 Subject: [PATCH] 2020-01-15 1.优化MQTT连接。 2.增加本地通信加密。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs | 21 ++++++++++++--------- 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs index bdc396d..e231673 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Register/AccountLogin.cs @@ -74,12 +74,14 @@ TextAlignment = TextAlignment.CenterLeft, Radius = (uint)Application.GetRealHeight (0), TextColor = SkinStyle.Current.TextColor1, - //Text = account, -#if DEBUG - //Text = "18926269190@189.cn" - Text = "721343314@qq.com" -#endif + Text = account, + }; +#if DEBUG + //Text = "18926269190@189.cn" + etAccount.Text = "721343314@qq.com"; +#endif + accountView.AddChidren (etAccount); var userConfigBytes = IO.FileUtils.ReadFile ("AccountListDB"); @@ -121,11 +123,12 @@ TextAlignment = TextAlignment.CenterLeft, SecureTextEntry = true, TextColor = SkinStyle.Current.TextColor1, -#if DEBUG - Text = "123456" -#endif - //Text = password, + + Text = password, }; +#if DEBUG + etPasswrod.Text = "123456"; +#endif passwrodView.AddChidren (etPasswrod); Button btnShowPassword = new Button () { -- Gitblit v1.8.0