From a61775710f8c4466db5bfce58af58f886d58edf3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 14 十二月 2022 10:04:06 +0800 Subject: [PATCH] 备份 --- SmartHome/UI/SimpleControl/Phone/System/RemoteOnePort.cs | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/SmartHome/UI/SimpleControl/Phone/System/RemoteOnePort.cs b/SmartHome/UI/SimpleControl/Phone/System/RemoteOnePort.cs index a9313a6..75324e4 100644 --- a/SmartHome/UI/SimpleControl/Phone/System/RemoteOnePort.cs +++ b/SmartHome/UI/SimpleControl/Phone/System/RemoteOnePort.cs @@ -178,7 +178,7 @@ userNameView.AddChidren (tvUserName); var btnLine = new Button () { - Height = Application.GetRealHeight (1), + Height = Application.GetRealHeight (2), BackgroundColor = SkinStyle.Current.LineColor, }; infoView.AddChidren (btnLine); @@ -211,7 +211,7 @@ projectNameView.AddChidren (tvProjectName); var btnLine1 = new Button () { - Height = Application.GetRealHeight (1), + Height = Application.GetRealHeight (2), BackgroundColor = SkinStyle.Current.LineColor, }; infoView.AddChidren (btnLine1); @@ -242,7 +242,7 @@ passwrodView.AddChidren (tvPassword); var btnLine2 = new Button () { - Height = Application.GetRealHeight (1), + Height = Application.GetRealHeight (2), BackgroundColor = SkinStyle.Current.LineColor, }; infoView.AddChidren (btnLine2); @@ -322,7 +322,6 @@ CommonPage.RandomHigh = (byte)new Random ().Next (255); CommonPage.RandomLow = (byte)new Random ().Next (255); CommonPage.GateWayList.Clear (); - CommonPage.FindGateway = true; //濡傛灉涓ゆ閮芥病鏈夋暟鎹弽棣堬紝灏变笉璇诲彇 int readCount = 2; while (0 < readCount) { @@ -360,7 +359,6 @@ readCount = 2; } } - CommonPage.FindGateway = false; Application.RunOnMainThread (() => { @@ -380,10 +378,9 @@ } else { CommonPage.IsRemote = false; Application.RunOnMainThread (() => { - MainPage.Loading.Hide (); - infoView.AddChidren (rightButton1); rightButton1.Text = linkResult; rightButton1.TextColor = 0x99ff0000; + MainPage.Loading.Hide (); }); } }) { IsBackground = true }.Start (); @@ -517,9 +514,6 @@ } -#if DEBUG - return; -#endif var mobytes = Control.ControlBytesSendHasReturn (Command.SetGateWayModelInternetInfo, common.SubnetID, common.DeviceID, serverIPBytes); if (mobytes == null || mobytes [0] == 0xF5) { Application.RunOnMainThread (() => { -- Gitblit v1.8.0