|
@@ -47,13 +47,15 @@
|
|
|
this.Timer = new System.Windows.Forms.Timer(this.components);
|
|
this.Timer = new System.Windows.Forms.Timer(this.components);
|
|
|
this.Device = new System.Windows.Forms.ComboBox();
|
|
this.Device = new System.Windows.Forms.ComboBox();
|
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
|
|
|
+ this.ATEFile = new System.IO.FileSystemWatcher();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
|
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).BeginInit();
|
|
|
this.SuspendLayout();
|
|
this.SuspendLayout();
|
|
|
//
|
|
//
|
|
|
// XmlWatcher
|
|
// XmlWatcher
|
|
|
//
|
|
//
|
|
|
this.XmlWatcher.EnableRaisingEvents = true;
|
|
this.XmlWatcher.EnableRaisingEvents = true;
|
|
|
- this.XmlWatcher.Filter = "*.xml";
|
|
|
|
|
|
|
+ this.XmlWatcher.Filter = "*.log";
|
|
|
this.XmlWatcher.SynchronizingObject = this;
|
|
this.XmlWatcher.SynchronizingObject = this;
|
|
|
//
|
|
//
|
|
|
// StartWatch
|
|
// StartWatch
|
|
@@ -85,7 +87,7 @@
|
|
|
//
|
|
//
|
|
|
this.label1.AutoSize = true;
|
|
this.label1.AutoSize = true;
|
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label1.Location = new System.Drawing.Point(48, 400);
|
|
|
|
|
|
|
+ this.label1.Location = new System.Drawing.Point(48, 283);
|
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.label1.Name = "label1";
|
|
this.label1.Name = "label1";
|
|
|
this.label1.Size = new System.Drawing.Size(162, 38);
|
|
this.label1.Size = new System.Drawing.Size(162, 38);
|
|
@@ -95,7 +97,7 @@
|
|
|
// FolderPath
|
|
// FolderPath
|
|
|
//
|
|
//
|
|
|
this.FolderPath.Enabled = false;
|
|
this.FolderPath.Enabled = false;
|
|
|
- this.FolderPath.Location = new System.Drawing.Point(218, 400);
|
|
|
|
|
|
|
+ this.FolderPath.Location = new System.Drawing.Point(218, 283);
|
|
|
this.FolderPath.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.FolderPath.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.FolderPath.Name = "FolderPath";
|
|
this.FolderPath.Name = "FolderPath";
|
|
|
this.FolderPath.Size = new System.Drawing.Size(436, 35);
|
|
this.FolderPath.Size = new System.Drawing.Size(436, 35);
|
|
@@ -104,7 +106,7 @@
|
|
|
// ChooseFolder
|
|
// ChooseFolder
|
|
|
//
|
|
//
|
|
|
this.ChooseFolder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.ChooseFolder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.ChooseFolder.Location = new System.Drawing.Point(686, 394);
|
|
|
|
|
|
|
+ this.ChooseFolder.Location = new System.Drawing.Point(686, 277);
|
|
|
this.ChooseFolder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.ChooseFolder.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.ChooseFolder.Name = "ChooseFolder";
|
|
this.ChooseFolder.Name = "ChooseFolder";
|
|
|
this.ChooseFolder.Size = new System.Drawing.Size(156, 48);
|
|
this.ChooseFolder.Size = new System.Drawing.Size(156, 48);
|
|
@@ -138,12 +140,13 @@
|
|
|
//
|
|
//
|
|
|
this.MakeCode_lable.AutoSize = true;
|
|
this.MakeCode_lable.AutoSize = true;
|
|
|
this.MakeCode_lable.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.MakeCode_lable.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.MakeCode_lable.Location = new System.Drawing.Point(48, 311);
|
|
|
|
|
|
|
+ this.MakeCode_lable.Location = new System.Drawing.Point(54, 105);
|
|
|
this.MakeCode_lable.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.MakeCode_lable.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.MakeCode_lable.Name = "MakeCode_lable";
|
|
this.MakeCode_lable.Name = "MakeCode_lable";
|
|
|
this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
|
|
this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
|
|
|
this.MakeCode_lable.TabIndex = 12;
|
|
this.MakeCode_lable.TabIndex = 12;
|
|
|
this.MakeCode_lable.Text = "工单号";
|
|
this.MakeCode_lable.Text = "工单号";
|
|
|
|
|
+ this.MakeCode_lable.Visible = false;
|
|
|
//
|
|
//
|
|
|
// label4
|
|
// label4
|
|
|
//
|
|
//
|
|
@@ -166,38 +169,42 @@
|
|
|
this.Master.Name = "Master";
|
|
this.Master.Name = "Master";
|
|
|
this.Master.Size = new System.Drawing.Size(436, 32);
|
|
this.Master.Size = new System.Drawing.Size(436, 32);
|
|
|
this.Master.TabIndex = 15;
|
|
this.Master.TabIndex = 15;
|
|
|
|
|
+ this.Master.Visible = false;
|
|
|
//
|
|
//
|
|
|
// AutoStart
|
|
// AutoStart
|
|
|
//
|
|
//
|
|
|
this.AutoStart.AutoSize = true;
|
|
this.AutoStart.AutoSize = true;
|
|
|
- this.AutoStart.Location = new System.Drawing.Point(686, 51);
|
|
|
|
|
|
|
+ this.AutoStart.Checked = true;
|
|
|
|
|
+ this.AutoStart.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
|
|
|
+ this.AutoStart.Location = new System.Drawing.Point(686, 201);
|
|
|
this.AutoStart.Margin = new System.Windows.Forms.Padding(6);
|
|
this.AutoStart.Margin = new System.Windows.Forms.Padding(6);
|
|
|
this.AutoStart.Name = "AutoStart";
|
|
this.AutoStart.Name = "AutoStart";
|
|
|
this.AutoStart.Size = new System.Drawing.Size(186, 28);
|
|
this.AutoStart.Size = new System.Drawing.Size(186, 28);
|
|
|
this.AutoStart.TabIndex = 16;
|
|
this.AutoStart.TabIndex = 16;
|
|
|
this.AutoStart.Text = "开机自动启动";
|
|
this.AutoStart.Text = "开机自动启动";
|
|
|
this.AutoStart.UseVisualStyleBackColor = true;
|
|
this.AutoStart.UseVisualStyleBackColor = true;
|
|
|
- this.AutoStart.Visible = false;
|
|
|
|
|
this.AutoStart.CheckedChanged += new System.EventHandler(this.AutoStart_CheckedChanged);
|
|
this.AutoStart.CheckedChanged += new System.EventHandler(this.AutoStart_CheckedChanged);
|
|
|
//
|
|
//
|
|
|
// ma_code
|
|
// ma_code
|
|
|
//
|
|
//
|
|
|
- this.ma_code.Location = new System.Drawing.Point(218, 311);
|
|
|
|
|
|
|
+ this.ma_code.Location = new System.Drawing.Point(224, 105);
|
|
|
this.ma_code.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.ma_code.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.ma_code.Name = "ma_code";
|
|
this.ma_code.Name = "ma_code";
|
|
|
this.ma_code.Size = new System.Drawing.Size(436, 35);
|
|
this.ma_code.Size = new System.Drawing.Size(436, 35);
|
|
|
this.ma_code.TabIndex = 17;
|
|
this.ma_code.TabIndex = 17;
|
|
|
|
|
+ this.ma_code.Visible = false;
|
|
|
//
|
|
//
|
|
|
// BatchAnalysus
|
|
// BatchAnalysus
|
|
|
//
|
|
//
|
|
|
this.BatchAnalysus.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.BatchAnalysus.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.BatchAnalysus.Location = new System.Drawing.Point(686, 308);
|
|
|
|
|
|
|
+ this.BatchAnalysus.Location = new System.Drawing.Point(686, 95);
|
|
|
this.BatchAnalysus.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.BatchAnalysus.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.BatchAnalysus.Name = "BatchAnalysus";
|
|
this.BatchAnalysus.Name = "BatchAnalysus";
|
|
|
this.BatchAnalysus.Size = new System.Drawing.Size(156, 48);
|
|
this.BatchAnalysus.Size = new System.Drawing.Size(156, 48);
|
|
|
this.BatchAnalysus.TabIndex = 18;
|
|
this.BatchAnalysus.TabIndex = 18;
|
|
|
this.BatchAnalysus.Text = "批量解析";
|
|
this.BatchAnalysus.Text = "批量解析";
|
|
|
this.BatchAnalysus.UseVisualStyleBackColor = true;
|
|
this.BatchAnalysus.UseVisualStyleBackColor = true;
|
|
|
|
|
+ this.BatchAnalysus.Visible = false;
|
|
|
this.BatchAnalysus.Click += new System.EventHandler(this.BatchAnalysus_Click);
|
|
this.BatchAnalysus.Click += new System.EventHandler(this.BatchAnalysus_Click);
|
|
|
//
|
|
//
|
|
|
// Timer
|
|
// Timer
|
|
@@ -212,7 +219,7 @@
|
|
|
this.Device.Items.AddRange(new object[] {
|
|
this.Device.Items.AddRange(new object[] {
|
|
|
"ATE设备",
|
|
"ATE设备",
|
|
|
"老化设备"});
|
|
"老化设备"});
|
|
|
- this.Device.Location = new System.Drawing.Point(218, 222);
|
|
|
|
|
|
|
+ this.Device.Location = new System.Drawing.Point(224, 201);
|
|
|
this.Device.Margin = new System.Windows.Forms.Padding(6);
|
|
this.Device.Margin = new System.Windows.Forms.Padding(6);
|
|
|
this.Device.Name = "Device";
|
|
this.Device.Name = "Device";
|
|
|
this.Device.Size = new System.Drawing.Size(436, 32);
|
|
this.Device.Size = new System.Drawing.Size(436, 32);
|
|
@@ -222,13 +229,19 @@
|
|
|
//
|
|
//
|
|
|
this.label3.AutoSize = true;
|
|
this.label3.AutoSize = true;
|
|
|
this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
- this.label3.Location = new System.Drawing.Point(48, 222);
|
|
|
|
|
|
|
+ this.label3.Location = new System.Drawing.Point(54, 201);
|
|
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
this.label3.Name = "label3";
|
|
this.label3.Name = "label3";
|
|
|
this.label3.Size = new System.Drawing.Size(133, 38);
|
|
this.label3.Size = new System.Drawing.Size(133, 38);
|
|
|
this.label3.TabIndex = 19;
|
|
this.label3.TabIndex = 19;
|
|
|
this.label3.Text = "设备选择";
|
|
this.label3.Text = "设备选择";
|
|
|
//
|
|
//
|
|
|
|
|
+ // ATEFile
|
|
|
|
|
+ //
|
|
|
|
|
+ this.ATEFile.EnableRaisingEvents = true;
|
|
|
|
|
+ this.ATEFile.Filter = "*.ini";
|
|
|
|
|
+ this.ATEFile.SynchronizingObject = this;
|
|
|
|
|
+ //
|
|
|
// AutoAnalysisDevice
|
|
// AutoAnalysisDevice
|
|
|
//
|
|
//
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
@@ -252,10 +265,11 @@
|
|
|
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
this.MaximizeBox = false;
|
|
this.MaximizeBox = false;
|
|
|
this.Name = "AutoAnalysisDevice";
|
|
this.Name = "AutoAnalysisDevice";
|
|
|
- this.Text = "UAS自动过站解析器 2022-07-20 15:05";
|
|
|
|
|
|
|
+ this.Text = "UAS设备数据解析 2023-06-29 10:05";
|
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).EndInit();
|
|
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).EndInit();
|
|
|
this.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
this.PerformLayout();
|
|
this.PerformLayout();
|
|
|
|
|
|
|
@@ -281,6 +295,7 @@
|
|
|
private System.Windows.Forms.Timer Timer;
|
|
private System.Windows.Forms.Timer Timer;
|
|
|
private System.Windows.Forms.ComboBox Device;
|
|
private System.Windows.Forms.ComboBox Device;
|
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label3;
|
|
|
|
|
+ private System.IO.FileSystemWatcher ATEFile;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|