| | |
| | | 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;
|
| | |
| | | //发送定位命令
|
| | | HdlGatewayLogic.Current.SetFixedPositionCommand(i_gateway);
|
| | | };
|
| | | gatewayRow.frameTable.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new GatewayManage.GatewayInfoEditorForm();
|
| | | form.AddForm(i_gateway);
|
| | | };
|
| | | }
|
| | |
|
| | | #endregion
|