AutoMakeQTY.Designer.cs 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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. this.NowQTY = new System.Windows.Forms.TextBox();
  47. this.label4 = new System.Windows.Forms.Label();
  48. ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).BeginInit();
  49. ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).BeginInit();
  50. this.SuspendLayout();
  51. //
  52. // XmlWatcher
  53. //
  54. this.XmlWatcher.EnableRaisingEvents = true;
  55. this.XmlWatcher.Filter = "*.log";
  56. this.XmlWatcher.SynchronizingObject = this;
  57. //
  58. // StartWatch
  59. //
  60. this.StartWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  61. this.StartWatch.Location = new System.Drawing.Point(290, 557);
  62. this.StartWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  63. this.StartWatch.Name = "StartWatch";
  64. this.StartWatch.Size = new System.Drawing.Size(128, 56);
  65. this.StartWatch.TabIndex = 0;
  66. this.StartWatch.Text = "开始监控";
  67. this.StartWatch.UseVisualStyleBackColor = true;
  68. this.StartWatch.Click += new System.EventHandler(this.StartWatch_Click);
  69. //
  70. // StopWatch
  71. //
  72. this.StopWatch.Enabled = false;
  73. this.StopWatch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  74. this.StopWatch.Location = new System.Drawing.Point(498, 557);
  75. this.StopWatch.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  76. this.StopWatch.Name = "StopWatch";
  77. this.StopWatch.Size = new System.Drawing.Size(128, 56);
  78. this.StopWatch.TabIndex = 1;
  79. this.StopWatch.Text = "停止监控";
  80. this.StopWatch.UseVisualStyleBackColor = true;
  81. this.StopWatch.Click += new System.EventHandler(this.StopWatch_Click);
  82. //
  83. // OperateResult
  84. //
  85. this.OperateResult.Location = new System.Drawing.Point(892, 22);
  86. this.OperateResult.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  87. this.OperateResult.Name = "OperateResult";
  88. this.OperateResult.Size = new System.Drawing.Size(517, 535);
  89. this.OperateResult.TabIndex = 7;
  90. this.OperateResult.Text = "";
  91. //
  92. // Clean
  93. //
  94. this.Clean.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  95. this.Clean.Location = new System.Drawing.Point(1096, 580);
  96. this.Clean.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  97. this.Clean.Name = "Clean";
  98. this.Clean.Size = new System.Drawing.Size(112, 48);
  99. this.Clean.TabIndex = 8;
  100. this.Clean.Text = "清除";
  101. this.Clean.UseVisualStyleBackColor = true;
  102. this.Clean.Click += new System.EventHandler(this.Clean_Click);
  103. //
  104. // MakeCode_lable
  105. //
  106. this.MakeCode_lable.AutoSize = true;
  107. this.MakeCode_lable.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  108. this.MakeCode_lable.Location = new System.Drawing.Point(34, 220);
  109. this.MakeCode_lable.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  110. this.MakeCode_lable.Name = "MakeCode_lable";
  111. this.MakeCode_lable.Size = new System.Drawing.Size(104, 38);
  112. this.MakeCode_lable.TabIndex = 12;
  113. this.MakeCode_lable.Text = "工单号";
  114. //
  115. // ma_code
  116. //
  117. this.ma_code.Location = new System.Drawing.Point(204, 220);
  118. this.ma_code.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  119. this.ma_code.Name = "ma_code";
  120. this.ma_code.Size = new System.Drawing.Size(436, 35);
  121. this.ma_code.TabIndex = 17;
  122. //
  123. // Timer
  124. //
  125. this.Timer.Interval = 2000;
  126. this.Timer.Tick += new System.EventHandler(this.Timer_Tick);
  127. //
  128. // ATEFile
  129. //
  130. this.ATEFile.EnableRaisingEvents = true;
  131. this.ATEFile.Filter = "*.txt";
  132. this.ATEFile.SynchronizingObject = this;
  133. //
  134. // Type
  135. //
  136. this.Type.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  137. this.Type.FormattingEnabled = true;
  138. this.Type.Items.AddRange(new object[] {
  139. "投入",
  140. "产出"});
  141. this.Type.Location = new System.Drawing.Point(204, 317);
  142. this.Type.Name = "Type";
  143. this.Type.Size = new System.Drawing.Size(436, 32);
  144. this.Type.TabIndex = 18;
  145. //
  146. // label1
  147. //
  148. this.label1.AutoSize = true;
  149. this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  150. this.label1.Location = new System.Drawing.Point(34, 311);
  151. this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  152. this.label1.Name = "label1";
  153. this.label1.Size = new System.Drawing.Size(75, 38);
  154. this.label1.TabIndex = 19;
  155. this.label1.Text = "类型";
  156. //
  157. // AutoStart
  158. //
  159. this.AutoStart.AutoSize = true;
  160. this.AutoStart.Checked = true;
  161. this.AutoStart.CheckState = System.Windows.Forms.CheckState.Checked;
  162. this.AutoStart.Location = new System.Drawing.Point(678, 227);
  163. this.AutoStart.Name = "AutoStart";
  164. this.AutoStart.Size = new System.Drawing.Size(186, 28);
  165. this.AutoStart.TabIndex = 20;
  166. this.AutoStart.Text = "开机自动启动";
  167. this.AutoStart.UseVisualStyleBackColor = true;
  168. //
  169. // label2
  170. //
  171. this.label2.AutoSize = true;
  172. this.label2.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  173. this.label2.Location = new System.Drawing.Point(34, 120);
  174. this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  175. this.label2.Name = "label2";
  176. this.label2.Size = new System.Drawing.Size(75, 38);
  177. this.label2.TabIndex = 22;
  178. this.label2.Text = "串口";
  179. //
  180. // label3
  181. //
  182. this.label3.AutoSize = true;
  183. this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  184. this.label3.Location = new System.Drawing.Point(426, 120);
  185. this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  186. this.label3.Name = "label3";
  187. this.label3.Size = new System.Drawing.Size(104, 38);
  188. this.label3.TabIndex = 23;
  189. this.label3.Text = "波特率";
  190. //
  191. // BaudRate
  192. //
  193. this.BaudRate.Location = new System.Drawing.Point(564, 120);
  194. this.BaudRate.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  195. this.BaudRate.Name = "BaudRate";
  196. this.BaudRate.Size = new System.Drawing.Size(146, 35);
  197. this.BaudRate.TabIndex = 24;
  198. //
  199. // ComPort
  200. //
  201. this.ComPort.Location = new System.Drawing.Point(204, 120);
  202. this.ComPort.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  203. this.ComPort.Name = "ComPort";
  204. this.ComPort.Size = new System.Drawing.Size(176, 40);
  205. this.ComPort.TabIndex = 21;
  206. //
  207. // NowQTY
  208. //
  209. this.NowQTY.Location = new System.Drawing.Point(204, 409);
  210. this.NowQTY.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  211. this.NowQTY.Name = "NowQTY";
  212. this.NowQTY.Size = new System.Drawing.Size(146, 35);
  213. this.NowQTY.TabIndex = 26;
  214. //
  215. // label4
  216. //
  217. this.label4.AutoSize = true;
  218. this.label4.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  219. this.label4.Location = new System.Drawing.Point(34, 406);
  220. this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
  221. this.label4.Name = "label4";
  222. this.label4.Size = new System.Drawing.Size(133, 38);
  223. this.label4.TabIndex = 25;
  224. this.label4.Text = "当前计数";
  225. //
  226. // AutoMakeQTY
  227. //
  228. this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
  229. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  230. this.ClientSize = new System.Drawing.Size(1443, 640);
  231. this.Controls.Add(this.NowQTY);
  232. this.Controls.Add(this.label4);
  233. this.Controls.Add(this.BaudRate);
  234. this.Controls.Add(this.label3);
  235. this.Controls.Add(this.label2);
  236. this.Controls.Add(this.ComPort);
  237. this.Controls.Add(this.AutoStart);
  238. this.Controls.Add(this.label1);
  239. this.Controls.Add(this.Type);
  240. this.Controls.Add(this.ma_code);
  241. this.Controls.Add(this.MakeCode_lable);
  242. this.Controls.Add(this.Clean);
  243. this.Controls.Add(this.OperateResult);
  244. this.Controls.Add(this.StopWatch);
  245. this.Controls.Add(this.StartWatch);
  246. this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
  247. this.MaximizeBox = false;
  248. this.Name = "AutoMakeQTY";
  249. this.Text = "UAS设备数据解析 2023-06-29 10:05";
  250. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
  251. this.Load += new System.EventHandler(this.Form1_Load);
  252. ((System.ComponentModel.ISupportInitialize)(this.XmlWatcher)).EndInit();
  253. ((System.ComponentModel.ISupportInitialize)(this.ATEFile)).EndInit();
  254. this.ResumeLayout(false);
  255. this.PerformLayout();
  256. }
  257. #endregion
  258. private System.IO.FileSystemWatcher XmlWatcher;
  259. private System.Windows.Forms.FolderBrowserDialog XmlFolder;
  260. private System.Windows.Forms.Button StopWatch;
  261. private System.Windows.Forms.Button StartWatch;
  262. private System.Windows.Forms.RichTextBox OperateResult;
  263. private System.Windows.Forms.Button Clean;
  264. private System.Windows.Forms.Label MakeCode_lable;
  265. private System.Windows.Forms.TextBox ma_code;
  266. private System.Windows.Forms.Timer Timer;
  267. private System.IO.FileSystemWatcher ATEFile;
  268. private System.Windows.Forms.ComboBox Type;
  269. private System.Windows.Forms.Label label1;
  270. private System.Windows.Forms.CheckBox AutoStart;
  271. private SerialPortCombox ComPort;
  272. private System.Windows.Forms.Label label2;
  273. private System.Windows.Forms.Label label3;
  274. private System.Windows.Forms.TextBox BaudRate;
  275. private System.Windows.Forms.TextBox NowQTY;
  276. private System.Windows.Forms.Label label4;
  277. }
  278. }