|
@@ -0,0 +1,286 @@
|
|
|
+namespace FileWatcher
|
|
|
+{
|
|
|
+ partial class AutoAnalysisDevice
|
|
|
+ {
|
|
|
+ /// <summary>
|
|
|
+ /// 必需的设计器变量。
|
|
|
+ /// </summary>
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 清理所有正在使用的资源。
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 设计器支持所需的方法 - 不要修改
|
|
|
+ /// 使用代码编辑器修改此方法的内容。
|
|
|
+ /// </summary>
|
|
|
+ private void InitializeComponent()
|
|
|
+ {
|
|
|
+ this.components = new System.ComponentModel.Container();
|
|
|
+ this.XmlWatcher = new System.IO.FileSystemWatcher();
|
|
|
+ this.XmlFolder = new System.Windows.Forms.FolderBrowserDialog();
|
|
|
+ this.StartWatch = new System.Windows.Forms.Button();
|
|
|
+ this.StopWatch = new System.Windows.Forms.Button();
|
|
|
+ this.label1 = new System.Windows.Forms.Label();
|
|
|
+ this.FolderPath = new System.Windows.Forms.TextBox();
|
|
|
+ this.ChooseFolder = new System.Windows.Forms.Button();
|
|
|
+ this.OperateResult = new System.Windows.Forms.RichTextBox();
|
|
|
+ this.Clean = new System.Windows.Forms.Button();
|
|
|
+ this.MakeCode_lable = new System.Windows.Forms.Label();
|
|
|
+ this.label4 = new System.Windows.Forms.Label();
|
|
|
+ this.Master = new System.Windows.Forms.ComboBox();
|
|
|
+ this.AutoStart = new System.Windows.Forms.CheckBox();
|
|
|
+ this.ma_code = new System.Windows.Forms.TextBox();
|
|
|
+ this.BatchAnalysus = new System.Windows.Forms.Button();
|
|
|
+ this.Timer = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.Device = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+ //
|
|
|
+ // XmlWatcher
|
|
|
+ //
|
|
|
+ this.XmlWatcher.EnableRaisingEvents = true;
|
|
|
+ this.XmlWatcher.Filter = "*.xml";
|
|
|
+ this.XmlWatcher.SynchronizingObject = this;
|
|
|
+ //
|
|
|
+ // StartWatch
|
|
|
+ //
|
|
|
+ this.StartWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.StartWatch.Location = new System.Drawing.Point(290, 557);
|
|
|
+ this.StartWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.StartWatch.Name = "StartWatch";
|
|
|
+ this.StartWatch.Size = new System.Drawing.Size(128, 56);
|
|
|
+ this.StartWatch.TabIndex = 0;
|
|
|
+ this.StartWatch.Text = "开始监控";
|
|
|
+ this.StartWatch.UseVisualStyleBackColor = true;
|
|
|
+ this.StartWatch.Click += new System.EventHandler(this.StartWatch_Click);
|
|
|
+ //
|
|
|
+ // StopWatch
|
|
|
+ //
|
|
|
+ this.StopWatch.Enabled = false;
|
|
|
+ this.StopWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.StopWatch.Location = new System.Drawing.Point(498, 557);
|
|
|
+ this.StopWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.StopWatch.Name = "StopWatch";
|
|
|
+ this.StopWatch.Size = new System.Drawing.Size(128, 56);
|
|
|
+ this.StopWatch.TabIndex = 1;
|
|
|
+ this.StopWatch.Text = "停止监控";
|
|
|
+ this.StopWatch.UseVisualStyleBackColor = true;
|
|
|
+ this.StopWatch.Click += new System.EventHandler(this.StopWatch_Click);
|
|
|
+ //
|
|
|
+ // label1
|
|
|
+ //
|
|
|
+ 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.Location = new System.Drawing.Point(48, 400);
|
|
|
+ this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label1.Name = "label1";
|
|
|
+ this.label1.Size = new System.Drawing.Size(162, 38);
|
|
|
+ this.label1.TabIndex = 2;
|
|
|
+ this.label1.Text = "监控文件夹";
|
|
|
+ //
|
|
|
+ // FolderPath
|
|
|
+ //
|
|
|
+ this.FolderPath.Enabled = false;
|
|
|
+ this.FolderPath.Location = new System.Drawing.Point(218, 400);
|
|
|
+ this.FolderPath.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.FolderPath.Name = "FolderPath";
|
|
|
+ this.FolderPath.Size = new System.Drawing.Size(436, 35);
|
|
|
+ this.FolderPath.TabIndex = 3;
|
|
|
+ //
|
|
|
+ // ChooseFolder
|
|
|
+ //
|
|
|
+ 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.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.ChooseFolder.Name = "ChooseFolder";
|
|
|
+ this.ChooseFolder.Size = new System.Drawing.Size(156, 48);
|
|
|
+ this.ChooseFolder.TabIndex = 6;
|
|
|
+ this.ChooseFolder.Text = "选择文件夹";
|
|
|
+ this.ChooseFolder.UseVisualStyleBackColor = true;
|
|
|
+ this.ChooseFolder.Click += new System.EventHandler(this.ChooseFolder_Click);
|
|
|
+ //
|
|
|
+ // OperateResult
|
|
|
+ //
|
|
|
+ this.OperateResult.Location = new System.Drawing.Point(892, 22);
|
|
|
+ this.OperateResult.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.OperateResult.Name = "OperateResult";
|
|
|
+ this.OperateResult.Size = new System.Drawing.Size(517, 535);
|
|
|
+ this.OperateResult.TabIndex = 7;
|
|
|
+ this.OperateResult.Text = "";
|
|
|
+ //
|
|
|
+ // Clean
|
|
|
+ //
|
|
|
+ this.Clean.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.Clean.Location = new System.Drawing.Point(1096, 580);
|
|
|
+ this.Clean.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.Clean.Name = "Clean";
|
|
|
+ this.Clean.Size = new System.Drawing.Size(112, 48);
|
|
|
+ this.Clean.TabIndex = 8;
|
|
|
+ this.Clean.Text = "清除";
|
|
|
+ this.Clean.UseVisualStyleBackColor = true;
|
|
|
+ this.Clean.Click += new System.EventHandler(this.Clean_Click);
|
|
|
+ //
|
|
|
+ // MakeCode_lable
|
|
|
+ //
|
|
|
+ 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.Location = new System.Drawing.Point(48, 311);
|
|
|
+ this.MakeCode_lable.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.MakeCode_lable.Name = "MakeCode_lable";
|
|
|
+ this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
|
|
|
+ this.MakeCode_lable.TabIndex = 12;
|
|
|
+ this.MakeCode_lable.Text = "工单号";
|
|
|
+ //
|
|
|
+ // label4
|
|
|
+ //
|
|
|
+ this.label4.AutoSize = true;
|
|
|
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
+ this.label4.Location = new System.Drawing.Point(54, 46);
|
|
|
+ this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label4.Name = "label4";
|
|
|
+ this.label4.Size = new System.Drawing.Size(133, 38);
|
|
|
+ this.label4.TabIndex = 14;
|
|
|
+ this.label4.Text = "账套选择";
|
|
|
+ this.label4.Visible = false;
|
|
|
+ //
|
|
|
+ // Master
|
|
|
+ //
|
|
|
+ this.Master.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.Master.FormattingEnabled = true;
|
|
|
+ this.Master.Location = new System.Drawing.Point(224, 46);
|
|
|
+ this.Master.Margin = new System.Windows.Forms.Padding(6);
|
|
|
+ this.Master.Name = "Master";
|
|
|
+ this.Master.Size = new System.Drawing.Size(436, 32);
|
|
|
+ this.Master.TabIndex = 15;
|
|
|
+ //
|
|
|
+ // AutoStart
|
|
|
+ //
|
|
|
+ this.AutoStart.AutoSize = true;
|
|
|
+ this.AutoStart.Location = new System.Drawing.Point(686, 51);
|
|
|
+ this.AutoStart.Margin = new System.Windows.Forms.Padding(6);
|
|
|
+ this.AutoStart.Name = "AutoStart";
|
|
|
+ this.AutoStart.Size = new System.Drawing.Size(186, 28);
|
|
|
+ this.AutoStart.TabIndex = 16;
|
|
|
+ this.AutoStart.Text = "开机自动启动";
|
|
|
+ this.AutoStart.UseVisualStyleBackColor = true;
|
|
|
+ this.AutoStart.Visible = false;
|
|
|
+ this.AutoStart.CheckedChanged += new System.EventHandler(this.AutoStart_CheckedChanged);
|
|
|
+ //
|
|
|
+ // ma_code
|
|
|
+ //
|
|
|
+ this.ma_code.Location = new System.Drawing.Point(218, 311);
|
|
|
+ this.ma_code.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.ma_code.Name = "ma_code";
|
|
|
+ this.ma_code.Size = new System.Drawing.Size(436, 35);
|
|
|
+ this.ma_code.TabIndex = 17;
|
|
|
+ //
|
|
|
+ // BatchAnalysus
|
|
|
+ //
|
|
|
+ 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.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.BatchAnalysus.Name = "BatchAnalysus";
|
|
|
+ this.BatchAnalysus.Size = new System.Drawing.Size(156, 48);
|
|
|
+ this.BatchAnalysus.TabIndex = 18;
|
|
|
+ this.BatchAnalysus.Text = "批量解析";
|
|
|
+ this.BatchAnalysus.UseVisualStyleBackColor = true;
|
|
|
+ this.BatchAnalysus.Click += new System.EventHandler(this.BatchAnalysus_Click);
|
|
|
+ //
|
|
|
+ // Timer
|
|
|
+ //
|
|
|
+ this.Timer.Interval = 10000;
|
|
|
+ this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
|
|
|
+ //
|
|
|
+ // Device
|
|
|
+ //
|
|
|
+ this.Device.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
|
+ this.Device.FormattingEnabled = true;
|
|
|
+ this.Device.Items.AddRange(new object[] {
|
|
|
+ "ATE设备",
|
|
|
+ "老化设备"});
|
|
|
+ this.Device.Location = new System.Drawing.Point(218, 222);
|
|
|
+ this.Device.Margin = new System.Windows.Forms.Padding(6);
|
|
|
+ this.Device.Name = "Device";
|
|
|
+ this.Device.Size = new System.Drawing.Size(436, 32);
|
|
|
+ this.Device.TabIndex = 20;
|
|
|
+ //
|
|
|
+ // label3
|
|
|
+ //
|
|
|
+ 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.Location = new System.Drawing.Point(48, 222);
|
|
|
+ this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
|
+ this.label3.Name = "label3";
|
|
|
+ this.label3.Size = new System.Drawing.Size(133, 38);
|
|
|
+ this.label3.TabIndex = 19;
|
|
|
+ this.label3.Text = "设备选择";
|
|
|
+ //
|
|
|
+ // AutoAnalysisDevice
|
|
|
+ //
|
|
|
+ this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
|
|
|
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
+ this.ClientSize = new System.Drawing.Size(1443, 640);
|
|
|
+ this.Controls.Add(this.Device);
|
|
|
+ this.Controls.Add(this.label3);
|
|
|
+ this.Controls.Add(this.BatchAnalysus);
|
|
|
+ this.Controls.Add(this.ma_code);
|
|
|
+ this.Controls.Add(this.AutoStart);
|
|
|
+ this.Controls.Add(this.Master);
|
|
|
+ this.Controls.Add(this.label4);
|
|
|
+ this.Controls.Add(this.MakeCode_lable);
|
|
|
+ this.Controls.Add(this.Clean);
|
|
|
+ this.Controls.Add(this.OperateResult);
|
|
|
+ this.Controls.Add(this.ChooseFolder);
|
|
|
+ this.Controls.Add(this.FolderPath);
|
|
|
+ this.Controls.Add(this.label1);
|
|
|
+ this.Controls.Add(this.StopWatch);
|
|
|
+ this.Controls.Add(this.StartWatch);
|
|
|
+ this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
|
|
|
+ this.MaximizeBox = false;
|
|
|
+ this.Name = "AutoAnalysisDevice";
|
|
|
+ this.Text = "UAS自动过站解析器 2022-07-20 15:05";
|
|
|
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
|
+ this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).EndInit();
|
|
|
+ this.ResumeLayout(false);
|
|
|
+ this.PerformLayout();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ private System.IO.FileSystemWatcher XmlWatcher;
|
|
|
+ private System.Windows.Forms.FolderBrowserDialog XmlFolder;
|
|
|
+ private System.Windows.Forms.Button StopWatch;
|
|
|
+ private System.Windows.Forms.Button StartWatch;
|
|
|
+ private System.Windows.Forms.Label label1;
|
|
|
+ private System.Windows.Forms.TextBox FolderPath;
|
|
|
+ private System.Windows.Forms.Button ChooseFolder;
|
|
|
+ private System.Windows.Forms.RichTextBox OperateResult;
|
|
|
+ private System.Windows.Forms.Button Clean;
|
|
|
+ private System.Windows.Forms.Label MakeCode_lable;
|
|
|
+ private System.Windows.Forms.ComboBox Master;
|
|
|
+ private System.Windows.Forms.Label label4;
|
|
|
+ private System.Windows.Forms.CheckBox AutoStart;
|
|
|
+ private System.Windows.Forms.TextBox ma_code;
|
|
|
+ private System.Windows.Forms.Button BatchAnalysus;
|
|
|
+ private System.Windows.Forms.Timer Timer;
|
|
|
+ private System.Windows.Forms.ComboBox Device;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|