|
|
@@ -69,7 +69,7 @@ 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.Choose = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ 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();
|
|
|
@@ -85,6 +85,8 @@ 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();
|
|
|
this.dpc_plcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -94,7 +96,6 @@ namespace UAS_DeviceMonitor
|
|
|
this.PollingSetItemLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
|
|
|
this.dpc_function = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_enable = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
- this.dpc_enableCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dpc_status = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PagePolling = new DevExpress.XtraTab.XtraTabPage();
|
|
|
@@ -124,8 +125,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.PagePollingSetting.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).BeginInit();
|
|
|
this.PagePolling.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPolling)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).BeginInit();
|
|
|
@@ -488,7 +489,7 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewCommandSet
|
|
|
//
|
|
|
this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
- this.Choose,
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE,
|
|
|
this.dc_id,
|
|
|
this.dc_code,
|
|
|
this.dc_name,
|
|
|
@@ -498,14 +499,14 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewCommandSet.Name = "GridViewCommandSet";
|
|
|
this.GridViewCommandSet.OptionsSelection.MultiSelect = true;
|
|
|
//
|
|
|
- // Choose
|
|
|
+ // GRIDVIEWCOMMANDSETCHOOSE
|
|
|
//
|
|
|
- this.Choose.Caption = "勾选";
|
|
|
- this.Choose.ColumnEdit = this.CheckEditCommandSet;
|
|
|
- this.Choose.FieldName = "CHOOSE";
|
|
|
- this.Choose.Name = "Choose";
|
|
|
- this.Choose.Visible = true;
|
|
|
- this.Choose.VisibleIndex = 0;
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.Caption = "勾选";
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.ColumnEdit = this.CheckEditCommandSet;
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.FieldName = "GRIDVIEWCOMMANDSETCHOOSE";
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.Name = "GRIDVIEWCOMMANDSETCHOOSE";
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.Visible = true;
|
|
|
+ this.GRIDVIEWCOMMANDSETCHOOSE.VisibleIndex = 0;
|
|
|
//
|
|
|
// CheckEditCommandSet
|
|
|
//
|
|
|
@@ -648,6 +649,7 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewPollSetting
|
|
|
//
|
|
|
this.GridViewPollSetting.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.GRIDVIEWPOLLSETTINGCHOOSE,
|
|
|
this.dpc_id,
|
|
|
this.dpc_decode,
|
|
|
this.dpc_plcode,
|
|
|
@@ -662,6 +664,26 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewPollSetting.IndicatorWidth = 30;
|
|
|
this.GridViewPollSetting.Name = "GridViewPollSetting";
|
|
|
this.GridViewPollSetting.OptionsSelection.MultiSelect = true;
|
|
|
+ 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;
|
|
|
+ //
|
|
|
+ // dpc_enableCheckEdit
|
|
|
+ //
|
|
|
+ this.dpc_enableCheckEdit.AutoHeight = false;
|
|
|
+ this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
|
|
|
+ this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
+ this.dpc_enableCheckEdit.PictureChecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureChecked")));
|
|
|
+ this.dpc_enableCheckEdit.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureUnchecked")));
|
|
|
+ this.dpc_enableCheckEdit.ValueChecked = "-1";
|
|
|
+ this.dpc_enableCheckEdit.ValueUnchecked = "0";
|
|
|
//
|
|
|
// dpc_id
|
|
|
//
|
|
|
@@ -675,7 +697,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_decode.FieldName = "DPC_DECODE";
|
|
|
this.dpc_decode.Name = "dpc_decode";
|
|
|
this.dpc_decode.Visible = true;
|
|
|
- this.dpc_decode.VisibleIndex = 0;
|
|
|
+ this.dpc_decode.VisibleIndex = 1;
|
|
|
//
|
|
|
// dpc_plcode
|
|
|
//
|
|
|
@@ -683,7 +705,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_plcode.FieldName = "DPC_PLCODE";
|
|
|
this.dpc_plcode.Name = "dpc_plcode";
|
|
|
this.dpc_plcode.Visible = true;
|
|
|
- this.dpc_plcode.VisibleIndex = 1;
|
|
|
+ this.dpc_plcode.VisibleIndex = 2;
|
|
|
//
|
|
|
// dpc_plname
|
|
|
//
|
|
|
@@ -691,7 +713,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_plname.FieldName = "DPC_PLNAME";
|
|
|
this.dpc_plname.Name = "dpc_plname";
|
|
|
this.dpc_plname.Visible = true;
|
|
|
- this.dpc_plname.VisibleIndex = 2;
|
|
|
+ this.dpc_plname.VisibleIndex = 3;
|
|
|
//
|
|
|
// dpc_interval
|
|
|
//
|
|
|
@@ -699,7 +721,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_interval.FieldName = "DPC_INTERVAL";
|
|
|
this.dpc_interval.Name = "dpc_interval";
|
|
|
this.dpc_interval.Visible = true;
|
|
|
- this.dpc_interval.VisibleIndex = 3;
|
|
|
+ this.dpc_interval.VisibleIndex = 4;
|
|
|
//
|
|
|
// dpc_dccode
|
|
|
//
|
|
|
@@ -708,7 +730,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_dccode.FieldName = "DPC_DCCODE";
|
|
|
this.dpc_dccode.Name = "dpc_dccode";
|
|
|
this.dpc_dccode.Visible = true;
|
|
|
- this.dpc_dccode.VisibleIndex = 4;
|
|
|
+ this.dpc_dccode.VisibleIndex = 5;
|
|
|
//
|
|
|
// PollingSetItemLookUpEdit
|
|
|
//
|
|
|
@@ -726,7 +748,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_function.FieldName = "DPC_FUNCTION";
|
|
|
this.dpc_function.Name = "dpc_function";
|
|
|
this.dpc_function.Visible = true;
|
|
|
- this.dpc_function.VisibleIndex = 5;
|
|
|
+ this.dpc_function.VisibleIndex = 6;
|
|
|
//
|
|
|
// dpc_enable
|
|
|
//
|
|
|
@@ -735,17 +757,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_enable.FieldName = "DPC_ENABLE";
|
|
|
this.dpc_enable.Name = "dpc_enable";
|
|
|
this.dpc_enable.Visible = true;
|
|
|
- this.dpc_enable.VisibleIndex = 6;
|
|
|
- //
|
|
|
- // dpc_enableCheckEdit
|
|
|
- //
|
|
|
- this.dpc_enableCheckEdit.AutoHeight = false;
|
|
|
- this.dpc_enableCheckEdit.Name = "dpc_enableCheckEdit";
|
|
|
- this.dpc_enableCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
- this.dpc_enableCheckEdit.PictureChecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureChecked")));
|
|
|
- this.dpc_enableCheckEdit.PictureUnchecked = ((System.Drawing.Image)(resources.GetObject("dpc_enableCheckEdit.PictureUnchecked")));
|
|
|
- this.dpc_enableCheckEdit.ValueChecked = "-1";
|
|
|
- this.dpc_enableCheckEdit.ValueUnchecked = "0";
|
|
|
+ this.dpc_enable.VisibleIndex = 7;
|
|
|
//
|
|
|
// dpc_status
|
|
|
//
|
|
|
@@ -753,7 +765,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_status.FieldName = "DPC_STATUS";
|
|
|
this.dpc_status.Name = "dpc_status";
|
|
|
this.dpc_status.Visible = true;
|
|
|
- this.dpc_status.VisibleIndex = 7;
|
|
|
+ this.dpc_status.VisibleIndex = 8;
|
|
|
//
|
|
|
// dpc_remark
|
|
|
//
|
|
|
@@ -761,7 +773,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_remark.FieldName = "DPC_REMARK";
|
|
|
this.dpc_remark.Name = "dpc_remark";
|
|
|
this.dpc_remark.Visible = true;
|
|
|
- this.dpc_remark.VisibleIndex = 8;
|
|
|
+ this.dpc_remark.VisibleIndex = 9;
|
|
|
//
|
|
|
// PagePolling
|
|
|
//
|
|
|
@@ -914,8 +926,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.PagePollingSetting.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
|
|
|
- ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.PollingSetItemLookUpEdit)).EndInit();
|
|
|
this.PagePolling.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPolling)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPolling)).EndInit();
|
|
|
@@ -988,7 +1000,7 @@ namespace UAS_DeviceMonitor
|
|
|
private GridViewWithSerialNum GridViewPollSetting;
|
|
|
private LabelControl Brand_label;
|
|
|
private ComboBoxEdit Brand;
|
|
|
- private DevExpress.XtraGrid.Columns.GridColumn Choose;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn GRIDVIEWCOMMANDSETCHOOSE;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
|
|
|
private CustomerControl.Button.ButtonDeleteRow ButtonDeletePolling;
|
|
|
@@ -1001,5 +1013,6 @@ namespace UAS_DeviceMonitor
|
|
|
private CustomerControl.Button.ButtonSaveGrid ButtonSaveCommandSet;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit PollingSetItemLookUpEdit;
|
|
|
private System.Windows.Forms.Timer PollingTimer;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn GRIDVIEWPOLLSETTINGCHOOSE;
|
|
|
}
|
|
|
}
|