gxc
2020-02-28 66a9965c44ecc32a6696abca876ab9d1cd091584
ZigbeeApp/Shared/Phone/UserCenter/HideOption/HideOptionGatewayListForm.cs
@@ -107,6 +107,13 @@
                gatewayRow.frameTable.AddBottomLine();
            }
            var btnLink = new NormalViewControl(Application.GetRealWidth(700), gatewayRow.btnIp.Height, false);
            btnLink.TextSize = 12;
            btnLink.X = gatewayRow.btnIp.Right;
            btnLink.Y = gatewayRow.btnIp.Y;
            btnLink.Text = "本地连接:" + i_gateway.localIsConnected.ToString();
            gatewayRow.frameTable.AddChidren(btnLink);
            //定位
            var btnPosition = new NormalViewControl(Application.GetRealWidth(184), gatewayRow.Height, false);
            btnPosition.BackgroundColor = 0xff4a4a4a;
@@ -120,6 +127,11 @@
                //发送定位命令
                HdlGatewayLogic.Current.SetFixedPositionCommand(i_gateway);
            };
            gatewayRow.frameTable.ButtonClickEvent += (sender, e) =>
            {
                var form = new GatewayManage.GatewayInfoEditorForm();
                form.AddForm(i_gateway);
            };
        }
        #endregion