|
@@ -68,11 +68,11 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
|
|
this.ButtonSaveCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonSaveGrid();
|
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
this.GridCommandSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
this.GridViewCommandSet = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
- this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dc_command = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
|
|
+ this.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
|
|
this.PageDeviceKind = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
this.PageDeviceStatus = new DevExpress.XtraTab.XtraTabPage();
|
|
|
this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
|
|
this.PagePollingSetting = new DevExpress.XtraTab.XtraTabPage();
|
|
@@ -83,6 +83,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
|
|
this.ButtonStartPolling = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
this.GridPollingSetting = new UAS_DeviceMonitor.CustomerControl.AutoDataGridControl.AutoDataGridControl();
|
|
|
this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
this.GridViewPollSetting = new UAS_DeviceMonitor.CustomerControl.GridViewWithSerialNum.GridViewWithSerialNum();
|
|
|
|
|
+ this.COLUMNCHECKED = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dpc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.dpc_decode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
@@ -496,12 +497,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelect = true;
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelect = true;
|
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
|
//
|
|
//
|
|
|
- // CheckEditCommandSet
|
|
|
|
|
- //
|
|
|
|
|
- this.CheckEditCommandSet.AutoHeight = false;
|
|
|
|
|
- this.CheckEditCommandSet.Name = "CheckEditCommandSet";
|
|
|
|
|
- this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
|
|
- //
|
|
|
|
|
// dc_id
|
|
// dc_id
|
|
|
//
|
|
//
|
|
|
this.dc_id.FieldName = "DC_ID";
|
|
this.dc_id.FieldName = "DC_ID";
|
|
@@ -534,6 +529,12 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_command.VisibleIndex = 3;
|
|
this.dc_command.VisibleIndex = 3;
|
|
|
this.dc_command.Width = 768;
|
|
this.dc_command.Width = 768;
|
|
|
//
|
|
//
|
|
|
|
|
+ // CheckEditCommandSet
|
|
|
|
|
+ //
|
|
|
|
|
+ this.CheckEditCommandSet.AutoHeight = false;
|
|
|
|
|
+ this.CheckEditCommandSet.Name = "CheckEditCommandSet";
|
|
|
|
|
+ this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
|
|
+ //
|
|
|
// PageDeviceKind
|
|
// PageDeviceKind
|
|
|
//
|
|
//
|
|
|
this.PageDeviceKind.Name = "PageDeviceKind";
|
|
this.PageDeviceKind.Name = "PageDeviceKind";
|
|
@@ -639,6 +640,7 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewPollSetting
|
|
// GridViewPollSetting
|
|
|
//
|
|
//
|
|
|
this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
|
|
+ this.COLUMNCHECKED,
|
|
|
this.dpc_id,
|
|
this.dpc_id,
|
|
|
this.dpc_decode,
|
|
this.dpc_decode,
|
|
|
this.dpc_plcode,
|
|
this.dpc_plcode,
|
|
@@ -653,10 +655,21 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewPollSetting.GridControl = this.GridPollingSetting;
|
|
this.GridViewPollSetting.GridControl = this.GridPollingSetting;
|
|
|
this.GridViewPollSetting.IndicatorWidth = 30;
|
|
this.GridViewPollSetting.IndicatorWidth = 30;
|
|
|
this.GridViewPollSetting.Name = "GridViewPollSetting";
|
|
this.GridViewPollSetting.Name = "GridViewPollSetting";
|
|
|
- this.GridViewPollSetting.OptionsSelection.MultiSelect = true;
|
|
|
|
|
this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
this.GridViewPollSetting.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
|
|
|
this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
|
|
this.GridViewPollSetting.CellValueChanging += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewPollSetting_CellValueChanging);
|
|
|
//
|
|
//
|
|
|
|
|
+ // COLUMNCHECKED
|
|
|
|
|
+ //
|
|
|
|
|
+ this.COLUMNCHECKED.Caption = " ";
|
|
|
|
|
+ this.COLUMNCHECKED.ColumnEdit = this.dpc_enableCheckEdit;
|
|
|
|
|
+ this.COLUMNCHECKED.FieldName = "COLUMNCHECKED";
|
|
|
|
|
+ this.COLUMNCHECKED.Name = "COLUMNCHECKED";
|
|
|
|
|
+ this.COLUMNCHECKED.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
|
|
|
|
|
+ this.COLUMNCHECKED.OptionsFilter.AllowFilter = false;
|
|
|
|
|
+ this.COLUMNCHECKED.Tag = "0";
|
|
|
|
|
+ this.COLUMNCHECKED.Visible = true;
|
|
|
|
|
+ this.COLUMNCHECKED.VisibleIndex = 0;
|
|
|
|
|
+ //
|
|
|
// dpc_enableCheckEdit
|
|
// dpc_enableCheckEdit
|
|
|
//
|
|
//
|
|
|
this.dpc_enableCheckEdit.AutoHeight = false;
|
|
this.dpc_enableCheckEdit.AutoHeight = false;
|
|
@@ -1013,5 +1026,6 @@ namespace UAS_DeviceMonitor
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
|
|
private DevExpress.XtraGrid.Columns.GridColumn POLLSETTINGSTATUSCOLUMN;
|
|
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn COLUMNCHECKED;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|