qin
2025-03-20 330002911a64ea58d6834b64228870228eb75391
WinFrmUI/PBS.WinFrmUI.IBox/ChoiceFacilityDlg.cs
@@ -42,14 +42,14 @@
            {
                return;
            }
            IBoxHelper.ConnectionAddress = this.TxtConnectionAddress.Text;
            IBoxHelper.ConnectionType = (eConnectionType)this.imageComboxConnectType.EditValue;
            if (IBoxHelper.Ping())
            {
                VisibleChanged.Invoke(true);
                IBoxHelper.ConnectionAddress = null;
                IBoxHelper.ConnectionType = eConnectionType.Bluetooth;
            }
            this.Close();
        }
         }
        private async void imageComboBoxEdit1_SelectedIndexChanged(object sender, EventArgs e)
        {
@@ -58,7 +58,7 @@
            {
                var model = await new PBS.BLL.Facility().GetByID((long)select);
                this.imageComboxConnectType.EditValue = model.ConnectionType;
                this.TxtConnectionAddress.Text = model.IPAddress;
                this.TxtConnectionAddress.Text = model.ConnectionAddress;
            }
        }
    }