|
|
@@ -91,6 +91,11 @@ namespace UAS_DeviceMonitor
|
|
|
this.dpc_plcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.PollSettingItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
|
|
|
this.PollSettingItemSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_plname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_interval = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dpc_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -733,11 +738,57 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
|
// PollSettingItemSearchLookUpEditView
|
|
|
//
|
|
|
+ this.PollSettingItemSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.gridColumn1,
|
|
|
+ this.gridColumn2,
|
|
|
+ this.gridColumn3,
|
|
|
+ this.gridColumn4,
|
|
|
+ this.gridColumn5});
|
|
|
this.PollSettingItemSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
this.PollSettingItemSearchLookUpEditView.Name = "PollSettingItemSearchLookUpEditView";
|
|
|
this.PollSettingItemSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
this.PollSettingItemSearchLookUpEditView.OptionsView.ShowGroupPanel = false;
|
|
|
//
|
|
|
+ // gridColumn1
|
|
|
+ //
|
|
|
+ this.gridColumn1.Caption = "业务编号";
|
|
|
+ this.gridColumn1.FieldName = "PL_CODE";
|
|
|
+ this.gridColumn1.Name = "gridColumn1";
|
|
|
+ this.gridColumn1.Visible = true;
|
|
|
+ this.gridColumn1.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // gridColumn2
|
|
|
+ //
|
|
|
+ this.gridColumn2.Caption = "业务名称";
|
|
|
+ this.gridColumn2.FieldName = "PL_NAME";
|
|
|
+ this.gridColumn2.Name = "gridColumn2";
|
|
|
+ this.gridColumn2.Visible = true;
|
|
|
+ this.gridColumn2.VisibleIndex = 1;
|
|
|
+ //
|
|
|
+ // gridColumn3
|
|
|
+ //
|
|
|
+ this.gridColumn3.Caption = "业务类型";
|
|
|
+ this.gridColumn3.FieldName = "PL_TYPE";
|
|
|
+ this.gridColumn3.Name = "gridColumn3";
|
|
|
+ this.gridColumn3.Visible = true;
|
|
|
+ this.gridColumn3.VisibleIndex = 2;
|
|
|
+ //
|
|
|
+ // gridColumn4
|
|
|
+ //
|
|
|
+ this.gridColumn4.Caption = "指令编号";
|
|
|
+ this.gridColumn4.FieldName = "PL_DCCODE";
|
|
|
+ this.gridColumn4.Name = "gridColumn4";
|
|
|
+ this.gridColumn4.Visible = true;
|
|
|
+ this.gridColumn4.VisibleIndex = 3;
|
|
|
+ //
|
|
|
+ // gridColumn5
|
|
|
+ //
|
|
|
+ this.gridColumn5.Caption = "备注";
|
|
|
+ this.gridColumn5.FieldName = "PL_REMARK";
|
|
|
+ this.gridColumn5.Name = "gridColumn5";
|
|
|
+ this.gridColumn5.Visible = true;
|
|
|
+ this.gridColumn5.VisibleIndex = 4;
|
|
|
+ //
|
|
|
// dpc_plname
|
|
|
//
|
|
|
this.dpc_plname.Caption = "业务名称";
|
|
|
@@ -759,7 +810,6 @@ namespace UAS_DeviceMonitor
|
|
|
// dpc_dccode
|
|
|
//
|
|
|
this.dpc_dccode.Caption = "指令编号";
|
|
|
- this.dpc_dccode.ColumnEdit = this.PollingSetItemLookUpEdit;
|
|
|
this.dpc_dccode.FieldName = "DPC_DCCODE";
|
|
|
this.dpc_dccode.Name = "dpc_dccode";
|
|
|
this.dpc_dccode.Visible = true;
|
|
|
@@ -1083,5 +1133,10 @@ namespace UAS_DeviceMonitor
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn PollingCheckedColumn;
|
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit PollSettingItemSearchLookUpEdit;
|
|
|
private DevExpress.XtraGrid.Views.Grid.GridView PollSettingItemSearchLookUpEditView;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
|
|
|
}
|
|
|
}
|