黄学彪
2020-04-13 3793a9a38ac6c4c4111c2bba3a35a71c30601e82
ZigbeeApp/Shared/Phone/UserCenter/Gateway/Manage/GatewayListForm.cs
@@ -136,6 +136,13 @@
            //单击事件
            gatewayRow.frameTable.ButtonClickEvent += (sender, e) =>
            {
                if (UserCenterResourse.HideOption.GotoGatewayProductInfoForm == 1)
                {
                    //强制跳转
                    var form2 = new GatewayProductInfoForm();
                    form2.AddForm(gateway);
                    return;
                }
                var form = new GatewayInfoEditorForm();
                form.AddForm(gateway);
            };
@@ -172,13 +179,8 @@
            };
            //定位
            var btnPosition = new NormalViewControl(Application.GetRealWidth(184), gatewayRow.Height, false);
            btnPosition.BackgroundColor = 0xff4a4a4a;
            btnPosition.TextAlignment = TextAlignment.Center;
            btnPosition.TextColor = UserCenterColor.Current.White;
            btnPosition.TextSize = 12;
            var btnPosition = gatewayRow.AddEditorControl(false);
            btnPosition.TextID = R.MyInternationalizationString.uFixedPosition;
            gatewayRow.AddRightView(btnPosition);
            btnPosition.ButtonClickEvent += (sender, e) =>
            {
                //发送定位命令