F_Main.Designer.cs 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. namespace PLC_WF
  2. {
  3. partial class F_Main
  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. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_Main));
  30. this.grbSetting = new System.Windows.Forms.GroupBox();
  31. this.btnRefreshForm = new System.Windows.Forms.Button();
  32. this.cboPLCST = new System.Windows.Forms.ComboBox();
  33. this.btnGetSetting = new System.Windows.Forms.Button();
  34. this.btnSetSetting = new System.Windows.Forms.Button();
  35. this.chkAutoStart = new System.Windows.Forms.CheckBox();
  36. this.label5 = new System.Windows.Forms.Label();
  37. this.label4 = new System.Windows.Forms.Label();
  38. this.label2 = new System.Windows.Forms.Label();
  39. this.label3 = new System.Windows.Forms.Label();
  40. this.lblPort = new System.Windows.Forms.Label();
  41. this.txtDescription = new System.Windows.Forms.TextBox();
  42. this.txtDisplayName = new System.Windows.Forms.TextBox();
  43. this.txtServiceName = new System.Windows.Forms.TextBox();
  44. this.txtPort = new System.Windows.Forms.TextBox();
  45. this.btnExePath = new System.Windows.Forms.Button();
  46. this.txtStatus = new System.Windows.Forms.TextBox();
  47. this.btnLog = new System.Windows.Forms.Button();
  48. this.btnStop = new System.Windows.Forms.Button();
  49. this.btnStart = new System.Windows.Forms.Button();
  50. this.grbWS = new System.Windows.Forms.GroupBox();
  51. this.btnWS_Delete = new System.Windows.Forms.Button();
  52. this.btnWS_Refresh = new System.Windows.Forms.Button();
  53. this.btnWS_ReStart = new System.Windows.Forms.Button();
  54. this.btnWS_Stop = new System.Windows.Forms.Button();
  55. this.btnWS_Start = new System.Windows.Forms.Button();
  56. this.btnWS_Insert = new System.Windows.Forms.Button();
  57. this.serviceController1 = new System.ServiceProcess.ServiceController();
  58. this.grbES = new System.Windows.Forms.GroupBox();
  59. this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
  60. this.grbDB = new System.Windows.Forms.GroupBox();
  61. this.btnGetDB = new System.Windows.Forms.Button();
  62. this.btnSetDB = new System.Windows.Forms.Button();
  63. this.btnOracleTest = new System.Windows.Forms.Button();
  64. this.label6 = new System.Windows.Forms.Label();
  65. this.txtOraclePassword = new System.Windows.Forms.TextBox();
  66. this.label7 = new System.Windows.Forms.Label();
  67. this.txtOracleUserName = new System.Windows.Forms.TextBox();
  68. this.label9 = new System.Windows.Forms.Label();
  69. this.txtOracleDatabaseName = new System.Windows.Forms.TextBox();
  70. this.label11 = new System.Windows.Forms.Label();
  71. this.txtOraclePort = new System.Windows.Forms.TextBox();
  72. this.label10 = new System.Windows.Forms.Label();
  73. this.txtOracleName = new System.Windows.Forms.TextBox();
  74. this.grbMES = new System.Windows.Forms.GroupBox();
  75. this.btnGetMES = new System.Windows.Forms.Button();
  76. this.btnSetMES = new System.Windows.Forms.Button();
  77. this.btnMESTest = new System.Windows.Forms.Button();
  78. this.label8 = new System.Windows.Forms.Label();
  79. this.txtMES_Password = new System.Windows.Forms.TextBox();
  80. this.label12 = new System.Windows.Forms.Label();
  81. this.txtMES_User = new System.Windows.Forms.TextBox();
  82. this.label13 = new System.Windows.Forms.Label();
  83. this.txtMES_Account = new System.Windows.Forms.TextBox();
  84. this.label14 = new System.Windows.Forms.Label();
  85. this.txtMES_Port = new System.Windows.Forms.TextBox();
  86. this.label15 = new System.Windows.Forms.Label();
  87. this.txtMES_IP = new System.Windows.Forms.TextBox();
  88. this.panel1 = new System.Windows.Forms.Panel();
  89. this.textBox1 = new System.Windows.Forms.TextBox();
  90. this.grbSetting.SuspendLayout();
  91. this.grbWS.SuspendLayout();
  92. this.grbES.SuspendLayout();
  93. this.grbDB.SuspendLayout();
  94. this.grbMES.SuspendLayout();
  95. this.panel1.SuspendLayout();
  96. this.SuspendLayout();
  97. //
  98. // grbSetting
  99. //
  100. this.grbSetting.Controls.Add(this.btnRefreshForm);
  101. this.grbSetting.Controls.Add(this.cboPLCST);
  102. this.grbSetting.Controls.Add(this.btnGetSetting);
  103. this.grbSetting.Controls.Add(this.btnSetSetting);
  104. this.grbSetting.Controls.Add(this.chkAutoStart);
  105. this.grbSetting.Controls.Add(this.label5);
  106. this.grbSetting.Controls.Add(this.label4);
  107. this.grbSetting.Controls.Add(this.label2);
  108. this.grbSetting.Controls.Add(this.label3);
  109. this.grbSetting.Controls.Add(this.lblPort);
  110. this.grbSetting.Controls.Add(this.txtDescription);
  111. this.grbSetting.Controls.Add(this.txtDisplayName);
  112. this.grbSetting.Controls.Add(this.txtServiceName);
  113. this.grbSetting.Controls.Add(this.txtPort);
  114. this.grbSetting.Location = new System.Drawing.Point(0, 0);
  115. this.grbSetting.Name = "grbSetting";
  116. this.grbSetting.Size = new System.Drawing.Size(350, 136);
  117. this.grbSetting.TabIndex = 1;
  118. this.grbSetting.TabStop = false;
  119. this.grbSetting.Text = "PLC服务";
  120. //
  121. // btnRefreshForm
  122. //
  123. this.btnRefreshForm.Location = new System.Drawing.Point(203, 107);
  124. this.btnRefreshForm.Name = "btnRefreshForm";
  125. this.btnRefreshForm.Size = new System.Drawing.Size(75, 23);
  126. this.btnRefreshForm.TabIndex = 13;
  127. this.btnRefreshForm.Text = "刷新设置";
  128. this.btnRefreshForm.UseVisualStyleBackColor = true;
  129. this.btnRefreshForm.Click += new System.EventHandler(this.btnRefreshForm_Click);
  130. //
  131. // cboPLCST
  132. //
  133. this.cboPLCST.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  134. this.cboPLCST.FormattingEnabled = true;
  135. this.cboPLCST.Location = new System.Drawing.Point(41, 20);
  136. this.cboPLCST.Name = "cboPLCST";
  137. this.cboPLCST.Size = new System.Drawing.Size(100, 20);
  138. this.cboPLCST.TabIndex = 1;
  139. this.cboPLCST.SelectedIndexChanged += new System.EventHandler(this.cboPLCST_SelectedIndexChanged);
  140. //
  141. // btnGetSetting
  142. //
  143. this.btnGetSetting.Location = new System.Drawing.Point(41, 107);
  144. this.btnGetSetting.Name = "btnGetSetting";
  145. this.btnGetSetting.Size = new System.Drawing.Size(75, 23);
  146. this.btnGetSetting.TabIndex = 11;
  147. this.btnGetSetting.Text = "读取设置";
  148. this.btnGetSetting.UseVisualStyleBackColor = true;
  149. this.btnGetSetting.Click += new System.EventHandler(this.btnGetSetting_Click);
  150. //
  151. // btnSetSetting
  152. //
  153. this.btnSetSetting.Location = new System.Drawing.Point(122, 107);
  154. this.btnSetSetting.Name = "btnSetSetting";
  155. this.btnSetSetting.Size = new System.Drawing.Size(75, 23);
  156. this.btnSetSetting.TabIndex = 12;
  157. this.btnSetSetting.Text = "保存设置";
  158. this.btnSetSetting.UseVisualStyleBackColor = true;
  159. this.btnSetSetting.Click += new System.EventHandler(this.btnSetSetting_Click);
  160. //
  161. // chkAutoStart
  162. //
  163. this.chkAutoStart.AutoSize = true;
  164. this.chkAutoStart.Location = new System.Drawing.Point(93, 52);
  165. this.chkAutoStart.Name = "chkAutoStart";
  166. this.chkAutoStart.Size = new System.Drawing.Size(48, 16);
  167. this.chkAutoStart.TabIndex = 6;
  168. this.chkAutoStart.Text = "自启";
  169. this.chkAutoStart.UseVisualStyleBackColor = true;
  170. //
  171. // label5
  172. //
  173. this.label5.AutoSize = true;
  174. this.label5.Location = new System.Drawing.Point(6, 83);
  175. this.label5.Name = "label5";
  176. this.label5.Size = new System.Drawing.Size(29, 12);
  177. this.label5.TabIndex = 9;
  178. this.label5.Text = "描述";
  179. //
  180. // label4
  181. //
  182. this.label4.AutoSize = true;
  183. this.label4.Location = new System.Drawing.Point(147, 54);
  184. this.label4.Name = "label4";
  185. this.label4.Size = new System.Drawing.Size(41, 12);
  186. this.label4.TabIndex = 7;
  187. this.label4.Text = "显示名";
  188. //
  189. // label2
  190. //
  191. this.label2.AutoSize = true;
  192. this.label2.Location = new System.Drawing.Point(147, 24);
  193. this.label2.Name = "label2";
  194. this.label2.Size = new System.Drawing.Size(41, 12);
  195. this.label2.TabIndex = 2;
  196. this.label2.Text = "服务名";
  197. //
  198. // label3
  199. //
  200. this.label3.AutoSize = true;
  201. this.label3.Location = new System.Drawing.Point(6, 24);
  202. this.label3.Name = "label3";
  203. this.label3.Size = new System.Drawing.Size(29, 12);
  204. this.label3.TabIndex = 0;
  205. this.label3.Text = "类型";
  206. //
  207. // lblPort
  208. //
  209. this.lblPort.AutoSize = true;
  210. this.lblPort.Location = new System.Drawing.Point(6, 54);
  211. this.lblPort.Name = "lblPort";
  212. this.lblPort.Size = new System.Drawing.Size(29, 12);
  213. this.lblPort.TabIndex = 4;
  214. this.lblPort.Text = "端口";
  215. //
  216. // txtDescription
  217. //
  218. this.txtDescription.Location = new System.Drawing.Point(41, 79);
  219. this.txtDescription.Name = "txtDescription";
  220. this.txtDescription.Size = new System.Drawing.Size(303, 21);
  221. this.txtDescription.TabIndex = 10;
  222. //
  223. // txtDisplayName
  224. //
  225. this.txtDisplayName.Location = new System.Drawing.Point(194, 50);
  226. this.txtDisplayName.Name = "txtDisplayName";
  227. this.txtDisplayName.Size = new System.Drawing.Size(150, 21);
  228. this.txtDisplayName.TabIndex = 8;
  229. this.txtDisplayName.TextChanged += new System.EventHandler(this.txtDisplayName_TextChanged);
  230. //
  231. // txtServiceName
  232. //
  233. this.txtServiceName.Location = new System.Drawing.Point(194, 20);
  234. this.txtServiceName.Name = "txtServiceName";
  235. this.txtServiceName.ReadOnly = true;
  236. this.txtServiceName.Size = new System.Drawing.Size(150, 21);
  237. this.txtServiceName.TabIndex = 3;
  238. //
  239. // txtPort
  240. //
  241. this.txtPort.Location = new System.Drawing.Point(41, 50);
  242. this.txtPort.MaxLength = 6;
  243. this.txtPort.Name = "txtPort";
  244. this.txtPort.Size = new System.Drawing.Size(46, 21);
  245. this.txtPort.TabIndex = 5;
  246. this.txtPort.TextChanged += new System.EventHandler(this.txtPort_TextChanged);
  247. this.txtPort.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtPort_KeyDown);
  248. this.txtPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
  249. //
  250. // btnExePath
  251. //
  252. this.btnExePath.Location = new System.Drawing.Point(87, 49);
  253. this.btnExePath.Name = "btnExePath";
  254. this.btnExePath.Size = new System.Drawing.Size(75, 23);
  255. this.btnExePath.TabIndex = 3;
  256. this.btnExePath.Text = "exe path";
  257. this.btnExePath.UseVisualStyleBackColor = true;
  258. this.btnExePath.Click += new System.EventHandler(this.btnExePath_Click);
  259. //
  260. // txtStatus
  261. //
  262. this.txtStatus.Dock = System.Windows.Forms.DockStyle.Top;
  263. this.txtStatus.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  264. this.txtStatus.Location = new System.Drawing.Point(3, 3);
  265. this.txtStatus.Name = "txtStatus";
  266. this.txtStatus.Size = new System.Drawing.Size(707, 29);
  267. this.txtStatus.TabIndex = 0;
  268. this.txtStatus.TabStop = false;
  269. this.txtStatus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
  270. this.txtStatus.TextChanged += new System.EventHandler(this.txtStatus_TextChanged);
  271. this.txtStatus.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtStatus_KeyPress);
  272. //
  273. // btnLog
  274. //
  275. this.btnLog.Location = new System.Drawing.Point(6, 49);
  276. this.btnLog.Name = "btnLog";
  277. this.btnLog.Size = new System.Drawing.Size(75, 23);
  278. this.btnLog.TabIndex = 2;
  279. this.btnLog.Text = "日志";
  280. this.btnLog.UseVisualStyleBackColor = true;
  281. this.btnLog.Click += new System.EventHandler(this.btnLog_Click);
  282. //
  283. // btnStop
  284. //
  285. this.btnStop.Location = new System.Drawing.Point(87, 20);
  286. this.btnStop.Name = "btnStop";
  287. this.btnStop.Size = new System.Drawing.Size(75, 23);
  288. this.btnStop.TabIndex = 1;
  289. this.btnStop.Text = "停止服务";
  290. this.btnStop.UseVisualStyleBackColor = true;
  291. this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
  292. //
  293. // btnStart
  294. //
  295. this.btnStart.Location = new System.Drawing.Point(6, 20);
  296. this.btnStart.Name = "btnStart";
  297. this.btnStart.Size = new System.Drawing.Size(75, 23);
  298. this.btnStart.TabIndex = 0;
  299. this.btnStart.Text = "启动服务";
  300. this.btnStart.UseVisualStyleBackColor = true;
  301. this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
  302. //
  303. // grbWS
  304. //
  305. this.grbWS.Controls.Add(this.btnWS_Delete);
  306. this.grbWS.Controls.Add(this.btnWS_Refresh);
  307. this.grbWS.Controls.Add(this.btnWS_ReStart);
  308. this.grbWS.Controls.Add(this.btnWS_Stop);
  309. this.grbWS.Controls.Add(this.btnWS_Start);
  310. this.grbWS.Controls.Add(this.btnWS_Insert);
  311. this.grbWS.Location = new System.Drawing.Point(356, 0);
  312. this.grbWS.Name = "grbWS";
  313. this.grbWS.Size = new System.Drawing.Size(168, 107);
  314. this.grbWS.TabIndex = 5;
  315. this.grbWS.TabStop = false;
  316. this.grbWS.Text = "Windows Service";
  317. //
  318. // btnWS_Delete
  319. //
  320. this.btnWS_Delete.Location = new System.Drawing.Point(87, 20);
  321. this.btnWS_Delete.Name = "btnWS_Delete";
  322. this.btnWS_Delete.Size = new System.Drawing.Size(75, 23);
  323. this.btnWS_Delete.TabIndex = 1;
  324. this.btnWS_Delete.Text = "卸载服务";
  325. this.btnWS_Delete.UseVisualStyleBackColor = true;
  326. this.btnWS_Delete.Click += new System.EventHandler(this.btnWS_Delete_Click);
  327. //
  328. // btnWS_Refresh
  329. //
  330. this.btnWS_Refresh.Location = new System.Drawing.Point(87, 78);
  331. this.btnWS_Refresh.Name = "btnWS_Refresh";
  332. this.btnWS_Refresh.Size = new System.Drawing.Size(75, 23);
  333. this.btnWS_Refresh.TabIndex = 5;
  334. this.btnWS_Refresh.Text = "刷新状态";
  335. this.btnWS_Refresh.UseVisualStyleBackColor = true;
  336. this.btnWS_Refresh.Click += new System.EventHandler(this.btnWS_Refresh_Click);
  337. //
  338. // btnWS_ReStart
  339. //
  340. this.btnWS_ReStart.Location = new System.Drawing.Point(6, 78);
  341. this.btnWS_ReStart.Name = "btnWS_ReStart";
  342. this.btnWS_ReStart.Size = new System.Drawing.Size(75, 23);
  343. this.btnWS_ReStart.TabIndex = 4;
  344. this.btnWS_ReStart.Text = "重启服务";
  345. this.btnWS_ReStart.UseVisualStyleBackColor = true;
  346. this.btnWS_ReStart.Click += new System.EventHandler(this.btnWS_ReStart_Click);
  347. //
  348. // btnWS_Stop
  349. //
  350. this.btnWS_Stop.Location = new System.Drawing.Point(87, 49);
  351. this.btnWS_Stop.Name = "btnWS_Stop";
  352. this.btnWS_Stop.Size = new System.Drawing.Size(75, 23);
  353. this.btnWS_Stop.TabIndex = 3;
  354. this.btnWS_Stop.Text = "停止服务";
  355. this.btnWS_Stop.UseVisualStyleBackColor = true;
  356. this.btnWS_Stop.Click += new System.EventHandler(this.btnWS_Stop_Click);
  357. //
  358. // btnWS_Start
  359. //
  360. this.btnWS_Start.Location = new System.Drawing.Point(6, 49);
  361. this.btnWS_Start.Name = "btnWS_Start";
  362. this.btnWS_Start.Size = new System.Drawing.Size(75, 23);
  363. this.btnWS_Start.TabIndex = 2;
  364. this.btnWS_Start.Text = "启动服务";
  365. this.btnWS_Start.UseVisualStyleBackColor = true;
  366. this.btnWS_Start.Click += new System.EventHandler(this.btnWS_Start_Click);
  367. //
  368. // btnWS_Insert
  369. //
  370. this.btnWS_Insert.Location = new System.Drawing.Point(6, 20);
  371. this.btnWS_Insert.Name = "btnWS_Insert";
  372. this.btnWS_Insert.Size = new System.Drawing.Size(75, 23);
  373. this.btnWS_Insert.TabIndex = 0;
  374. this.btnWS_Insert.Text = "注册服务";
  375. this.btnWS_Insert.UseVisualStyleBackColor = true;
  376. this.btnWS_Insert.Click += new System.EventHandler(this.btnWS_Insert_Click);
  377. //
  378. // grbES
  379. //
  380. this.grbES.Controls.Add(this.btnLog);
  381. this.grbES.Controls.Add(this.btnExePath);
  382. this.grbES.Controls.Add(this.btnStart);
  383. this.grbES.Controls.Add(this.btnStop);
  384. this.grbES.Location = new System.Drawing.Point(530, 0);
  385. this.grbES.Name = "grbES";
  386. this.grbES.Size = new System.Drawing.Size(168, 78);
  387. this.grbES.TabIndex = 4;
  388. this.grbES.TabStop = false;
  389. this.grbES.Text = "exe Service";
  390. //
  391. // notifyIcon1
  392. //
  393. this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
  394. this.notifyIcon1.Text = "notifyIcon1";
  395. this.notifyIcon1.Visible = true;
  396. this.notifyIcon1.Click += new System.EventHandler(this.notifyIcon1_Click);
  397. this.notifyIcon1.DoubleClick += new System.EventHandler(this.notifyIcon1_DoubleClick);
  398. //
  399. // grbDB
  400. //
  401. this.grbDB.Controls.Add(this.btnGetDB);
  402. this.grbDB.Controls.Add(this.btnSetDB);
  403. this.grbDB.Controls.Add(this.btnOracleTest);
  404. this.grbDB.Controls.Add(this.label6);
  405. this.grbDB.Controls.Add(this.txtOraclePassword);
  406. this.grbDB.Controls.Add(this.label7);
  407. this.grbDB.Controls.Add(this.txtOracleUserName);
  408. this.grbDB.Controls.Add(this.label9);
  409. this.grbDB.Controls.Add(this.txtOracleDatabaseName);
  410. this.grbDB.Controls.Add(this.label11);
  411. this.grbDB.Controls.Add(this.txtOraclePort);
  412. this.grbDB.Controls.Add(this.label10);
  413. this.grbDB.Controls.Add(this.txtOracleName);
  414. this.grbDB.Location = new System.Drawing.Point(0, 142);
  415. this.grbDB.Name = "grbDB";
  416. this.grbDB.Size = new System.Drawing.Size(230, 136);
  417. this.grbDB.TabIndex = 2;
  418. this.grbDB.TabStop = false;
  419. this.grbDB.Text = "数据库设置";
  420. //
  421. // btnGetDB
  422. //
  423. this.btnGetDB.Location = new System.Drawing.Point(149, 49);
  424. this.btnGetDB.Name = "btnGetDB";
  425. this.btnGetDB.Size = new System.Drawing.Size(75, 23);
  426. this.btnGetDB.TabIndex = 10;
  427. this.btnGetDB.Text = "读取设置";
  428. this.btnGetDB.UseVisualStyleBackColor = true;
  429. this.btnGetDB.Click += new System.EventHandler(this.btnGetDB_Click);
  430. //
  431. // btnSetDB
  432. //
  433. this.btnSetDB.Location = new System.Drawing.Point(149, 78);
  434. this.btnSetDB.Name = "btnSetDB";
  435. this.btnSetDB.Size = new System.Drawing.Size(75, 23);
  436. this.btnSetDB.TabIndex = 11;
  437. this.btnSetDB.Text = "保存设置";
  438. this.btnSetDB.UseVisualStyleBackColor = true;
  439. this.btnSetDB.Click += new System.EventHandler(this.btnSetDB_Click);
  440. //
  441. // btnOracleTest
  442. //
  443. this.btnOracleTest.Location = new System.Drawing.Point(149, 107);
  444. this.btnOracleTest.Name = "btnOracleTest";
  445. this.btnOracleTest.Size = new System.Drawing.Size(75, 23);
  446. this.btnOracleTest.TabIndex = 12;
  447. this.btnOracleTest.Text = "连接测试";
  448. this.btnOracleTest.UseVisualStyleBackColor = true;
  449. this.btnOracleTest.Click += new System.EventHandler(this.btnOracleTest_Click);
  450. //
  451. // label6
  452. //
  453. this.label6.AutoSize = true;
  454. this.label6.Location = new System.Drawing.Point(6, 112);
  455. this.label6.Name = "label6";
  456. this.label6.Size = new System.Drawing.Size(29, 12);
  457. this.label6.TabIndex = 8;
  458. this.label6.Text = "密码";
  459. //
  460. // txtOraclePassword
  461. //
  462. this.txtOraclePassword.Location = new System.Drawing.Point(41, 108);
  463. this.txtOraclePassword.Name = "txtOraclePassword";
  464. this.txtOraclePassword.Size = new System.Drawing.Size(100, 21);
  465. this.txtOraclePassword.TabIndex = 9;
  466. this.txtOraclePassword.UseSystemPasswordChar = true;
  467. //
  468. // label7
  469. //
  470. this.label7.AutoSize = true;
  471. this.label7.Location = new System.Drawing.Point(6, 83);
  472. this.label7.Name = "label7";
  473. this.label7.Size = new System.Drawing.Size(29, 12);
  474. this.label7.TabIndex = 6;
  475. this.label7.Text = "用户";
  476. //
  477. // txtOracleUserName
  478. //
  479. this.txtOracleUserName.Location = new System.Drawing.Point(41, 79);
  480. this.txtOracleUserName.Name = "txtOracleUserName";
  481. this.txtOracleUserName.Size = new System.Drawing.Size(100, 21);
  482. this.txtOracleUserName.TabIndex = 7;
  483. //
  484. // label9
  485. //
  486. this.label9.AutoSize = true;
  487. this.label9.Location = new System.Drawing.Point(6, 54);
  488. this.label9.Name = "label9";
  489. this.label9.Size = new System.Drawing.Size(29, 12);
  490. this.label9.TabIndex = 4;
  491. this.label9.Text = "实例";
  492. //
  493. // txtOracleDatabaseName
  494. //
  495. this.txtOracleDatabaseName.Location = new System.Drawing.Point(41, 50);
  496. this.txtOracleDatabaseName.Name = "txtOracleDatabaseName";
  497. this.txtOracleDatabaseName.Size = new System.Drawing.Size(100, 21);
  498. this.txtOracleDatabaseName.TabIndex = 5;
  499. //
  500. // label11
  501. //
  502. this.label11.AutoSize = true;
  503. this.label11.Location = new System.Drawing.Point(147, 24);
  504. this.label11.Name = "label11";
  505. this.label11.Size = new System.Drawing.Size(29, 12);
  506. this.label11.TabIndex = 2;
  507. this.label11.Text = "端口";
  508. //
  509. // txtOraclePort
  510. //
  511. this.txtOraclePort.Location = new System.Drawing.Point(182, 20);
  512. this.txtOraclePort.MaxLength = 6;
  513. this.txtOraclePort.Name = "txtOraclePort";
  514. this.txtOraclePort.Size = new System.Drawing.Size(42, 21);
  515. this.txtOraclePort.TabIndex = 3;
  516. this.txtOraclePort.Text = "1521";
  517. this.txtOraclePort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
  518. //
  519. // label10
  520. //
  521. this.label10.AutoSize = true;
  522. this.label10.Location = new System.Drawing.Point(6, 24);
  523. this.label10.Name = "label10";
  524. this.label10.Size = new System.Drawing.Size(29, 12);
  525. this.label10.TabIndex = 0;
  526. this.label10.Text = "地址";
  527. //
  528. // txtOracleName
  529. //
  530. this.txtOracleName.Location = new System.Drawing.Point(41, 20);
  531. this.txtOracleName.Name = "txtOracleName";
  532. this.txtOracleName.Size = new System.Drawing.Size(100, 21);
  533. this.txtOracleName.TabIndex = 1;
  534. this.txtOracleName.Text = "127.0.0.1";
  535. //
  536. // grbMES
  537. //
  538. this.grbMES.Controls.Add(this.btnGetMES);
  539. this.grbMES.Controls.Add(this.btnSetMES);
  540. this.grbMES.Controls.Add(this.btnMESTest);
  541. this.grbMES.Controls.Add(this.label8);
  542. this.grbMES.Controls.Add(this.txtMES_Password);
  543. this.grbMES.Controls.Add(this.label12);
  544. this.grbMES.Controls.Add(this.txtMES_User);
  545. this.grbMES.Controls.Add(this.label13);
  546. this.grbMES.Controls.Add(this.txtMES_Account);
  547. this.grbMES.Controls.Add(this.label14);
  548. this.grbMES.Controls.Add(this.txtMES_Port);
  549. this.grbMES.Controls.Add(this.label15);
  550. this.grbMES.Controls.Add(this.txtMES_IP);
  551. this.grbMES.Location = new System.Drawing.Point(236, 142);
  552. this.grbMES.Name = "grbMES";
  553. this.grbMES.Size = new System.Drawing.Size(230, 136);
  554. this.grbMES.TabIndex = 3;
  555. this.grbMES.TabStop = false;
  556. this.grbMES.Text = "MES设置";
  557. //
  558. // btnGetMES
  559. //
  560. this.btnGetMES.Location = new System.Drawing.Point(149, 49);
  561. this.btnGetMES.Name = "btnGetMES";
  562. this.btnGetMES.Size = new System.Drawing.Size(75, 23);
  563. this.btnGetMES.TabIndex = 10;
  564. this.btnGetMES.Text = "读取设置";
  565. this.btnGetMES.UseVisualStyleBackColor = true;
  566. this.btnGetMES.Click += new System.EventHandler(this.btnGetMES_Click);
  567. //
  568. // btnSetMES
  569. //
  570. this.btnSetMES.Location = new System.Drawing.Point(149, 78);
  571. this.btnSetMES.Name = "btnSetMES";
  572. this.btnSetMES.Size = new System.Drawing.Size(75, 23);
  573. this.btnSetMES.TabIndex = 11;
  574. this.btnSetMES.Text = "保存设置";
  575. this.btnSetMES.UseVisualStyleBackColor = true;
  576. this.btnSetMES.Click += new System.EventHandler(this.btnSetMES_Click);
  577. //
  578. // btnMESTest
  579. //
  580. this.btnMESTest.Location = new System.Drawing.Point(149, 107);
  581. this.btnMESTest.Name = "btnMESTest";
  582. this.btnMESTest.Size = new System.Drawing.Size(75, 23);
  583. this.btnMESTest.TabIndex = 12;
  584. this.btnMESTest.Text = "连接测试";
  585. this.btnMESTest.UseVisualStyleBackColor = true;
  586. this.btnMESTest.Click += new System.EventHandler(this.btnMESTest_Click);
  587. //
  588. // label8
  589. //
  590. this.label8.AutoSize = true;
  591. this.label8.Location = new System.Drawing.Point(6, 112);
  592. this.label8.Name = "label8";
  593. this.label8.Size = new System.Drawing.Size(29, 12);
  594. this.label8.TabIndex = 8;
  595. this.label8.Text = "密码";
  596. //
  597. // txtMES_Password
  598. //
  599. this.txtMES_Password.Location = new System.Drawing.Point(41, 108);
  600. this.txtMES_Password.Name = "txtMES_Password";
  601. this.txtMES_Password.Size = new System.Drawing.Size(100, 21);
  602. this.txtMES_Password.TabIndex = 9;
  603. this.txtMES_Password.UseSystemPasswordChar = true;
  604. //
  605. // label12
  606. //
  607. this.label12.AutoSize = true;
  608. this.label12.Location = new System.Drawing.Point(6, 83);
  609. this.label12.Name = "label12";
  610. this.label12.Size = new System.Drawing.Size(29, 12);
  611. this.label12.TabIndex = 6;
  612. this.label12.Text = "用户";
  613. //
  614. // txtMES_User
  615. //
  616. this.txtMES_User.Location = new System.Drawing.Point(41, 79);
  617. this.txtMES_User.Name = "txtMES_User";
  618. this.txtMES_User.Size = new System.Drawing.Size(100, 21);
  619. this.txtMES_User.TabIndex = 7;
  620. //
  621. // label13
  622. //
  623. this.label13.AutoSize = true;
  624. this.label13.Location = new System.Drawing.Point(6, 54);
  625. this.label13.Name = "label13";
  626. this.label13.Size = new System.Drawing.Size(29, 12);
  627. this.label13.TabIndex = 4;
  628. this.label13.Text = "帐套";
  629. //
  630. // txtMES_Account
  631. //
  632. this.txtMES_Account.Location = new System.Drawing.Point(41, 50);
  633. this.txtMES_Account.Name = "txtMES_Account";
  634. this.txtMES_Account.Size = new System.Drawing.Size(100, 21);
  635. this.txtMES_Account.TabIndex = 5;
  636. //
  637. // label14
  638. //
  639. this.label14.AutoSize = true;
  640. this.label14.Location = new System.Drawing.Point(147, 24);
  641. this.label14.Name = "label14";
  642. this.label14.Size = new System.Drawing.Size(29, 12);
  643. this.label14.TabIndex = 2;
  644. this.label14.Text = "端口";
  645. //
  646. // txtMES_Port
  647. //
  648. this.txtMES_Port.Location = new System.Drawing.Point(182, 20);
  649. this.txtMES_Port.MaxLength = 6;
  650. this.txtMES_Port.Name = "txtMES_Port";
  651. this.txtMES_Port.Size = new System.Drawing.Size(42, 21);
  652. this.txtMES_Port.TabIndex = 3;
  653. this.txtMES_Port.Text = "1234";
  654. this.txtMES_Port.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtPort_KeyPress);
  655. //
  656. // label15
  657. //
  658. this.label15.AutoSize = true;
  659. this.label15.Location = new System.Drawing.Point(6, 24);
  660. this.label15.Name = "label15";
  661. this.label15.Size = new System.Drawing.Size(29, 12);
  662. this.label15.TabIndex = 0;
  663. this.label15.Text = "地址";
  664. //
  665. // txtMES_IP
  666. //
  667. this.txtMES_IP.Location = new System.Drawing.Point(41, 20);
  668. this.txtMES_IP.Name = "txtMES_IP";
  669. this.txtMES_IP.Size = new System.Drawing.Size(100, 21);
  670. this.txtMES_IP.TabIndex = 1;
  671. this.txtMES_IP.Text = "127.0.0.1";
  672. //
  673. // panel1
  674. //
  675. this.panel1.Controls.Add(this.textBox1);
  676. this.panel1.Controls.Add(this.grbSetting);
  677. this.panel1.Controls.Add(this.grbMES);
  678. this.panel1.Controls.Add(this.grbWS);
  679. this.panel1.Controls.Add(this.grbDB);
  680. this.panel1.Controls.Add(this.grbES);
  681. this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
  682. this.panel1.Location = new System.Drawing.Point(3, 32);
  683. this.panel1.Name = "panel1";
  684. this.panel1.Size = new System.Drawing.Size(707, 281);
  685. this.panel1.TabIndex = 6;
  686. //
  687. // textBox1
  688. //
  689. this.textBox1.Location = new System.Drawing.Point(472, 113);
  690. this.textBox1.Multiline = true;
  691. this.textBox1.Name = "textBox1";
  692. this.textBox1.Size = new System.Drawing.Size(214, 152);
  693. this.textBox1.TabIndex = 6;
  694. //
  695. // F_Main
  696. //
  697. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  698. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  699. this.ClientSize = new System.Drawing.Size(713, 316);
  700. this.Controls.Add(this.panel1);
  701. this.Controls.Add(this.txtStatus);
  702. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  703. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  704. this.MaximizeBox = false;
  705. this.MinimizeBox = false;
  706. this.Name = "F_Main";
  707. this.Padding = new System.Windows.Forms.Padding(3);
  708. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  709. this.Text = "PLC服务管理";
  710. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.F_Main_FormClosing);
  711. this.Shown += new System.EventHandler(this.F_Main_Shown);
  712. this.SizeChanged += new System.EventHandler(this.F_Main_SizeChanged);
  713. this.TextChanged += new System.EventHandler(this.F_Main_TextChanged);
  714. this.grbSetting.ResumeLayout(false);
  715. this.grbSetting.PerformLayout();
  716. this.grbWS.ResumeLayout(false);
  717. this.grbES.ResumeLayout(false);
  718. this.grbDB.ResumeLayout(false);
  719. this.grbDB.PerformLayout();
  720. this.grbMES.ResumeLayout(false);
  721. this.grbMES.PerformLayout();
  722. this.panel1.ResumeLayout(false);
  723. this.panel1.PerformLayout();
  724. this.ResumeLayout(false);
  725. this.PerformLayout();
  726. }
  727. #endregion
  728. private System.Windows.Forms.GroupBox grbSetting;
  729. private System.Windows.Forms.GroupBox grbWS;
  730. private System.ServiceProcess.ServiceController serviceController1;
  731. private System.Windows.Forms.Button btnStart;
  732. private System.Windows.Forms.Button btnStop;
  733. private System.Windows.Forms.TextBox txtPort;
  734. private System.Windows.Forms.Button btnLog;
  735. private System.Windows.Forms.TextBox txtStatus;
  736. private System.Windows.Forms.Button btnExePath;
  737. private System.Windows.Forms.Button btnWS_Delete;
  738. private System.Windows.Forms.Button btnWS_ReStart;
  739. private System.Windows.Forms.Button btnWS_Stop;
  740. private System.Windows.Forms.Button btnWS_Start;
  741. private System.Windows.Forms.Button btnWS_Insert;
  742. private System.Windows.Forms.GroupBox grbES;
  743. private System.Windows.Forms.TextBox txtServiceName;
  744. private System.Windows.Forms.Label label2;
  745. private System.Windows.Forms.Label lblPort;
  746. private System.Windows.Forms.CheckBox chkAutoStart;
  747. private System.Windows.Forms.ComboBox cboPLCST;
  748. private System.Windows.Forms.Label label3;
  749. private System.Windows.Forms.Label label5;
  750. private System.Windows.Forms.Label label4;
  751. private System.Windows.Forms.TextBox txtDescription;
  752. private System.Windows.Forms.TextBox txtDisplayName;
  753. private System.Windows.Forms.Button btnGetSetting;
  754. private System.Windows.Forms.Button btnSetSetting;
  755. private System.Windows.Forms.NotifyIcon notifyIcon1;
  756. private System.Windows.Forms.Button btnWS_Refresh;
  757. private System.Windows.Forms.Button btnRefreshForm;
  758. private System.Windows.Forms.GroupBox grbDB;
  759. private System.Windows.Forms.Button btnOracleTest;
  760. private System.Windows.Forms.Label label6;
  761. private System.Windows.Forms.TextBox txtOraclePassword;
  762. private System.Windows.Forms.Label label7;
  763. private System.Windows.Forms.TextBox txtOracleUserName;
  764. private System.Windows.Forms.Label label9;
  765. private System.Windows.Forms.TextBox txtOracleDatabaseName;
  766. private System.Windows.Forms.Label label11;
  767. private System.Windows.Forms.TextBox txtOraclePort;
  768. private System.Windows.Forms.Label label10;
  769. private System.Windows.Forms.TextBox txtOracleName;
  770. private System.Windows.Forms.Button btnGetDB;
  771. private System.Windows.Forms.Button btnSetDB;
  772. private System.Windows.Forms.GroupBox grbMES;
  773. private System.Windows.Forms.Button btnGetMES;
  774. private System.Windows.Forms.Button btnSetMES;
  775. private System.Windows.Forms.Button btnMESTest;
  776. private System.Windows.Forms.Label label14;
  777. private System.Windows.Forms.TextBox txtMES_Port;
  778. private System.Windows.Forms.Label label15;
  779. private System.Windows.Forms.TextBox txtMES_IP;
  780. private System.Windows.Forms.Label label8;
  781. private System.Windows.Forms.TextBox txtMES_Password;
  782. private System.Windows.Forms.Label label12;
  783. private System.Windows.Forms.TextBox txtMES_User;
  784. private System.Windows.Forms.Label label13;
  785. private System.Windows.Forms.TextBox txtMES_Account;
  786. private System.Windows.Forms.Panel panel1;
  787. private System.Windows.Forms.TextBox textBox1;
  788. }
  789. }