|
|
@@ -33,6 +33,7 @@ namespace UAS_PLCDataReader
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
|
|
|
this.RibbonNav = new DevExpress.XtraBars.Ribbon.RibbonControl();
|
|
|
this.ButtonDeviceList = new DevExpress.XtraBars.BarButtonItem();
|
|
|
@@ -70,6 +71,10 @@ namespace UAS_PLCDataReader
|
|
|
this.de_code = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_name = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_runstatus = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.de_currentcentername = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
+ this.DeviceItemSearchLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit();
|
|
|
+ this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
|
+ this.de_currentcentercode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_stepcode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_stepname = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
this.de_sourcecode = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
|
@@ -198,10 +203,10 @@ namespace UAS_PLCDataReader
|
|
|
this.ButtonSaveClientParam = new DevExpress.XtraEditors.SimpleButton();
|
|
|
this.UpdateTimeSpan = new System.Windows.Forms.NumericUpDown();
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
- this.TimerDeviceStatus = new System.Windows.Forms.Timer();
|
|
|
- this.CommonTipController = new DevExpress.Utils.ToolTipController();
|
|
|
- this.TimerUpdateDevice = new System.Windows.Forms.Timer();
|
|
|
- this.TimerUpdateSQL = new System.Windows.Forms.Timer();
|
|
|
+ this.TimerDeviceStatus = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.CommonTipController = new DevExpress.Utils.ToolTipController(this.components);
|
|
|
+ this.TimerUpdateDevice = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.TimerUpdateSQL = new System.Windows.Forms.Timer(this.components);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.RibbonNav)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.MainTabControl)).BeginInit();
|
|
|
this.MainTabControl.SuspendLayout();
|
|
|
@@ -213,6 +218,8 @@ namespace UAS_PLCDataReader
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.DeviceItemSearchLookUpEdit)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.DataItemRepositoryItemComboBox1)).BeginInit();
|
|
|
this.PageCommandSet.SuspendLayout();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.Brand.Properties)).BeginInit();
|
|
|
@@ -582,7 +589,8 @@ namespace UAS_PLCDataReader
|
|
|
this.GridDeviceList.MenuManager = this.RibbonNav;
|
|
|
this.GridDeviceList.Name = "GridDeviceList";
|
|
|
this.GridDeviceList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
|
- this.DataItemRepositoryItemComboBox1});
|
|
|
+ this.DataItemRepositoryItemComboBox1,
|
|
|
+ this.DeviceItemSearchLookUpEdit});
|
|
|
this.GridDeviceList.RowCount = 0;
|
|
|
this.GridDeviceList.Size = new System.Drawing.Size(1034, 547);
|
|
|
this.GridDeviceList.TabIndex = 0;
|
|
|
@@ -598,6 +606,8 @@ namespace UAS_PLCDataReader
|
|
|
this.de_code,
|
|
|
this.de_name,
|
|
|
this.de_runstatus,
|
|
|
+ this.de_currentcentername,
|
|
|
+ this.de_currentcentercode,
|
|
|
this.de_stepcode,
|
|
|
this.de_stepname,
|
|
|
this.de_sourcecode,
|
|
|
@@ -617,6 +627,7 @@ namespace UAS_PLCDataReader
|
|
|
this.GridViewDeviceList.Name = "GridViewDeviceList";
|
|
|
this.GridViewDeviceList.OptionsView.ShowGroupPanel = false;
|
|
|
this.GridViewDeviceList.RowCellClick += new DevExpress.XtraGrid.Views.Grid.RowCellClickEventHandler(this.GridViewDeviceList_RowCellClick);
|
|
|
+ this.GridViewDeviceList.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.GridViewDeviceList_CellValueChanged);
|
|
|
//
|
|
|
// DeviceListCheckedColumn
|
|
|
//
|
|
|
@@ -664,6 +675,39 @@ namespace UAS_PLCDataReader
|
|
|
this.de_runstatus.FieldName = "DE_RUNSTATUS";
|
|
|
this.de_runstatus.Name = "de_runstatus";
|
|
|
//
|
|
|
+ // de_currentcentername
|
|
|
+ //
|
|
|
+ this.de_currentcentername.Caption = "部门名称";
|
|
|
+ this.de_currentcentername.ColumnEdit = this.DeviceItemSearchLookUpEdit;
|
|
|
+ this.de_currentcentername.FieldName = "DE_CURRENTCENTERNAME";
|
|
|
+ this.de_currentcentername.Name = "de_currentcentername";
|
|
|
+ this.de_currentcentername.Visible = true;
|
|
|
+ this.de_currentcentername.VisibleIndex = 5;
|
|
|
+ //
|
|
|
+ // DeviceItemSearchLookUpEdit
|
|
|
+ //
|
|
|
+ this.DeviceItemSearchLookUpEdit.AutoHeight = false;
|
|
|
+ this.DeviceItemSearchLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
+ this.DeviceItemSearchLookUpEdit.Name = "DeviceItemSearchLookUpEdit";
|
|
|
+ this.DeviceItemSearchLookUpEdit.NullText = "";
|
|
|
+ this.DeviceItemSearchLookUpEdit.View = this.gridView1;
|
|
|
+ //
|
|
|
+ // gridView1
|
|
|
+ //
|
|
|
+ this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
|
|
|
+ this.gridView1.Name = "gridView1";
|
|
|
+ this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
|
|
|
+ this.gridView1.OptionsView.ShowGroupPanel = false;
|
|
|
+ //
|
|
|
+ // de_currentcentercode
|
|
|
+ //
|
|
|
+ this.de_currentcentercode.Caption = "部门编号";
|
|
|
+ this.de_currentcentercode.FieldName = "DE_CURRENTCENTERCODE";
|
|
|
+ this.de_currentcentercode.Name = "de_currentcentercode";
|
|
|
+ this.de_currentcentercode.Visible = true;
|
|
|
+ this.de_currentcentercode.VisibleIndex = 6;
|
|
|
+ //
|
|
|
// de_stepcode
|
|
|
//
|
|
|
this.de_stepcode.Caption = "工序编号";
|
|
|
@@ -678,7 +722,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_stepname.FieldName = "DE_STEPNAME";
|
|
|
this.de_stepname.Name = "de_stepname";
|
|
|
this.de_stepname.Visible = true;
|
|
|
- this.de_stepname.VisibleIndex = 5;
|
|
|
+ this.de_stepname.VisibleIndex = 7;
|
|
|
//
|
|
|
// de_sourcecode
|
|
|
//
|
|
|
@@ -704,7 +748,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_spec.FieldName = "DE_SPEC";
|
|
|
this.de_spec.Name = "de_spec";
|
|
|
this.de_spec.Visible = true;
|
|
|
- this.de_spec.VisibleIndex = 6;
|
|
|
+ this.de_spec.VisibleIndex = 8;
|
|
|
//
|
|
|
// de_inman
|
|
|
//
|
|
|
@@ -712,7 +756,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_inman.FieldName = "DE_INMAN";
|
|
|
this.de_inman.Name = "de_inman";
|
|
|
this.de_inman.Visible = true;
|
|
|
- this.de_inman.VisibleIndex = 7;
|
|
|
+ this.de_inman.VisibleIndex = 9;
|
|
|
//
|
|
|
// de_vendcode
|
|
|
//
|
|
|
@@ -732,7 +776,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_address.FieldName = "DE_ADDRESS";
|
|
|
this.de_address.Name = "de_address";
|
|
|
this.de_address.Visible = true;
|
|
|
- this.de_address.VisibleIndex = 8;
|
|
|
+ this.de_address.VisibleIndex = 10;
|
|
|
//
|
|
|
// de_linecode
|
|
|
//
|
|
|
@@ -740,7 +784,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_linecode.FieldName = "DE_LINECODE";
|
|
|
this.de_linecode.Name = "de_linecode";
|
|
|
this.de_linecode.Visible = true;
|
|
|
- this.de_linecode.VisibleIndex = 9;
|
|
|
+ this.de_linecode.VisibleIndex = 11;
|
|
|
//
|
|
|
// de_wccode
|
|
|
//
|
|
|
@@ -748,7 +792,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_wccode.FieldName = "DE_WCCODE";
|
|
|
this.de_wccode.Name = "de_wccode";
|
|
|
this.de_wccode.Visible = true;
|
|
|
- this.de_wccode.VisibleIndex = 10;
|
|
|
+ this.de_wccode.VisibleIndex = 12;
|
|
|
//
|
|
|
// de_item1
|
|
|
//
|
|
|
@@ -757,7 +801,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_item1.FieldName = "DE_ITEM1";
|
|
|
this.de_item1.Name = "de_item1";
|
|
|
this.de_item1.Visible = true;
|
|
|
- this.de_item1.VisibleIndex = 11;
|
|
|
+ this.de_item1.VisibleIndex = 13;
|
|
|
//
|
|
|
// DataItemRepositoryItemComboBox1
|
|
|
//
|
|
|
@@ -773,7 +817,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_item2.FieldName = "DE_ITEM2";
|
|
|
this.de_item2.Name = "de_item2";
|
|
|
this.de_item2.Visible = true;
|
|
|
- this.de_item2.VisibleIndex = 12;
|
|
|
+ this.de_item2.VisibleIndex = 14;
|
|
|
//
|
|
|
// de_item3
|
|
|
//
|
|
|
@@ -782,7 +826,7 @@ namespace UAS_PLCDataReader
|
|
|
this.de_item3.FieldName = "DE_ITEM3";
|
|
|
this.de_item3.Name = "de_item3";
|
|
|
this.de_item3.Visible = true;
|
|
|
- this.de_item3.VisibleIndex = 13;
|
|
|
+ this.de_item3.VisibleIndex = 15;
|
|
|
//
|
|
|
// PageCommandSet
|
|
|
//
|
|
|
@@ -2022,6 +2066,8 @@ namespace UAS_PLCDataReader
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridDeviceList)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.GridViewDeviceList)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.dpc_enableCheckEdit)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.DeviceItemSearchLookUpEdit)).EndInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.DataItemRepositoryItemComboBox1)).EndInit();
|
|
|
this.PageCommandSet.ResumeLayout(false);
|
|
|
this.PageCommandSet.PerformLayout();
|
|
|
@@ -2239,5 +2285,9 @@ namespace UAS_PLCDataReader
|
|
|
private ComboBoxEdit ComboxDeviceFloor;
|
|
|
private LabelControl label_ComboxDeviceFloor;
|
|
|
private LabelControl label_ComboxDeviceDepartment;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn de_currentcentercode;
|
|
|
+ private DevExpress.XtraGrid.Columns.GridColumn de_currentcentername;
|
|
|
+ private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
|
|
+ private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit DeviceItemSearchLookUpEdit;
|
|
|
}
|
|
|
}
|