|
|
@@ -67,6 +67,8 @@ 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.CheckEditCommandSet = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
this.dc_id = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.dc_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -96,6 +98,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.pl_type = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.pl_dccode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.pl_remark = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.ButtonDeleteCommand = new UAS_DeviceMonitor.CustomerControl.Button.ButtonDeleteRow();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
this.MainTabControl.SuspendLayout();
|
|
|
@@ -106,6 +109,7 @@ namespace UAS_DeviceMonitor
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).BeginInit();
|
|
|
this.PagePollingSetting.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).BeginInit();
|
|
|
@@ -380,6 +384,7 @@ namespace UAS_DeviceMonitor
|
|
|
//
|
|
|
// PageCommandSet
|
|
|
//
|
|
|
+ this.PageCommandSet.Controls.Add(this.ButtonDeleteCommand);
|
|
|
this.PageCommandSet.Controls.Add(this.Brand_label);
|
|
|
this.PageCommandSet.Controls.Add(this.Brand);
|
|
|
this.PageCommandSet.Controls.Add(this.ButtonNewCommand);
|
|
|
@@ -447,6 +452,8 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridCommandSetting.MainView = this.GridViewCommandSet;
|
|
|
this.GridCommandSetting.MenuManager = this.RibbonNav;
|
|
|
this.GridCommandSetting.Name = "GridCommandSetting";
|
|
|
+ this.GridCommandSetting.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.CheckEditCommandSet});
|
|
|
this.GridCommandSetting.RowCount = 0;
|
|
|
this.GridCommandSetting.Size = new System.Drawing.Size(1027, 517);
|
|
|
this.GridCommandSetting.TabIndex = 1;
|
|
|
@@ -457,6 +464,7 @@ namespace UAS_DeviceMonitor
|
|
|
// GridViewCommandSet
|
|
|
//
|
|
|
this.GridViewCommandSet.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
|
+ this.Choose,
|
|
|
this.dc_id,
|
|
|
this.dc_code,
|
|
|
this.dc_name,
|
|
|
@@ -464,6 +472,22 @@ namespace UAS_DeviceMonitor
|
|
|
this.GridViewCommandSet.GridControl = this.GridCommandSetting;
|
|
|
this.GridViewCommandSet.IndicatorWidth = 30;
|
|
|
this.GridViewCommandSet.Name = "GridViewCommandSet";
|
|
|
+ this.GridViewCommandSet.OptionsSelection.MultiSelect = true;
|
|
|
+ //
|
|
|
+ // Choose
|
|
|
+ //
|
|
|
+ this.Choose.Caption = "勾选";
|
|
|
+ this.Choose.ColumnEdit = this.CheckEditCommandSet;
|
|
|
+ this.Choose.FieldName = "CHOOSE";
|
|
|
+ this.Choose.Name = "Choose";
|
|
|
+ this.Choose.Visible = true;
|
|
|
+ this.Choose.VisibleIndex = 0;
|
|
|
+ //
|
|
|
+ // CheckEditCommandSet
|
|
|
+ //
|
|
|
+ this.CheckEditCommandSet.AutoHeight = false;
|
|
|
+ this.CheckEditCommandSet.Name = "CheckEditCommandSet";
|
|
|
+ this.CheckEditCommandSet.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
//
|
|
|
// dc_id
|
|
|
//
|
|
|
@@ -476,7 +500,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_code.FieldName = "DC_CODE";
|
|
|
this.dc_code.Name = "dc_code";
|
|
|
this.dc_code.Visible = true;
|
|
|
- this.dc_code.VisibleIndex = 0;
|
|
|
+ this.dc_code.VisibleIndex = 1;
|
|
|
this.dc_code.Width = 118;
|
|
|
//
|
|
|
// dc_name
|
|
|
@@ -485,7 +509,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_name.FieldName = "DC_NAME";
|
|
|
this.dc_name.Name = "dc_name";
|
|
|
this.dc_name.Visible = true;
|
|
|
- this.dc_name.VisibleIndex = 1;
|
|
|
+ this.dc_name.VisibleIndex = 2;
|
|
|
this.dc_name.Width = 123;
|
|
|
//
|
|
|
// dc_command
|
|
|
@@ -494,7 +518,7 @@ namespace UAS_DeviceMonitor
|
|
|
this.dc_command.FieldName = "DC_COMMAND";
|
|
|
this.dc_command.Name = "dc_command";
|
|
|
this.dc_command.Visible = true;
|
|
|
- this.dc_command.VisibleIndex = 2;
|
|
|
+ this.dc_command.VisibleIndex = 3;
|
|
|
this.dc_command.Width = 768;
|
|
|
//
|
|
|
// PageDeviceKind
|
|
|
@@ -733,6 +757,15 @@ namespace UAS_DeviceMonitor
|
|
|
this.pl_remark.Visible = true;
|
|
|
this.pl_remark.VisibleIndex = 4;
|
|
|
//
|
|
|
+ // ButtonDeleteCommand
|
|
|
+ //
|
|
|
+ this.ButtonDeleteCommand.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
|
+ this.ButtonDeleteCommand.Location = new System.Drawing.Point(816, 551);
|
|
|
+ this.ButtonDeleteCommand.Name = "ButtonDeleteCommand";
|
|
|
+ this.ButtonDeleteCommand.Size = new System.Drawing.Size(64, 23);
|
|
|
+ this.ButtonDeleteCommand.TabIndex = 6;
|
|
|
+ this.ButtonDeleteCommand.Text = "删除";
|
|
|
+ //
|
|
|
// Main
|
|
|
//
|
|
|
this.AllowFormGlass = DevExpress.Utils.DefaultBoolean.False;
|
|
|
@@ -759,6 +792,7 @@ namespace UAS_DeviceMonitor
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridCommandSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewCommandSet)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.CheckEditCommandSet)).EndInit();
|
|
|
this.PagePollingSetting.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridPollingSetting)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewPollSetting)).EndInit();
|
|
|
@@ -835,5 +869,8 @@ namespace UAS_DeviceMonitor
|
|
|
private GridViewWithSerialNum GridViewPollSetting;
|
|
|
private LabelControl Brand_label;
|
|
|
private ComboBoxEdit Brand;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn Choose;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit CheckEditCommandSet;
|
|
|
+ private CustomerControl.Button.ButtonDeleteRow ButtonDeleteCommand;
|
|
|
}
|
|
|
}
|