FrmCommunication.Designer.cs 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613
  1. namespace HRT_Measure
  2. {
  3. partial class FrmCommunication
  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. this.uiTableLayoutPanel1 = new Sunny.UI.UITableLayoutPanel();
  30. this.uiGroupBox3 = new Sunny.UI.UIGroupBox();
  31. this.btnTCPServerSend = new Sunny.UI.UIButton();
  32. this.txtTCPServerSend = new Sunny.UI.UITextBox();
  33. this.uiLabel8 = new Sunny.UI.UILabel();
  34. this.txtTCPServerRecv = new Sunny.UI.UITextBox();
  35. this.uiLabel9 = new Sunny.UI.UILabel();
  36. this.btnTcpServerStart = new Sunny.UI.UIButton();
  37. this.uiLabel10 = new Sunny.UI.UILabel();
  38. this.cobTcpServer = new Sunny.UI.UIComboBox();
  39. this.uiGroupBox1 = new Sunny.UI.UIGroupBox();
  40. this.uiLabel4 = new Sunny.UI.UILabel();
  41. this.rabPLCDataType = new Sunny.UI.UIRadioButtonGroup();
  42. this.txtPLCReturn = new Sunny.UI.UITextBox();
  43. this.btnPLCWrite = new Sunny.UI.UIButton();
  44. this.btnPLCRead = new Sunny.UI.UIButton();
  45. this.txtPLCValue = new Sunny.UI.UITextBox();
  46. this.txtPLCAdd = new Sunny.UI.UITextBox();
  47. this.uiLabel3 = new Sunny.UI.UILabel();
  48. this.uiLabel2 = new Sunny.UI.UILabel();
  49. this.btnPLCConnect = new Sunny.UI.UIButton();
  50. this.uiLabel1 = new Sunny.UI.UILabel();
  51. this.cobPLC = new Sunny.UI.UIComboBox();
  52. this.uiGroupBox2 = new Sunny.UI.UIGroupBox();
  53. this.btnClientSend = new Sunny.UI.UIButton();
  54. this.txtClientSend = new Sunny.UI.UITextBox();
  55. this.uiLabel7 = new Sunny.UI.UILabel();
  56. this.txtClientRecv = new Sunny.UI.UITextBox();
  57. this.uiLabel6 = new Sunny.UI.UILabel();
  58. this.btnClientConnect = new Sunny.UI.UIButton();
  59. this.uiLabel5 = new Sunny.UI.UILabel();
  60. this.cobTcpClient = new Sunny.UI.UIComboBox();
  61. this.timer1 = new System.Windows.Forms.Timer(this.components);
  62. this.uiTableLayoutPanel1.SuspendLayout();
  63. this.uiGroupBox3.SuspendLayout();
  64. this.uiGroupBox1.SuspendLayout();
  65. this.uiGroupBox2.SuspendLayout();
  66. this.SuspendLayout();
  67. //
  68. // uiTableLayoutPanel1
  69. //
  70. this.uiTableLayoutPanel1.ColumnCount = 2;
  71. this.uiTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  72. this.uiTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  73. this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox3, 0, 1);
  74. this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox1, 0, 0);
  75. this.uiTableLayoutPanel1.Controls.Add(this.uiGroupBox2, 1, 0);
  76. this.uiTableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  77. this.uiTableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
  78. this.uiTableLayoutPanel1.Name = "uiTableLayoutPanel1";
  79. this.uiTableLayoutPanel1.RowCount = 2;
  80. this.uiTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  81. this.uiTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  82. this.uiTableLayoutPanel1.Size = new System.Drawing.Size(1604, 813);
  83. this.uiTableLayoutPanel1.TabIndex = 0;
  84. this.uiTableLayoutPanel1.TagString = null;
  85. //
  86. // uiGroupBox3
  87. //
  88. this.uiGroupBox3.Controls.Add(this.btnTCPServerSend);
  89. this.uiGroupBox3.Controls.Add(this.txtTCPServerSend);
  90. this.uiGroupBox3.Controls.Add(this.uiLabel8);
  91. this.uiGroupBox3.Controls.Add(this.txtTCPServerRecv);
  92. this.uiGroupBox3.Controls.Add(this.uiLabel9);
  93. this.uiGroupBox3.Controls.Add(this.btnTcpServerStart);
  94. this.uiGroupBox3.Controls.Add(this.uiLabel10);
  95. this.uiGroupBox3.Controls.Add(this.cobTcpServer);
  96. this.uiGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
  97. this.uiGroupBox3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  98. this.uiGroupBox3.Location = new System.Drawing.Point(4, 411);
  99. this.uiGroupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  100. this.uiGroupBox3.MinimumSize = new System.Drawing.Size(1, 1);
  101. this.uiGroupBox3.Name = "uiGroupBox3";
  102. this.uiGroupBox3.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
  103. this.uiGroupBox3.Size = new System.Drawing.Size(794, 397);
  104. this.uiGroupBox3.TabIndex = 2;
  105. this.uiGroupBox3.Text = "Server通讯";
  106. this.uiGroupBox3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  107. //
  108. // btnTCPServerSend
  109. //
  110. this.btnTCPServerSend.Cursor = System.Windows.Forms.Cursors.Hand;
  111. this.btnTCPServerSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  112. this.btnTCPServerSend.Location = new System.Drawing.Point(448, 331);
  113. this.btnTCPServerSend.MinimumSize = new System.Drawing.Size(1, 1);
  114. this.btnTCPServerSend.Name = "btnTCPServerSend";
  115. this.btnTCPServerSend.Radius = 10;
  116. this.btnTCPServerSend.Size = new System.Drawing.Size(194, 45);
  117. this.btnTCPServerSend.TabIndex = 10;
  118. this.btnTCPServerSend.Text = "发送";
  119. this.btnTCPServerSend.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  120. this.btnTCPServerSend.Click += new System.EventHandler(this.BtnTCPServerSend_Click);
  121. //
  122. // txtTCPServerSend
  123. //
  124. this.txtTCPServerSend.Cursor = System.Windows.Forms.Cursors.IBeam;
  125. this.txtTCPServerSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  126. this.txtTCPServerSend.Location = new System.Drawing.Point(151, 235);
  127. this.txtTCPServerSend.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  128. this.txtTCPServerSend.MinimumSize = new System.Drawing.Size(1, 16);
  129. this.txtTCPServerSend.Multiline = true;
  130. this.txtTCPServerSend.Name = "txtTCPServerSend";
  131. this.txtTCPServerSend.Padding = new System.Windows.Forms.Padding(5);
  132. this.txtTCPServerSend.ShowText = false;
  133. this.txtTCPServerSend.Size = new System.Drawing.Size(622, 78);
  134. this.txtTCPServerSend.TabIndex = 9;
  135. this.txtTCPServerSend.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  136. this.txtTCPServerSend.Watermark = "";
  137. //
  138. // uiLabel8
  139. //
  140. this.uiLabel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  141. this.uiLabel8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  142. this.uiLabel8.Location = new System.Drawing.Point(31, 234);
  143. this.uiLabel8.Name = "uiLabel8";
  144. this.uiLabel8.Size = new System.Drawing.Size(100, 23);
  145. this.uiLabel8.TabIndex = 9;
  146. this.uiLabel8.Text = "发送:";
  147. this.uiLabel8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  148. //
  149. // txtTCPServerRecv
  150. //
  151. this.txtTCPServerRecv.Cursor = System.Windows.Forms.Cursors.IBeam;
  152. this.txtTCPServerRecv.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  153. this.txtTCPServerRecv.Location = new System.Drawing.Point(151, 104);
  154. this.txtTCPServerRecv.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  155. this.txtTCPServerRecv.MinimumSize = new System.Drawing.Size(1, 16);
  156. this.txtTCPServerRecv.Multiline = true;
  157. this.txtTCPServerRecv.Name = "txtTCPServerRecv";
  158. this.txtTCPServerRecv.Padding = new System.Windows.Forms.Padding(5);
  159. this.txtTCPServerRecv.ShowText = false;
  160. this.txtTCPServerRecv.Size = new System.Drawing.Size(622, 121);
  161. this.txtTCPServerRecv.TabIndex = 8;
  162. this.txtTCPServerRecv.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  163. this.txtTCPServerRecv.Watermark = "";
  164. //
  165. // uiLabel9
  166. //
  167. this.uiLabel9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  168. this.uiLabel9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  169. this.uiLabel9.Location = new System.Drawing.Point(31, 104);
  170. this.uiLabel9.Name = "uiLabel9";
  171. this.uiLabel9.Size = new System.Drawing.Size(100, 23);
  172. this.uiLabel9.TabIndex = 5;
  173. this.uiLabel9.Text = "接收:";
  174. this.uiLabel9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  175. //
  176. // btnTcpServerStart
  177. //
  178. this.btnTcpServerStart.Cursor = System.Windows.Forms.Cursors.Hand;
  179. this.btnTcpServerStart.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  180. this.btnTcpServerStart.Location = new System.Drawing.Point(448, 38);
  181. this.btnTcpServerStart.MinimumSize = new System.Drawing.Size(1, 1);
  182. this.btnTcpServerStart.Name = "btnTcpServerStart";
  183. this.btnTcpServerStart.Radius = 10;
  184. this.btnTcpServerStart.Size = new System.Drawing.Size(194, 45);
  185. this.btnTcpServerStart.TabIndex = 4;
  186. this.btnTcpServerStart.Text = "启动";
  187. this.btnTcpServerStart.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  188. this.btnTcpServerStart.Click += new System.EventHandler(this.BtnTcpServerStart_Click);
  189. //
  190. // uiLabel10
  191. //
  192. this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  193. this.uiLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  194. this.uiLabel10.Location = new System.Drawing.Point(31, 58);
  195. this.uiLabel10.Name = "uiLabel10";
  196. this.uiLabel10.Size = new System.Drawing.Size(100, 23);
  197. this.uiLabel10.TabIndex = 3;
  198. this.uiLabel10.Text = "选项:";
  199. this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  200. //
  201. // cobTcpServer
  202. //
  203. this.cobTcpServer.DataSource = null;
  204. this.cobTcpServer.FillColor = System.Drawing.Color.White;
  205. this.cobTcpServer.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  206. this.cobTcpServer.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
  207. this.cobTcpServer.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
  208. this.cobTcpServer.Location = new System.Drawing.Point(151, 54);
  209. this.cobTcpServer.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  210. this.cobTcpServer.MinimumSize = new System.Drawing.Size(63, 0);
  211. this.cobTcpServer.Name = "cobTcpServer";
  212. this.cobTcpServer.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
  213. this.cobTcpServer.Size = new System.Drawing.Size(168, 29);
  214. this.cobTcpServer.SymbolSize = 24;
  215. this.cobTcpServer.TabIndex = 2;
  216. this.cobTcpServer.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  217. this.cobTcpServer.Watermark = "";
  218. //
  219. // uiGroupBox1
  220. //
  221. this.uiGroupBox1.Controls.Add(this.uiLabel4);
  222. this.uiGroupBox1.Controls.Add(this.rabPLCDataType);
  223. this.uiGroupBox1.Controls.Add(this.txtPLCReturn);
  224. this.uiGroupBox1.Controls.Add(this.btnPLCWrite);
  225. this.uiGroupBox1.Controls.Add(this.btnPLCRead);
  226. this.uiGroupBox1.Controls.Add(this.txtPLCValue);
  227. this.uiGroupBox1.Controls.Add(this.txtPLCAdd);
  228. this.uiGroupBox1.Controls.Add(this.uiLabel3);
  229. this.uiGroupBox1.Controls.Add(this.uiLabel2);
  230. this.uiGroupBox1.Controls.Add(this.btnPLCConnect);
  231. this.uiGroupBox1.Controls.Add(this.uiLabel1);
  232. this.uiGroupBox1.Controls.Add(this.cobPLC);
  233. this.uiGroupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
  234. this.uiGroupBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  235. this.uiGroupBox1.Location = new System.Drawing.Point(4, 5);
  236. this.uiGroupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  237. this.uiGroupBox1.MinimumSize = new System.Drawing.Size(1, 1);
  238. this.uiGroupBox1.Name = "uiGroupBox1";
  239. this.uiGroupBox1.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
  240. this.uiGroupBox1.Size = new System.Drawing.Size(794, 396);
  241. this.uiGroupBox1.TabIndex = 0;
  242. this.uiGroupBox1.Text = "PLC通讯";
  243. this.uiGroupBox1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  244. //
  245. // uiLabel4
  246. //
  247. this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  248. this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  249. this.uiLabel4.Location = new System.Drawing.Point(46, 289);
  250. this.uiLabel4.Name = "uiLabel4";
  251. this.uiLabel4.Size = new System.Drawing.Size(68, 23);
  252. this.uiLabel4.TabIndex = 10;
  253. this.uiLabel4.Text = "信息:";
  254. this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  255. //
  256. // rabPLCDataType
  257. //
  258. this.rabPLCDataType.ColumnCount = 2;
  259. this.rabPLCDataType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  260. this.rabPLCDataType.Items.AddRange(new object[] {
  261. "int",
  262. "float",
  263. "double",
  264. "short",
  265. "bool",
  266. "ushort",
  267. "string"});
  268. this.rabPLCDataType.Location = new System.Drawing.Point(465, 91);
  269. this.rabPLCDataType.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  270. this.rabPLCDataType.MinimumSize = new System.Drawing.Size(1, 1);
  271. this.rabPLCDataType.Name = "rabPLCDataType";
  272. this.rabPLCDataType.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
  273. this.rabPLCDataType.Size = new System.Drawing.Size(289, 173);
  274. this.rabPLCDataType.TabIndex = 9;
  275. this.rabPLCDataType.Text = "读写数据类型";
  276. this.rabPLCDataType.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  277. //
  278. // txtPLCReturn
  279. //
  280. this.txtPLCReturn.Cursor = System.Windows.Forms.Cursors.IBeam;
  281. this.txtPLCReturn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  282. this.txtPLCReturn.Location = new System.Drawing.Point(121, 289);
  283. this.txtPLCReturn.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  284. this.txtPLCReturn.MinimumSize = new System.Drawing.Size(1, 16);
  285. this.txtPLCReturn.Name = "txtPLCReturn";
  286. this.txtPLCReturn.Padding = new System.Windows.Forms.Padding(5);
  287. this.txtPLCReturn.ShowText = false;
  288. this.txtPLCReturn.Size = new System.Drawing.Size(609, 29);
  289. this.txtPLCReturn.TabIndex = 7;
  290. this.txtPLCReturn.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  291. this.txtPLCReturn.Watermark = "";
  292. //
  293. // btnPLCWrite
  294. //
  295. this.btnPLCWrite.Cursor = System.Windows.Forms.Cursors.Hand;
  296. this.btnPLCWrite.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  297. this.btnPLCWrite.Location = new System.Drawing.Point(448, 326);
  298. this.btnPLCWrite.MinimumSize = new System.Drawing.Size(1, 1);
  299. this.btnPLCWrite.Name = "btnPLCWrite";
  300. this.btnPLCWrite.Radius = 10;
  301. this.btnPLCWrite.Size = new System.Drawing.Size(194, 45);
  302. this.btnPLCWrite.TabIndex = 8;
  303. this.btnPLCWrite.Text = "写";
  304. this.btnPLCWrite.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  305. this.btnPLCWrite.Click += new System.EventHandler(this.BtnPLCWrite_Click);
  306. //
  307. // btnPLCRead
  308. //
  309. this.btnPLCRead.Cursor = System.Windows.Forms.Cursors.Hand;
  310. this.btnPLCRead.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  311. this.btnPLCRead.Location = new System.Drawing.Point(151, 326);
  312. this.btnPLCRead.MinimumSize = new System.Drawing.Size(1, 1);
  313. this.btnPLCRead.Name = "btnPLCRead";
  314. this.btnPLCRead.Radius = 10;
  315. this.btnPLCRead.Size = new System.Drawing.Size(194, 45);
  316. this.btnPLCRead.TabIndex = 7;
  317. this.btnPLCRead.Text = "读";
  318. this.btnPLCRead.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  319. this.btnPLCRead.Click += new System.EventHandler(this.BtnPLCRead_Click);
  320. //
  321. // txtPLCValue
  322. //
  323. this.txtPLCValue.Cursor = System.Windows.Forms.Cursors.IBeam;
  324. this.txtPLCValue.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  325. this.txtPLCValue.Location = new System.Drawing.Point(247, 202);
  326. this.txtPLCValue.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  327. this.txtPLCValue.MinimumSize = new System.Drawing.Size(1, 16);
  328. this.txtPLCValue.Name = "txtPLCValue";
  329. this.txtPLCValue.Padding = new System.Windows.Forms.Padding(5);
  330. this.txtPLCValue.ShowText = false;
  331. this.txtPLCValue.Size = new System.Drawing.Size(150, 29);
  332. this.txtPLCValue.TabIndex = 6;
  333. this.txtPLCValue.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  334. this.txtPLCValue.Watermark = "";
  335. //
  336. // txtPLCAdd
  337. //
  338. this.txtPLCAdd.Cursor = System.Windows.Forms.Cursors.IBeam;
  339. this.txtPLCAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  340. this.txtPLCAdd.Location = new System.Drawing.Point(36, 202);
  341. this.txtPLCAdd.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  342. this.txtPLCAdd.MinimumSize = new System.Drawing.Size(1, 16);
  343. this.txtPLCAdd.Name = "txtPLCAdd";
  344. this.txtPLCAdd.Padding = new System.Windows.Forms.Padding(5);
  345. this.txtPLCAdd.ShowText = false;
  346. this.txtPLCAdd.Size = new System.Drawing.Size(150, 29);
  347. this.txtPLCAdd.TabIndex = 5;
  348. this.txtPLCAdd.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  349. this.txtPLCAdd.Watermark = "";
  350. //
  351. // uiLabel3
  352. //
  353. this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  354. this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  355. this.uiLabel3.Location = new System.Drawing.Point(275, 145);
  356. this.uiLabel3.Name = "uiLabel3";
  357. this.uiLabel3.Size = new System.Drawing.Size(100, 23);
  358. this.uiLabel3.TabIndex = 4;
  359. this.uiLabel3.Text = "写入数值";
  360. this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  361. //
  362. // uiLabel2
  363. //
  364. this.uiLabel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  365. this.uiLabel2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  366. this.uiLabel2.Location = new System.Drawing.Point(63, 145);
  367. this.uiLabel2.Name = "uiLabel2";
  368. this.uiLabel2.Size = new System.Drawing.Size(100, 23);
  369. this.uiLabel2.TabIndex = 3;
  370. this.uiLabel2.Text = "地址";
  371. this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  372. //
  373. // btnPLCConnect
  374. //
  375. this.btnPLCConnect.Cursor = System.Windows.Forms.Cursors.Hand;
  376. this.btnPLCConnect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  377. this.btnPLCConnect.Location = new System.Drawing.Point(450, 38);
  378. this.btnPLCConnect.MinimumSize = new System.Drawing.Size(1, 1);
  379. this.btnPLCConnect.Name = "btnPLCConnect";
  380. this.btnPLCConnect.Radius = 10;
  381. this.btnPLCConnect.Size = new System.Drawing.Size(194, 45);
  382. this.btnPLCConnect.TabIndex = 2;
  383. this.btnPLCConnect.Text = "连接";
  384. this.btnPLCConnect.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  385. this.btnPLCConnect.Click += new System.EventHandler(this.BtnPLCConnect_Click);
  386. //
  387. // uiLabel1
  388. //
  389. this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  390. this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  391. this.uiLabel1.Location = new System.Drawing.Point(31, 58);
  392. this.uiLabel1.Name = "uiLabel1";
  393. this.uiLabel1.Size = new System.Drawing.Size(100, 23);
  394. this.uiLabel1.TabIndex = 1;
  395. this.uiLabel1.Text = "选项:";
  396. this.uiLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  397. //
  398. // cobPLC
  399. //
  400. this.cobPLC.DataSource = null;
  401. this.cobPLC.FillColor = System.Drawing.Color.White;
  402. this.cobPLC.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  403. this.cobPLC.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
  404. this.cobPLC.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
  405. this.cobPLC.Location = new System.Drawing.Point(151, 54);
  406. this.cobPLC.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  407. this.cobPLC.MinimumSize = new System.Drawing.Size(63, 0);
  408. this.cobPLC.Name = "cobPLC";
  409. this.cobPLC.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
  410. this.cobPLC.Size = new System.Drawing.Size(168, 29);
  411. this.cobPLC.SymbolSize = 24;
  412. this.cobPLC.TabIndex = 0;
  413. this.cobPLC.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  414. this.cobPLC.Watermark = "";
  415. this.cobPLC.SelectedIndexChanged += new System.EventHandler(this.CobPLC_SelectedIndexChanged);
  416. //
  417. // uiGroupBox2
  418. //
  419. this.uiGroupBox2.Controls.Add(this.btnClientSend);
  420. this.uiGroupBox2.Controls.Add(this.txtClientSend);
  421. this.uiGroupBox2.Controls.Add(this.uiLabel7);
  422. this.uiGroupBox2.Controls.Add(this.txtClientRecv);
  423. this.uiGroupBox2.Controls.Add(this.uiLabel6);
  424. this.uiGroupBox2.Controls.Add(this.btnClientConnect);
  425. this.uiGroupBox2.Controls.Add(this.uiLabel5);
  426. this.uiGroupBox2.Controls.Add(this.cobTcpClient);
  427. this.uiGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  428. this.uiGroupBox2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  429. this.uiGroupBox2.Location = new System.Drawing.Point(806, 5);
  430. this.uiGroupBox2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  431. this.uiGroupBox2.MinimumSize = new System.Drawing.Size(1, 1);
  432. this.uiGroupBox2.Name = "uiGroupBox2";
  433. this.uiGroupBox2.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
  434. this.uiGroupBox2.Size = new System.Drawing.Size(794, 396);
  435. this.uiGroupBox2.TabIndex = 1;
  436. this.uiGroupBox2.Text = "Client通讯";
  437. this.uiGroupBox2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
  438. //
  439. // btnClientSend
  440. //
  441. this.btnClientSend.Cursor = System.Windows.Forms.Cursors.Hand;
  442. this.btnClientSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  443. this.btnClientSend.Location = new System.Drawing.Point(448, 327);
  444. this.btnClientSend.MinimumSize = new System.Drawing.Size(1, 1);
  445. this.btnClientSend.Name = "btnClientSend";
  446. this.btnClientSend.Radius = 10;
  447. this.btnClientSend.Size = new System.Drawing.Size(194, 45);
  448. this.btnClientSend.TabIndex = 10;
  449. this.btnClientSend.Text = "发送";
  450. this.btnClientSend.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  451. this.btnClientSend.Click += new System.EventHandler(this.BtnClientSend_Click);
  452. //
  453. // txtClientSend
  454. //
  455. this.txtClientSend.Cursor = System.Windows.Forms.Cursors.IBeam;
  456. this.txtClientSend.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  457. this.txtClientSend.Location = new System.Drawing.Point(151, 241);
  458. this.txtClientSend.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  459. this.txtClientSend.MinimumSize = new System.Drawing.Size(1, 16);
  460. this.txtClientSend.Multiline = true;
  461. this.txtClientSend.Name = "txtClientSend";
  462. this.txtClientSend.Padding = new System.Windows.Forms.Padding(5);
  463. this.txtClientSend.ShowText = false;
  464. this.txtClientSend.Size = new System.Drawing.Size(622, 78);
  465. this.txtClientSend.TabIndex = 9;
  466. this.txtClientSend.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  467. this.txtClientSend.Watermark = "";
  468. //
  469. // uiLabel7
  470. //
  471. this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  472. this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  473. this.uiLabel7.Location = new System.Drawing.Point(31, 241);
  474. this.uiLabel7.Name = "uiLabel7";
  475. this.uiLabel7.Size = new System.Drawing.Size(100, 23);
  476. this.uiLabel7.TabIndex = 9;
  477. this.uiLabel7.Text = "发送:";
  478. this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  479. //
  480. // txtClientRecv
  481. //
  482. this.txtClientRecv.Cursor = System.Windows.Forms.Cursors.IBeam;
  483. this.txtClientRecv.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  484. this.txtClientRecv.Location = new System.Drawing.Point(151, 110);
  485. this.txtClientRecv.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  486. this.txtClientRecv.MinimumSize = new System.Drawing.Size(1, 16);
  487. this.txtClientRecv.Multiline = true;
  488. this.txtClientRecv.Name = "txtClientRecv";
  489. this.txtClientRecv.Padding = new System.Windows.Forms.Padding(5);
  490. this.txtClientRecv.ShowText = false;
  491. this.txtClientRecv.Size = new System.Drawing.Size(622, 121);
  492. this.txtClientRecv.TabIndex = 8;
  493. this.txtClientRecv.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  494. this.txtClientRecv.Watermark = "";
  495. //
  496. // uiLabel6
  497. //
  498. this.uiLabel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  499. this.uiLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  500. this.uiLabel6.Location = new System.Drawing.Point(31, 110);
  501. this.uiLabel6.Name = "uiLabel6";
  502. this.uiLabel6.Size = new System.Drawing.Size(100, 23);
  503. this.uiLabel6.TabIndex = 5;
  504. this.uiLabel6.Text = "接收:";
  505. this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  506. //
  507. // btnClientConnect
  508. //
  509. this.btnClientConnect.Cursor = System.Windows.Forms.Cursors.Hand;
  510. this.btnClientConnect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  511. this.btnClientConnect.Location = new System.Drawing.Point(448, 38);
  512. this.btnClientConnect.MinimumSize = new System.Drawing.Size(1, 1);
  513. this.btnClientConnect.Name = "btnClientConnect";
  514. this.btnClientConnect.Radius = 10;
  515. this.btnClientConnect.Size = new System.Drawing.Size(194, 45);
  516. this.btnClientConnect.TabIndex = 4;
  517. this.btnClientConnect.Text = "连接";
  518. this.btnClientConnect.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  519. this.btnClientConnect.Click += new System.EventHandler(this.BtnClientConnect_Click);
  520. //
  521. // uiLabel5
  522. //
  523. this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  524. this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
  525. this.uiLabel5.Location = new System.Drawing.Point(31, 58);
  526. this.uiLabel5.Name = "uiLabel5";
  527. this.uiLabel5.Size = new System.Drawing.Size(100, 23);
  528. this.uiLabel5.TabIndex = 3;
  529. this.uiLabel5.Text = "选项:";
  530. this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
  531. //
  532. // cobTcpClient
  533. //
  534. this.cobTcpClient.DataSource = null;
  535. this.cobTcpClient.FillColor = System.Drawing.Color.White;
  536. this.cobTcpClient.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  537. this.cobTcpClient.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
  538. this.cobTcpClient.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
  539. this.cobTcpClient.Location = new System.Drawing.Point(151, 54);
  540. this.cobTcpClient.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
  541. this.cobTcpClient.MinimumSize = new System.Drawing.Size(63, 0);
  542. this.cobTcpClient.Name = "cobTcpClient";
  543. this.cobTcpClient.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
  544. this.cobTcpClient.Size = new System.Drawing.Size(168, 29);
  545. this.cobTcpClient.SymbolSize = 24;
  546. this.cobTcpClient.TabIndex = 2;
  547. this.cobTcpClient.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
  548. this.cobTcpClient.Watermark = "";
  549. //
  550. // timer1
  551. //
  552. this.timer1.Interval = 1000;
  553. this.timer1.Tick += new System.EventHandler(this.Timer1_Tick);
  554. //
  555. // FrmCommunication
  556. //
  557. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  558. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  559. this.ClientSize = new System.Drawing.Size(1604, 813);
  560. this.Controls.Add(this.uiTableLayoutPanel1);
  561. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
  562. this.Name = "FrmCommunication";
  563. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  564. this.Text = "通讯";
  565. this.Load += new System.EventHandler(this.FrmCommunication_Load);
  566. this.uiTableLayoutPanel1.ResumeLayout(false);
  567. this.uiGroupBox3.ResumeLayout(false);
  568. this.uiGroupBox1.ResumeLayout(false);
  569. this.uiGroupBox2.ResumeLayout(false);
  570. this.ResumeLayout(false);
  571. }
  572. #endregion
  573. private Sunny.UI.UITableLayoutPanel uiTableLayoutPanel1;
  574. private Sunny.UI.UIGroupBox uiGroupBox1;
  575. private Sunny.UI.UILabel uiLabel1;
  576. private Sunny.UI.UIComboBox cobPLC;
  577. private Sunny.UI.UITextBox txtPLCValue;
  578. private Sunny.UI.UITextBox txtPLCAdd;
  579. private Sunny.UI.UILabel uiLabel3;
  580. private Sunny.UI.UILabel uiLabel2;
  581. private Sunny.UI.UIButton btnPLCConnect;
  582. private Sunny.UI.UIButton btnPLCWrite;
  583. private Sunny.UI.UIButton btnPLCRead;
  584. private Sunny.UI.UITextBox txtPLCReturn;
  585. private Sunny.UI.UIRadioButtonGroup rabPLCDataType;
  586. private System.Windows.Forms.Timer timer1;
  587. private Sunny.UI.UILabel uiLabel4;
  588. private Sunny.UI.UIGroupBox uiGroupBox2;
  589. private Sunny.UI.UIButton btnClientConnect;
  590. private Sunny.UI.UILabel uiLabel5;
  591. private Sunny.UI.UIComboBox cobTcpClient;
  592. private Sunny.UI.UILabel uiLabel6;
  593. private Sunny.UI.UIButton btnClientSend;
  594. private Sunny.UI.UITextBox txtClientSend;
  595. private Sunny.UI.UILabel uiLabel7;
  596. private Sunny.UI.UITextBox txtClientRecv;
  597. private Sunny.UI.UIGroupBox uiGroupBox3;
  598. private Sunny.UI.UIButton btnTCPServerSend;
  599. private Sunny.UI.UITextBox txtTCPServerSend;
  600. private Sunny.UI.UILabel uiLabel8;
  601. private Sunny.UI.UITextBox txtTCPServerRecv;
  602. private Sunny.UI.UILabel uiLabel9;
  603. private Sunny.UI.UIButton btnTcpServerStart;
  604. private Sunny.UI.UILabel uiLabel10;
  605. private Sunny.UI.UIComboBox cobTcpServer;
  606. }
  607. }