TODO 上传结果参数给MES

This commit is contained in:
liming 蔡
2026-07-17 20:21:57 +08:00
parent 682de34ff5
commit 1ff8f70bcb
10 changed files with 321 additions and 52 deletions
+24 -35
View File
@@ -43,6 +43,8 @@ namespace JY.Inspection.Frm
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.dgvData = new MetroFramework.Controls.MetroGrid();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.resultSelectType = new MetroFramework.Controls.MetroComboBox();
this.metroLabel6 = new MetroFramework.Controls.MetroLabel();
this.metroLabel5 = new MetroFramework.Controls.MetroLabel();
this.btnUpMES = new MetroFramework.Controls.MetroButton();
this.cmbFlag = new MetroFramework.Controls.MetroComboBox();
@@ -50,8 +52,6 @@ namespace JY.Inspection.Frm
this.dtStartTime = new System.Windows.Forms.DateTimePicker();
this.lblSelectStures = new System.Windows.Forms.Label();
this.metroLabel2 = new MetroFramework.Controls.MetroLabel();
this.resultSelectType = new MetroFramework.Controls.MetroComboBox();
this.metroLabel6 = new MetroFramework.Controls.MetroLabel();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvData)).BeginInit();
this.groupBox1.SuspendLayout();
@@ -142,14 +142,12 @@ namespace JY.Inspection.Frm
this.cbSelectType.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbSelectType.FormattingEnabled = true;
this.cbSelectType.ItemHeight = 23;
this.cbSelectType.Items.AddRange(new object[] {
"查询进站数据",
"查询出站数据"});
this.cbSelectType.Location = new System.Drawing.Point(7, 252);
this.cbSelectType.Name = "cbSelectType";
this.cbSelectType.Size = new System.Drawing.Size(193, 29);
this.cbSelectType.TabIndex = 12;
this.cbSelectType.UseSelectable = true;
this.cbSelectType.SelectedIndexChanged += new System.EventHandler(this.cbSelectType_SelectedIndexChanged);
//
// tableLayoutPanel1
//
@@ -243,6 +241,26 @@ namespace JY.Inspection.Frm
this.groupBox1.TabStop = false;
this.groupBox1.Text = "查询条件";
//
// resultSelectType
//
this.resultSelectType.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.resultSelectType.FormattingEnabled = true;
this.resultSelectType.ItemHeight = 23;
this.resultSelectType.Location = new System.Drawing.Point(8, 317);
this.resultSelectType.Name = "resultSelectType";
this.resultSelectType.Size = new System.Drawing.Size(193, 29);
this.resultSelectType.TabIndex = 55;
this.resultSelectType.UseSelectable = true;
//
// metroLabel6
//
this.metroLabel6.AutoSize = true;
this.metroLabel6.Location = new System.Drawing.Point(10, 295);
this.metroLabel6.Name = "metroLabel6";
this.metroLabel6.Size = new System.Drawing.Size(79, 19);
this.metroLabel6.TabIndex = 54;
this.metroLabel6.Text = "结果类型:";
//
// metroLabel5
//
this.metroLabel5.AutoSize = true;
@@ -269,11 +287,6 @@ namespace JY.Inspection.Frm
this.cmbFlag.FormattingEnabled = true;
this.cmbFlag.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.cmbFlag.ItemHeight = 23;
this.cmbFlag.Items.AddRange(new object[] {
"全部",
"自动上传MES数据",
"手动上传MES数据",
"未上传MES数据"});
this.cmbFlag.Location = new System.Drawing.Point(6, 447);
this.cmbFlag.Name = "cmbFlag";
this.cmbFlag.Size = new System.Drawing.Size(192, 29);
@@ -305,7 +318,7 @@ namespace JY.Inspection.Frm
// lblSelectStures
//
this.lblSelectStures.AutoSize = true;
this.lblSelectStures.Location = new System.Drawing.Point(59, 354);
this.lblSelectStures.Location = new System.Drawing.Point(8, 516);
this.lblSelectStures.Name = "lblSelectStures";
this.lblSelectStures.Size = new System.Drawing.Size(0, 12);
this.lblSelectStures.TabIndex = 15;
@@ -319,30 +332,6 @@ namespace JY.Inspection.Frm
this.metroLabel2.TabIndex = 5;
this.metroLabel2.Text = "查询结束时间:";
//
// resultSelectType
//
this.resultSelectType.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.resultSelectType.FormattingEnabled = true;
this.resultSelectType.ItemHeight = 23;
this.resultSelectType.Items.AddRange(new object[] {
"全部",
"OK",
"NG"});
this.resultSelectType.Location = new System.Drawing.Point(8, 317);
this.resultSelectType.Name = "resultSelectType";
this.resultSelectType.Size = new System.Drawing.Size(193, 29);
this.resultSelectType.TabIndex = 55;
this.resultSelectType.UseSelectable = true;
//
// metroLabel6
//
this.metroLabel6.AutoSize = true;
this.metroLabel6.Location = new System.Drawing.Point(10, 295);
this.metroLabel6.Name = "metroLabel6";
this.metroLabel6.Size = new System.Drawing.Size(79, 19);
this.metroLabel6.TabIndex = 54;
this.metroLabel6.Text = "结果类型:";
//
// FrmHistoricalDataQuery
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);