AutoMakeQTY.Designer.cs 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. namespace FileWatcher
  2. {
  3. partial class AutoMakeQTY
  4. {
  5. /// <summary>
  6. /// 必需的设计器变量。
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// 清理所有正在使用的资源。
  11. /// </summary>
  12. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows 窗体设计器生成的代码
  22. /// <summary>
  23. /// 设计器支持所需的方法 - 不要修改
  24. /// 使用代码编辑器修改此方法的内容。
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. this.XmlWatcher = new System.IO.FileSystemWatcher();
  30. this.XmlFolder = new System.Windows.Forms.FolderBrowserDialog();
  31. this.StartWatch = new System.Windows.Forms.Button();
  32. this.StopWatch = new System.Windows.Forms.Button();
  33. this.OperateResult = new System.Windows.Forms.RichTextBox();
  34. this.Clean = new System.Windows.Forms.Button();
  35. this.MakeCode_lable = new System.Windows.Forms.Label();
  36. this.ma_code = new System.Windows.Forms.TextBox();
  37. this.Timer = new System.Windows.Forms.Timer(this.components);
  38. this.ATEFile = new System.IO.FileSystemWatcher();
  39. this.Type = new System.Windows.Forms.ComboBox();
  40. this.label1 = new System.Windows.Forms.Label();
  41. this.AutoStart = new System.Windows.Forms.CheckBox();
  42. this.label2 = new System.Windows.Forms.Label();
  43. this.label3 = new System.Windows.Forms.Label();
  44. this.BaudRate = new System.Windows.Forms.TextBox();
  45. this.ComPort = new FileWatcher.SerialPortCombox();
  46. ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
  47. ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).BeginInit();
  48. this.SuspendLayout();
  49. //
  50. // XmlWatcher
  51. //
  52. this.XmlWatcher.EnableRaisingEvents = true;
  53. this.XmlWatcher.Filter = "*.log";
  54. this.XmlWatcher.SynchronizingObject = this;
  55. //
  56. // StartWatch
  57. //
  58. this.StartWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  59. this.StartWatch.Location = new System.Drawing.Point(290, 557);
  60. this.StartWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  61. this.StartWatch.Name = "StartWatch";
  62. this.StartWatch.Size = new System.Drawing.Size(128, 56);
  63. this.StartWatch.TabIndex = 0;
  64. this.StartWatch.Text = "开始监控";
  65. this.StartWatch.UseVisualStyleBackColor = true;
  66. this.StartWatch.Click += new System.EventHandler(this.StartWatch_Click);
  67. //
  68. // StopWatch
  69. //
  70. this.StopWatch.Enabled = false;
  71. this.StopWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  72. this.StopWatch.Location = new System.Drawing.Point(498, 557);
  73. this.StopWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  74. this.StopWatch.Name = "StopWatch";
  75. this.StopWatch.Size = new System.Drawing.Size(128, 56);
  76. this.StopWatch.TabIndex = 1;
  77. this.StopWatch.Text = "停止监控";
  78. this.StopWatch.UseVisualStyleBackColor = true;
  79. this.StopWatch.Click += new System.EventHandler(this.StopWatch_Click);
  80. //
  81. // OperateResult
  82. //
  83. this.OperateResult.Location = new System.Drawing.Point(892, 22);
  84. this.OperateResult.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  85. this.OperateResult.Name = "OperateResult";
  86. this.OperateResult.Size = new System.Drawing.Size(517, 535);
  87. this.OperateResult.TabIndex = 7;
  88. this.OperateResult.Text = "";
  89. //
  90. // Clean
  91. //
  92. this.Clean.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  93. this.Clean.Location = new System.Drawing.Point(1096, 580);
  94. this.Clean.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  95. this.Clean.Name = "Clean";
  96. this.Clean.Size = new System.Drawing.Size(112, 48);
  97. this.Clean.TabIndex = 8;
  98. this.Clean.Text = "清除";
  99. this.Clean.UseVisualStyleBackColor = true;
  100. this.Clean.Click += new System.EventHandler(this.Clean_Click);
  101. //
  102. // MakeCode_lable
  103. //
  104. this.MakeCode_lable.AutoSize = true;
  105. this.MakeCode_lable.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  106. this.MakeCode_lable.Location = new System.Drawing.Point(34, 220);
  107. this.MakeCode_lable.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  108. this.MakeCode_lable.Name = "MakeCode_lable";
  109. this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
  110. this.MakeCode_lable.TabIndex = 12;
  111. this.MakeCode_lable.Text = "工单号";
  112. //
  113. // ma_code
  114. //
  115. this.ma_code.Location = new System.Drawing.Point(204, 220);
  116. this.ma_code.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  117. this.ma_code.Name = "ma_code";
  118. this.ma_code.Size = new System.Drawing.Size(436, 35);
  119. this.ma_code.TabIndex = 17;
  120. //
  121. // Timer
  122. //
  123. this.Timer.Interval = 5000;
  124. this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
  125. //
  126. // ATEFile
  127. //
  128. this.ATEFile.EnableRaisingEvents = true;
  129. this.ATEFile.Filter = "*.txt";
  130. this.ATEFile.SynchronizingObject = this;
  131. //
  132. // Type
  133. //
  134. this.Type.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  135. this.Type.FormattingEnabled = true;
  136. this.Type.Items.AddRange(new object[] {
  137. "投入",
  138. "产出"});
  139. this.Type.Location = new System.Drawing.Point(204, 317);
  140. this.Type.Name = "Type";
  141. this.Type.Size = new System.Drawing.Size(436, 32);
  142. this.Type.TabIndex = 18;
  143. //
  144. // label1
  145. //
  146. this.label1.AutoSize = true;
  147. this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  148. this.label1.Location = new System.Drawing.Point(34, 311);
  149. this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  150. this.label1.Name = "label1";
  151. this.label1.Size = new System.Drawing.Size(75, 38);
  152. this.label1.TabIndex = 19;
  153. this.label1.Text = "类型";
  154. //
  155. // AutoStart
  156. //
  157. this.AutoStart.AutoSize = true;
  158. this.AutoStart.Checked = true;
  159. this.AutoStart.CheckState = System.Windows.Forms.CheckState.Checked;
  160. this.AutoStart.Location = new System.Drawing.Point(678, 227);
  161. this.AutoStart.Name = "AutoStart";
  162. this.AutoStart.Size = new System.Drawing.Size(186, 28);
  163. this.AutoStart.TabIndex = 20;
  164. this.AutoStart.Text = "开机自动启动";
  165. this.AutoStart.UseVisualStyleBackColor = true;
  166. //
  167. // label2
  168. //
  169. this.label2.AutoSize = true;
  170. this.label2.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  171. this.label2.Location = new System.Drawing.Point(34, 120);
  172. this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  173. this.label2.Name = "label2";
  174. this.label2.Size = new System.Drawing.Size(75, 38);
  175. this.label2.TabIndex = 22;
  176. this.label2.Text = "串口";
  177. this.label2.Visible = false;
  178. //
  179. // label3
  180. //
  181. this.label3.AutoSize = true;
  182. this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  183. this.label3.Location = new System.Drawing.Point(426, 120);
  184. this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  185. this.label3.Name = "label3";
  186. this.label3.Size = new System.Drawing.Size(104, 38);
  187. this.label3.TabIndex = 23;
  188. this.label3.Text = "波特率";
  189. //
  190. // BaudRate
  191. //
  192. this.BaudRate.Location = new System.Drawing.Point(564, 120);
  193. this.BaudRate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  194. this.BaudRate.Name = "BaudRate";
  195. this.BaudRate.Size = new System.Drawing.Size(146, 35);
  196. this.BaudRate.TabIndex = 24;
  197. //
  198. // ComPort
  199. //
  200. this.ComPort.Location = new System.Drawing.Point(204, 120);
  201. this.ComPort.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  202. this.ComPort.Name = "ComPort";
  203. this.ComPort.Size = new System.Drawing.Size(176, 40);
  204. this.ComPort.TabIndex = 21;
  205. //
  206. // AutoMakeQTY
  207. //
  208. this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
  209. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  210. this.ClientSize = new System.Drawing.Size(1443, 640);
  211. this.Controls.Add(this.BaudRate);
  212. this.Controls.Add(this.label3);
  213. this.Controls.Add(this.label2);
  214. this.Controls.Add(this.ComPort);
  215. this.Controls.Add(this.AutoStart);
  216. this.Controls.Add(this.label1);
  217. this.Controls.Add(this.Type);
  218. this.Controls.Add(this.ma_code);
  219. this.Controls.Add(this.MakeCode_lable);
  220. this.Controls.Add(this.Clean);
  221. this.Controls.Add(this.OperateResult);
  222. this.Controls.Add(this.StopWatch);
  223. this.Controls.Add(this.StartWatch);
  224. this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  225. this.MaximizeBox = false;
  226. this.Name = "AutoMakeQTY";
  227. this.Text = "UAS设备数据解析 2023-06-29 10:05";
  228. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
  229. this.Load += new System.EventHandler(this.Form1_Load);
  230. ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).EndInit();
  231. ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).EndInit();
  232. this.ResumeLayout(false);
  233. this.PerformLayout();
  234. }
  235. #endregion
  236. private System.IO.FileSystemWatcher XmlWatcher;
  237. private System.Windows.Forms.FolderBrowserDialog XmlFolder;
  238. private System.Windows.Forms.Button StopWatch;
  239. private System.Windows.Forms.Button StartWatch;
  240. private System.Windows.Forms.RichTextBox OperateResult;
  241. private System.Windows.Forms.Button Clean;
  242. private System.Windows.Forms.Label MakeCode_lable;
  243. private System.Windows.Forms.TextBox ma_code;
  244. private System.Windows.Forms.Timer Timer;
  245. private System.IO.FileSystemWatcher ATEFile;
  246. private System.Windows.Forms.ComboBox Type;
  247. private System.Windows.Forms.Label label1;
  248. private System.Windows.Forms.CheckBox AutoStart;
  249. private SerialPortCombox ComPort;
  250. private System.Windows.Forms.Label label2;
  251. private System.Windows.Forms.Label label3;
  252. private System.Windows.Forms.TextBox BaudRate;
  253. }
  254. }