革博士程序V1仓库
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

447 строки
21 KiB

  1. namespace LeatherApp
  2. {
  3. partial class Form2
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, 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 Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
  30. this.IPAdrees = new System.Windows.Forms.TextBox();
  31. this.label1 = new System.Windows.Forms.Label();
  32. this.label2 = new System.Windows.Forms.Label();
  33. this.label3 = new System.Windows.Forms.Label();
  34. this.ConnectButton = new System.Windows.Forms.Button();
  35. this.DisConnectButton = new System.Windows.Forms.Button();
  36. this.groupBox1 = new System.Windows.Forms.GroupBox();
  37. this.txtResult = new System.Windows.Forms.TextBox();
  38. this.BitSelect = new System.Windows.Forms.NumericUpDown();
  39. this.DateType = new System.Windows.Forms.ComboBox();
  40. this.label8 = new System.Windows.Forms.Label();
  41. this.label9 = new System.Windows.Forms.Label();
  42. this.label7 = new System.Windows.Forms.Label();
  43. this.WriteText = new System.Windows.Forms.TextBox();
  44. this.StartText = new System.Windows.Forms.NumericUpDown();
  45. this.DBText = new System.Windows.Forms.NumericUpDown();
  46. this.Writebutton = new System.Windows.Forms.Button();
  47. this.Readbutton = new System.Windows.Forms.Button();
  48. this.label5 = new System.Windows.Forms.Label();
  49. this.label6 = new System.Windows.Forms.Label();
  50. this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
  51. this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
  52. this.PLCType = new System.Windows.Forms.ComboBox();
  53. this.label4 = new System.Windows.Forms.Label();
  54. this.groupBox2 = new System.Windows.Forms.GroupBox();
  55. this.ConnecteState = new System.Windows.Forms.Label();
  56. this.Solt = new System.Windows.Forms.NumericUpDown();
  57. this.rackN = new System.Windows.Forms.NumericUpDown();
  58. this.groupBox1.SuspendLayout();
  59. ((System.ComponentModel.ISupportInitialize)(this.BitSelect)).BeginInit();
  60. ((System.ComponentModel.ISupportInitialize)(this.StartText)).BeginInit();
  61. ((System.ComponentModel.ISupportInitialize)(this.DBText)).BeginInit();
  62. this.contextMenuStrip1.SuspendLayout();
  63. this.groupBox2.SuspendLayout();
  64. ((System.ComponentModel.ISupportInitialize)(this.Solt)).BeginInit();
  65. ((System.ComponentModel.ISupportInitialize)(this.rackN)).BeginInit();
  66. this.SuspendLayout();
  67. //
  68. // IPAdrees
  69. //
  70. this.IPAdrees.Location = new System.Drawing.Point(210, 58);
  71. this.IPAdrees.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  72. this.IPAdrees.Name = "IPAdrees";
  73. this.IPAdrees.Size = new System.Drawing.Size(185, 28);
  74. this.IPAdrees.TabIndex = 0;
  75. this.IPAdrees.Text = "192.168.0.10";
  76. this.IPAdrees.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.IPAdrees_KeyPress);
  77. //
  78. // label1
  79. //
  80. this.label1.AutoSize = true;
  81. this.label1.Location = new System.Drawing.Point(117, 61);
  82. this.label1.Name = "label1";
  83. this.label1.Size = new System.Drawing.Size(80, 18);
  84. this.label1.TabIndex = 3;
  85. this.label1.Text = "IPAdress";
  86. //
  87. // label2
  88. //
  89. this.label2.AutoSize = true;
  90. this.label2.Location = new System.Drawing.Point(117, 107);
  91. this.label2.Name = "label2";
  92. this.label2.Size = new System.Drawing.Size(44, 18);
  93. this.label2.TabIndex = 4;
  94. this.label2.Text = "Rack";
  95. //
  96. // label3
  97. //
  98. this.label3.AutoSize = true;
  99. this.label3.Location = new System.Drawing.Point(117, 150);
  100. this.label3.Name = "label3";
  101. this.label3.Size = new System.Drawing.Size(44, 18);
  102. this.label3.TabIndex = 5;
  103. this.label3.Text = "Solt";
  104. //
  105. // ConnectButton
  106. //
  107. this.ConnectButton.Location = new System.Drawing.Point(140, 179);
  108. this.ConnectButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  109. this.ConnectButton.Name = "ConnectButton";
  110. this.ConnectButton.Size = new System.Drawing.Size(71, 47);
  111. this.ConnectButton.TabIndex = 10;
  112. this.ConnectButton.Text = "连接";
  113. this.ConnectButton.UseVisualStyleBackColor = true;
  114. this.ConnectButton.Click += new System.EventHandler(this.ConnectButton_Click);
  115. //
  116. // DisConnectButton
  117. //
  118. this.DisConnectButton.Location = new System.Drawing.Point(389, 179);
  119. this.DisConnectButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  120. this.DisConnectButton.Name = "DisConnectButton";
  121. this.DisConnectButton.Size = new System.Drawing.Size(71, 47);
  122. this.DisConnectButton.TabIndex = 11;
  123. this.DisConnectButton.Text = "断开";
  124. this.DisConnectButton.UseVisualStyleBackColor = true;
  125. this.DisConnectButton.Click += new System.EventHandler(this.DisConnectButton_Click);
  126. //
  127. // groupBox1
  128. //
  129. this.groupBox1.Controls.Add(this.txtResult);
  130. this.groupBox1.Controls.Add(this.BitSelect);
  131. this.groupBox1.Controls.Add(this.DateType);
  132. this.groupBox1.Controls.Add(this.label8);
  133. this.groupBox1.Controls.Add(this.label9);
  134. this.groupBox1.Controls.Add(this.label7);
  135. this.groupBox1.Controls.Add(this.WriteText);
  136. this.groupBox1.Controls.Add(this.StartText);
  137. this.groupBox1.Controls.Add(this.DBText);
  138. this.groupBox1.Controls.Add(this.Writebutton);
  139. this.groupBox1.Controls.Add(this.Readbutton);
  140. this.groupBox1.Controls.Add(this.label5);
  141. this.groupBox1.Controls.Add(this.label6);
  142. this.groupBox1.Location = new System.Drawing.Point(12, 258);
  143. this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  144. this.groupBox1.Name = "groupBox1";
  145. this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
  146. this.groupBox1.Size = new System.Drawing.Size(583, 300);
  147. this.groupBox1.TabIndex = 15;
  148. this.groupBox1.TabStop = false;
  149. this.groupBox1.Text = "读写数据";
  150. //
  151. // txtResult
  152. //
  153. this.txtResult.Location = new System.Drawing.Point(49, 231);
  154. this.txtResult.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  155. this.txtResult.Multiline = true;
  156. this.txtResult.Name = "txtResult";
  157. this.txtResult.Size = new System.Drawing.Size(514, 55);
  158. this.txtResult.TabIndex = 26;
  159. //
  160. // BitSelect
  161. //
  162. this.BitSelect.Location = new System.Drawing.Point(405, 72);
  163. this.BitSelect.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  164. this.BitSelect.Maximum = new decimal(new int[] {
  165. 7,
  166. 0,
  167. 0,
  168. 0});
  169. this.BitSelect.Name = "BitSelect";
  170. this.BitSelect.Size = new System.Drawing.Size(57, 28);
  171. this.BitSelect.TabIndex = 25;
  172. //
  173. // DateType
  174. //
  175. this.DateType.FormattingEnabled = true;
  176. this.DateType.Items.AddRange(new object[] {
  177. "Bit",
  178. "Byte",
  179. "Word",
  180. "DWord",
  181. "Int",
  182. "DInt",
  183. "Real"});
  184. this.DateType.Location = new System.Drawing.Point(210, 116);
  185. this.DateType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  186. this.DateType.Name = "DateType";
  187. this.DateType.Size = new System.Drawing.Size(185, 26);
  188. this.DateType.TabIndex = 21;
  189. this.DateType.Text = "Bit";
  190. this.DateType.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
  191. //
  192. // label8
  193. //
  194. this.label8.AutoSize = true;
  195. this.label8.Location = new System.Drawing.Point(111, 120);
  196. this.label8.Name = "label8";
  197. this.label8.Size = new System.Drawing.Size(80, 18);
  198. this.label8.TabIndex = 24;
  199. this.label8.Text = "数据类型";
  200. //
  201. // label9
  202. //
  203. this.label9.AutoSize = true;
  204. this.label9.Location = new System.Drawing.Point(6, 234);
  205. this.label9.Name = "label9";
  206. this.label9.Size = new System.Drawing.Size(44, 18);
  207. this.label9.TabIndex = 23;
  208. this.label9.Text = "结果";
  209. //
  210. // label7
  211. //
  212. this.label7.AutoSize = true;
  213. this.label7.Location = new System.Drawing.Point(111, 166);
  214. this.label7.Name = "label7";
  215. this.label7.Size = new System.Drawing.Size(80, 18);
  216. this.label7.TabIndex = 23;
  217. this.label7.Text = "写入数据";
  218. //
  219. // WriteText
  220. //
  221. this.WriteText.Location = new System.Drawing.Point(210, 162);
  222. this.WriteText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  223. this.WriteText.Name = "WriteText";
  224. this.WriteText.Size = new System.Drawing.Size(185, 28);
  225. this.WriteText.TabIndex = 21;
  226. this.WriteText.Text = "0";
  227. this.WriteText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
  228. //
  229. // StartText
  230. //
  231. this.StartText.Location = new System.Drawing.Point(210, 72);
  232. this.StartText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  233. this.StartText.Name = "StartText";
  234. this.StartText.Size = new System.Drawing.Size(186, 28);
  235. this.StartText.TabIndex = 22;
  236. //
  237. // DBText
  238. //
  239. this.DBText.Location = new System.Drawing.Point(210, 26);
  240. this.DBText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  241. this.DBText.Minimum = new decimal(new int[] {
  242. 1,
  243. 0,
  244. 0,
  245. 0});
  246. this.DBText.Name = "DBText";
  247. this.DBText.Size = new System.Drawing.Size(186, 28);
  248. this.DBText.TabIndex = 21;
  249. this.DBText.Value = new decimal(new int[] {
  250. 1,
  251. 0,
  252. 0,
  253. 0});
  254. //
  255. // Writebutton
  256. //
  257. this.Writebutton.Location = new System.Drawing.Point(405, 162);
  258. this.Writebutton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  259. this.Writebutton.Name = "Writebutton";
  260. this.Writebutton.Size = new System.Drawing.Size(71, 28);
  261. this.Writebutton.TabIndex = 18;
  262. this.Writebutton.Text = "写入";
  263. this.Writebutton.UseVisualStyleBackColor = true;
  264. this.Writebutton.Click += new System.EventHandler(this.Writebutton_Click);
  265. //
  266. // Readbutton
  267. //
  268. this.Readbutton.Location = new System.Drawing.Point(114, 203);
  269. this.Readbutton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  270. this.Readbutton.Name = "Readbutton";
  271. this.Readbutton.Size = new System.Drawing.Size(71, 27);
  272. this.Readbutton.TabIndex = 17;
  273. this.Readbutton.Text = "读取";
  274. this.Readbutton.UseVisualStyleBackColor = true;
  275. this.Readbutton.Click += new System.EventHandler(this.Readbutton_Click);
  276. //
  277. // label5
  278. //
  279. this.label5.AutoSize = true;
  280. this.label5.Location = new System.Drawing.Point(111, 74);
  281. this.label5.Name = "label5";
  282. this.label5.Size = new System.Drawing.Size(53, 18);
  283. this.label5.TabIndex = 20;
  284. this.label5.Text = "Start";
  285. //
  286. // label6
  287. //
  288. this.label6.AutoSize = true;
  289. this.label6.Location = new System.Drawing.Point(111, 32);
  290. this.label6.Name = "label6";
  291. this.label6.Size = new System.Drawing.Size(89, 18);
  292. this.label6.TabIndex = 19;
  293. this.label6.Text = "DB Number";
  294. //
  295. // contextMenuStrip1
  296. //
  297. this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
  298. this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  299. this.toolStripMenuItem1});
  300. this.contextMenuStrip1.Name = "contextMenuStrip1";
  301. this.contextMenuStrip1.Size = new System.Drawing.Size(256, 34);
  302. //
  303. // toolStripMenuItem1
  304. //
  305. this.toolStripMenuItem1.Name = "toolStripMenuItem1";
  306. this.toolStripMenuItem1.Size = new System.Drawing.Size(255, 30);
  307. this.toolStripMenuItem1.Text = "toolStripMenuItem1";
  308. //
  309. // PLCType
  310. //
  311. this.PLCType.FormattingEnabled = true;
  312. this.PLCType.Items.AddRange(new object[] {
  313. "S7200",
  314. "S7300",
  315. "S7400",
  316. "S71200",
  317. "S71500"});
  318. this.PLCType.Location = new System.Drawing.Point(210, 14);
  319. this.PLCType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  320. this.PLCType.Name = "PLCType";
  321. this.PLCType.Size = new System.Drawing.Size(185, 26);
  322. this.PLCType.TabIndex = 16;
  323. this.PLCType.Text = "S7200";
  324. //
  325. // label4
  326. //
  327. this.label4.AutoSize = true;
  328. this.label4.Location = new System.Drawing.Point(117, 18);
  329. this.label4.Name = "label4";
  330. this.label4.Size = new System.Drawing.Size(71, 18);
  331. this.label4.TabIndex = 17;
  332. this.label4.Text = "PLC类型";
  333. //
  334. // groupBox2
  335. //
  336. this.groupBox2.Controls.Add(this.ConnecteState);
  337. this.groupBox2.Controls.Add(this.Solt);
  338. this.groupBox2.Controls.Add(this.rackN);
  339. this.groupBox2.Controls.Add(this.ConnectButton);
  340. this.groupBox2.Controls.Add(this.DisConnectButton);
  341. this.groupBox2.Controls.Add(this.label4);
  342. this.groupBox2.Controls.Add(this.IPAdrees);
  343. this.groupBox2.Controls.Add(this.PLCType);
  344. this.groupBox2.Controls.Add(this.label1);
  345. this.groupBox2.Controls.Add(this.label2);
  346. this.groupBox2.Controls.Add(this.label3);
  347. this.groupBox2.Location = new System.Drawing.Point(12, 13);
  348. this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  349. this.groupBox2.Name = "groupBox2";
  350. this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
  351. this.groupBox2.Size = new System.Drawing.Size(583, 238);
  352. this.groupBox2.TabIndex = 18;
  353. this.groupBox2.TabStop = false;
  354. this.groupBox2.Text = "连接参数";
  355. //
  356. // ConnecteState
  357. //
  358. this.ConnecteState.AutoSize = true;
  359. this.ConnecteState.Location = new System.Drawing.Point(483, 22);
  360. this.ConnecteState.Name = "ConnecteState";
  361. this.ConnecteState.Size = new System.Drawing.Size(80, 18);
  362. this.ConnecteState.TabIndex = 20;
  363. this.ConnecteState.Text = "连接状态";
  364. //
  365. // Solt
  366. //
  367. this.Solt.Location = new System.Drawing.Point(210, 145);
  368. this.Solt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  369. this.Solt.Name = "Solt";
  370. this.Solt.Size = new System.Drawing.Size(186, 28);
  371. this.Solt.TabIndex = 19;
  372. this.Solt.Value = new decimal(new int[] {
  373. 2,
  374. 0,
  375. 0,
  376. 0});
  377. //
  378. // rackN
  379. //
  380. this.rackN.Location = new System.Drawing.Point(210, 101);
  381. this.rackN.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  382. this.rackN.Name = "rackN";
  383. this.rackN.Size = new System.Drawing.Size(186, 28);
  384. this.rackN.TabIndex = 18;
  385. //
  386. // Form2
  387. //
  388. this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
  389. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  390. this.ClientSize = new System.Drawing.Size(1389, 670);
  391. this.ControlBox = false;
  392. this.Controls.Add(this.groupBox2);
  393. this.Controls.Add(this.groupBox1);
  394. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  395. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  396. this.Name = "Form2";
  397. this.Text = "Form2";
  398. this.Load += new System.EventHandler(this.Form2_Load);
  399. this.groupBox1.ResumeLayout(false);
  400. this.groupBox1.PerformLayout();
  401. ((System.ComponentModel.ISupportInitialize)(this.BitSelect)).EndInit();
  402. ((System.ComponentModel.ISupportInitialize)(this.StartText)).EndInit();
  403. ((System.ComponentModel.ISupportInitialize)(this.DBText)).EndInit();
  404. this.contextMenuStrip1.ResumeLayout(false);
  405. this.groupBox2.ResumeLayout(false);
  406. this.groupBox2.PerformLayout();
  407. ((System.ComponentModel.ISupportInitialize)(this.Solt)).EndInit();
  408. ((System.ComponentModel.ISupportInitialize)(this.rackN)).EndInit();
  409. this.ResumeLayout(false);
  410. }
  411. #endregion
  412. private System.Windows.Forms.TextBox IPAdrees;
  413. private System.Windows.Forms.Label label1;
  414. private System.Windows.Forms.Label label2;
  415. private System.Windows.Forms.Label label3;
  416. private System.Windows.Forms.Button ConnectButton;
  417. private System.Windows.Forms.Button DisConnectButton;
  418. private System.Windows.Forms.GroupBox groupBox1;
  419. private System.Windows.Forms.Label label5;
  420. private System.Windows.Forms.Label label6;
  421. private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
  422. private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
  423. private System.Windows.Forms.Button Writebutton;
  424. private System.Windows.Forms.Button Readbutton;
  425. private System.Windows.Forms.ComboBox PLCType;
  426. private System.Windows.Forms.Label label4;
  427. private System.Windows.Forms.GroupBox groupBox2;
  428. private System.Windows.Forms.NumericUpDown Solt;
  429. private System.Windows.Forms.NumericUpDown rackN;
  430. private System.Windows.Forms.Label ConnecteState;
  431. private System.Windows.Forms.NumericUpDown StartText;
  432. private System.Windows.Forms.NumericUpDown DBText;
  433. private System.Windows.Forms.Label label7;
  434. private System.Windows.Forms.TextBox WriteText;
  435. private System.Windows.Forms.Label label8;
  436. private System.Windows.Forms.ComboBox DateType;
  437. private System.Windows.Forms.NumericUpDown BitSelect;
  438. private System.Windows.Forms.TextBox txtResult;
  439. private System.Windows.Forms.Label label9;
  440. }
  441. }