|
@@ -0,0 +1,229 @@
|
|
|
+namespace FileWatcher
|
|
|
+{
|
|
|
+ partial class AutoAnalysisDeviceKS
|
|
|
+ {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ private System.ComponentModel.IContainer components = null;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ protected override void Dispose(bool disposing)
|
|
|
+ {
|
|
|
+ if (disposing && (components != null))
|
|
|
+ {
|
|
|
+ components.Dispose();
|
|
|
+ }
|
|
|
+ base.Dispose(disposing);
|
|
|
+ }
|
|
|
+
|
|
|
+ #region Windows 窗体设计器生成的代码
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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.AutoStart = new System.Windows.Forms.CheckBox();
|
|
|
+ this.Timer = new System.Windows.Forms.Timer(this.components);
|
|
|
+ this.Device = new System.Windows.Forms.ComboBox();
|
|
|
+ this.label3 = new System.Windows.Forms.Label();
|
|
|
+ this.ATEFile = new System.IO.FileSystemWatcher();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).BeginInit();
|
|
|
+ this.SuspendLayout();
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.XmlWatcher.EnableRaisingEvents = true;
|
|
|
+ this.XmlWatcher.Filter = "*.log";
|
|
|
+ this.XmlWatcher.SynchronizingObject = this;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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, 283);
|
|
|
+ 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 = "监控文件夹";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.FolderPath.Enabled = false;
|
|
|
+ this.FolderPath.Location = new System.Drawing.Point(218, 283);
|
|
|
+ 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;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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, 277);
|
|
|
+ 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);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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 = "";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.AutoStart.AutoSize = true;
|
|
|
+ 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.Name = "AutoStart";
|
|
|
+ this.AutoStart.Size = new System.Drawing.Size(186, 28);
|
|
|
+ this.AutoStart.TabIndex = 16;
|
|
|
+ this.AutoStart.Text = "开机自动启动";
|
|
|
+ this.AutoStart.UseVisualStyleBackColor = true;
|
|
|
+ this.AutoStart.CheckedChanged += new System.EventHandler(this.AutoStart_CheckedChanged);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.Timer.Interval = 60000;
|
|
|
+ this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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(224, 201);
|
|
|
+ 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;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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(54, 195);
|
|
|
+ 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 = "设备选择";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ this.ATEFile.EnableRaisingEvents = true;
|
|
|
+ this.ATEFile.Filter = "*.txt";
|
|
|
+ this.ATEFile.SynchronizingObject = this;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ 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.AutoStart);
|
|
|
+ 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 = "AutoAnalysisDeviceKS";
|
|
|
+ this.Text = "UAS设备数据解析 2025-03-18 10: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();
|
|
|
+ ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).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.CheckBox AutoStart;
|
|
|
+ private System.Windows.Forms.Timer Timer;
|
|
|
+ private System.Windows.Forms.ComboBox Device;
|
|
|
+ private System.Windows.Forms.Label label3;
|
|
|
+ private System.IO.FileSystemWatcher ATEFile;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|