|
|
@@ -68,7 +68,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
|
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -84,7 +83,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -488,7 +486,6 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewCommandSet
|
|
|
//
|
|
|
this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE,
|
|
|
this.dc_id,
|
|
|
this.dc_code,
|
|
|
this.dc_name,
|
|
|
@@ -497,15 +494,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewCommandSet.IndicatorWidth = 30;
|
|
|
this.GridViewCommandSet.Name = "GridViewCommandSet";
|
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelect = true;
|
|
|
- //
|
|
|
- // GRIDVIEWCOMMANDSETCHOOSE
|
|
|
- //
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.Caption = "勾选";
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.ColumnEdit = this.CheckEditCommandSet;
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.FieldName = "GRIDVIEWCOMMANDSETCHOOSE";
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.Name = "GRIDVIEWCOMMANDSETCHOOSE";
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.Visible = true;
|
|
|
- this.GRIDVIEWCOMMANDSETCHOOSE.VisibleIndex = 0;
|
|
|
+ this.GridViewCommandSet.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
|
//
|
|
|
// CheckEditCommandSet
|
|
|
//
|
|
|
@@ -650,7 +639,6 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewPollSetting
|
|
|
//
|
|
|
this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE,
|
|
|
this.dpc_id,
|
|
|
this.dpc_decode,
|
|
|
this.dpc_plcode,
|
|
|
@@ -666,18 +654,9 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewPollSetting.IndicatorWidth = 30;
|
|
|
this.GridViewPollSetting.Name = "GridViewPollSetting";
|
|
|
this.GridViewPollSetting.OptionsSelection.MultiSelect = true;
|
|
|
+ this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
|
this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
|
|
|
//
|
|
|
- // GRIDVIEWPOLLSETTINGCHOOSE
|
|
|
- //
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.Caption = "选择";
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.FieldName = "GRIDVIEWPOLLSETTINGCHOOSE";
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.Name = "GRIDVIEWPOLLSETTINGCHOOSE";
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.Visible = true;
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.VisibleIndex = 0;
|
|
|
- this.GRIDVIEWPOLLSETTINGCHOOSE.Width = 90;
|
|
|
- //
|
|
|
// dpc_enableCheckEdit
|
|
|
//
|
|
|
this.dpc_enableCheckEdit.AutoHeight = false;
|
|
|
@@ -1022,7 +1001,6 @@ namespace UAS_DeviceMonitor
|
|
|
private GridViewWithSerialNum GridViewPollSetting;
|
|
|
private LabelControl Brand_label;
|
|
|
private ComboBoxEdit Brand;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn GRIDVIEWCOMMANDSETCHOOSE;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
|
|
|
@@ -1034,7 +1012,6 @@ namespace UAS_DeviceMonitor
|
|
|
private CustomerControl.Button.ButtonAddRow ButtonNewCommandSet;
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn GRIDVIEWPOLLSETTINGCHOOSE;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
|
|
|
}
|
|
|
}
|