|
|
@@ -48,10 +48,12 @@ namespace UAS_DeviceMonitor.Device.Infomation
|
|
|
this.DC_CODE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.DC_NAME = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.DPC_ENABLE = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
|
|
|
this.groupControl1.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceDetailInfo)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceDetailInfo)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
|
//
|
|
|
// groupControl1
|
|
|
@@ -181,6 +183,8 @@ namespace UAS_DeviceMonitor.Device.Infomation
|
|
|
this.GridDeviceDetailInfo.Location = new System.Drawing.Point(310, 12);
|
|
|
this.GridDeviceDetailInfo.MainView = this.GridViewDeviceDetailInfo;
|
|
|
this.GridDeviceDetailInfo.Name = "GridDeviceDetailInfo";
|
|
|
+ this.GridDeviceDetailInfo.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
+ this.repositoryItemCheckEdit1});
|
|
|
this.GridDeviceDetailInfo.Size = new System.Drawing.Size(431, 349);
|
|
|
this.GridDeviceDetailInfo.TabIndex = 2;
|
|
|
this.GridDeviceDetailInfo.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
|
@@ -216,12 +220,22 @@ namespace UAS_DeviceMonitor.Device.Infomation
|
|
|
// DPC_ENABLE
|
|
|
//
|
|
|
this.DPC_ENABLE.Caption = "是否启用";
|
|
|
+ this.DPC_ENABLE.ColumnEdit = this.repositoryItemCheckEdit1;
|
|
|
this.DPC_ENABLE.FieldName = "DPC_ENABLE";
|
|
|
- this.DPC_ENABLE.Name = "DPC_ENABLE";
|
|
|
this.DPC_ENABLE.OptionsColumn.AllowEdit = false;
|
|
|
+ this.DPC_ENABLE.Name = "DPC_ENABLE";
|
|
|
this.DPC_ENABLE.Visible = true;
|
|
|
this.DPC_ENABLE.VisibleIndex = 2;
|
|
|
//
|
|
|
+ // repositoryItemCheckEdit1
|
|
|
+ //
|
|
|
+ this.repositoryItemCheckEdit1.AutoHeight = false;
|
|
|
+ this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1";
|
|
|
+ this.repositoryItemCheckEdit1.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked;
|
|
|
+ this.repositoryItemCheckEdit1.NullText = "0";
|
|
|
+ this.repositoryItemCheckEdit1.ValueChecked = "-1";
|
|
|
+ this.repositoryItemCheckEdit1.ValueUnchecked = "0";
|
|
|
+ //
|
|
|
// DeviceDetailInfo
|
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
@@ -241,6 +255,7 @@ namespace UAS_DeviceMonitor.Device.Infomation
|
|
|
this.groupControl1.PerformLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceDetailInfo)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceDetailInfo)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
}
|
|
|
@@ -265,5 +280,6 @@ namespace UAS_DeviceMonitor.Device.Infomation
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn DC_CODE;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn DC_NAME;
|
|
|
private DevExpress.XtraGrid.Columns.GridColumn DPC_ENABLE;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit repositoryItemCheckEdit1;
|
|
|
}
|
|
|
}
|