wxr
2022-12-14 a61775710f8c4466db5bfce58af58f886d58edf3
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 (() => {