From 2d414e3b007f750cdad4f9e4a7c04db696bca5e4 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 23 四月 2020 16:13:59 +0800 Subject: [PATCH] 2020-04-23 1.优化远程连接提示,改为Loading方案,防止连接过程用户点击重连图标。 2.点击网络检测图标会判断,是否正在远程连接,如果是,会弹窗提示用户”正在远程连接,是否仍要重新检测“。 3.Help 增加隐藏长按功能,长按后,可以开启远程过程异常弹窗提示。长按后关闭。 --- Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/TemporaryPassword.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/TemporaryPassword.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/TemporaryPassword.cs index e5fb5c0..36ddc9d 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/TemporaryPassword.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/DoorLock/TemporaryPassword.cs @@ -146,9 +146,9 @@ Y = validTimeText.Bottom + Application.GetRealHeight (4), Width = Application.GetRealWidth (450), Height = Application.GetRealHeight (100), + PlaceholderTextColor = 0xffc1c1c1, PlaceholderText = doorLock.VailidTime.ToString (), //Text = doorLock.VailidTime.ToString () , - PlaceholderTextColor = 0xffc1c1c1, TextAlignment = TextAlignment.Center, BorderWidth = 1, Radius = 5, @@ -202,8 +202,8 @@ Height = Application.GetRealHeight (100), X = Application.GetRealWidth (80), Y = validCountText.Bottom + Application.GetRealHeight (10), - PlaceholderText = doorLock.Times, PlaceholderTextColor = 0xffc1c1c1, + PlaceholderText = doorLock.Times, TextAlignment = TextAlignment.Center, BorderWidth = 1, Radius = 5, @@ -378,7 +378,7 @@ System.Threading.Thread.Sleep (6000); var randomNumSet = Control.ControlBytesSendHasReturn (Command.CreatConnection, doorLock.SubnetID, doorLock.DeviceID, new byte [] { 1 }); if (randomNumSet != null) { - Console.WriteLine ("send:" + randomNumSet.ToString ()); + Utlis.WriteLine ("send:" + randomNumSet.ToString ()); byte [] randomBytes = new byte [8]; System.Array.Copy (randomNumSet, 1, randomBytes, 0, 8); var sendBytes = new byte [13]; @@ -444,7 +444,7 @@ try { while (true) { //鎵ц鏂规硶锛堬級 ; - //Console.WriteLine ("ssss333333"); + //Utlis.WriteLine ("ssss333333"); System.Threading.Thread.Sleep (60000);//姣�1鍒嗛挓鍒锋柊涓�娆� 浠ユ绉掍负鍗曚綅 readStatus (doorLock); } -- Gitblit v1.8.0