src/Bro.Common.Model/Forms/FrmDeviceOpConfigEditor.cs
@@ -29,7 +29,7 @@ IOperationConfig backOpConfig = new OperationConfigBase(); List<IDevice> deviceList = null; IDevice currentDevice = null; public FrmDeviceOpConfigEditor(DeviceOpBind bind) public FrmDeviceOpConfigEditor(DeviceOpBind bind, bool isEnableSelectDevice = true) { InitializeComponent(); @@ -56,7 +56,15 @@ cboDevice.SelectedIndex = 0; } if (isEnableSelectDevice) { cboDevice.Enabled = true; cboDevice.SelectedIndexChanged += CboDevice_SelectedIndexChanged; } else { cboDevice.Enabled = false; } if (bind.OpConfig == null) {