MainForm.Designer.cs 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. namespace DotNettyFrom
  2. {
  3. partial class MainForm
  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(MainForm));
  30. this.LBLogShow = new System.Windows.Forms.ListBox();
  31. this.ListBoxLogContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
  32. this.LB_Context_CpCmd = new System.Windows.Forms.ToolStripMenuItem();
  33. this.LB_Context_CpLine = new System.Windows.Forms.ToolStripMenuItem();
  34. this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
  35. this.LB_Context_GJson = new System.Windows.Forms.ToolStripMenuItem();
  36. this.LB_Context_AnaCmd = new System.Windows.Forms.ToolStripMenuItem();
  37. this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
  38. this.LB_Context_ClearAll = new System.Windows.Forms.ToolStripMenuItem();
  39. this.TbHost = new System.Windows.Forms.TextBox();
  40. this.TbPort = new System.Windows.Forms.TextBox();
  41. this.BtnConnection = new System.Windows.Forms.Button();
  42. this.BtnDisConn = new System.Windows.Forms.Button();
  43. this.BtnLogin = new System.Windows.Forms.Button();
  44. this.BtnSendData = new System.Windows.Forms.Button();
  45. this.menuStrip1 = new System.Windows.Forms.MenuStrip();
  46. this.文件FToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  47. this.dtuToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  48. this.water2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  49. this.配置TToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  50. this.RT_HB_Enable = new System.Windows.Forms.ToolStripMenuItem();
  51. this.LogHbtoolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  52. this.RT_HB_Time = new System.Windows.Forms.ToolStripMenuItem();
  53. this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
  54. this.FrametoolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
  55. this.HalfPkgToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  56. this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
  57. this.TSMI_ClearAll = new System.Windows.Forms.ToolStripMenuItem();
  58. this.历史HToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  59. this.RT_HI_Host = new System.Windows.Forms.ToolStripMenuItem();
  60. this.RT_HI_DeviceId = new System.Windows.Forms.ToolStripMenuItem();
  61. this.RT_HI_CCID = new System.Windows.Forms.ToolStripMenuItem();
  62. this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
  63. this.RT_HI_SendData = new System.Windows.Forms.ToolStripMenuItem();
  64. this.指令MToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  65. this.LoginToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  66. this.HeartBeatToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  67. this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
  68. this.statusStrip1 = new System.Windows.Forms.StatusStrip();
  69. this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
  70. this.StatusItemHbTime = new System.Windows.Forms.ToolStripStatusLabel();
  71. this.groupBox1 = new System.Windows.Forms.GroupBox();
  72. this.BtnFixCmd = new System.Windows.Forms.Button();
  73. this.BtnAutoUpload = new System.Windows.Forms.Button();
  74. this.BtnClearAll = new System.Windows.Forms.Button();
  75. this.TbSendData = new System.Windows.Forms.TextBox();
  76. this.label5 = new System.Windows.Forms.Label();
  77. this.BtnTest = new System.Windows.Forms.Button();
  78. this.BtnCmdManager = new System.Windows.Forms.Button();
  79. this.label4 = new System.Windows.Forms.Label();
  80. this.TbCCID = new System.Windows.Forms.TextBox();
  81. this.label3 = new System.Windows.Forms.Label();
  82. this.TbDeviceId = new System.Windows.Forms.TextBox();
  83. this.label2 = new System.Windows.Forms.Label();
  84. this.label1 = new System.Windows.Forms.Label();
  85. this.toolStripMenuItemDefault = new System.Windows.Forms.ToolStripMenuItem();
  86. this.ListBoxLogContextMenu.SuspendLayout();
  87. this.menuStrip1.SuspendLayout();
  88. this.statusStrip1.SuspendLayout();
  89. this.groupBox1.SuspendLayout();
  90. this.SuspendLayout();
  91. //
  92. // LBLogShow
  93. //
  94. this.LBLogShow.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  95. | System.Windows.Forms.AnchorStyles.Left)
  96. | System.Windows.Forms.AnchorStyles.Right)));
  97. this.LBLogShow.ContextMenuStrip = this.ListBoxLogContextMenu;
  98. this.LBLogShow.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
  99. this.LBLogShow.Font = new System.Drawing.Font("微软雅黑", 9F);
  100. this.LBLogShow.FormattingEnabled = true;
  101. this.LBLogShow.ItemHeight = 16;
  102. this.LBLogShow.Location = new System.Drawing.Point(12, 277);
  103. this.LBLogShow.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  104. this.LBLogShow.Name = "LBLogShow";
  105. this.LBLogShow.Size = new System.Drawing.Size(961, 404);
  106. this.LBLogShow.TabIndex = 0;
  107. this.LBLogShow.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.LBLogShow_DrawItem);
  108. this.LBLogShow.DoubleClick += new System.EventHandler(this.LBLogShow_DoubleClick);
  109. //
  110. // ListBoxLogContextMenu
  111. //
  112. this.ListBoxLogContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  113. this.LB_Context_CpCmd,
  114. this.LB_Context_CpLine,
  115. this.toolStripSeparator3,
  116. this.LB_Context_GJson,
  117. this.LB_Context_AnaCmd,
  118. this.toolStripSeparator4,
  119. this.LB_Context_ClearAll});
  120. this.ListBoxLogContextMenu.Name = "ListBoxLogContextMenu";
  121. this.ListBoxLogContextMenu.Size = new System.Drawing.Size(170, 126);
  122. //
  123. // LB_Context_CpCmd
  124. //
  125. this.LB_Context_CpCmd.Name = "LB_Context_CpCmd";
  126. this.LB_Context_CpCmd.Size = new System.Drawing.Size(169, 22);
  127. this.LB_Context_CpCmd.Text = "复制指令(&C)";
  128. this.LB_Context_CpCmd.Click += new System.EventHandler(this.LB_Context_CpCmd_Click);
  129. //
  130. // LB_Context_CpLine
  131. //
  132. this.LB_Context_CpLine.Name = "LB_Context_CpLine";
  133. this.LB_Context_CpLine.Size = new System.Drawing.Size(169, 22);
  134. this.LB_Context_CpLine.Text = "复制整行(&R)";
  135. this.LB_Context_CpLine.Click += new System.EventHandler(this.LB_Context_CpLine_Click);
  136. //
  137. // toolStripSeparator3
  138. //
  139. this.toolStripSeparator3.Name = "toolStripSeparator3";
  140. this.toolStripSeparator3.Size = new System.Drawing.Size(166, 6);
  141. //
  142. // LB_Context_GJson
  143. //
  144. this.LB_Context_GJson.Name = "LB_Context_GJson";
  145. this.LB_Context_GJson.Size = new System.Drawing.Size(169, 22);
  146. this.LB_Context_GJson.Text = "指令生成JSON(&J)";
  147. this.LB_Context_GJson.Click += new System.EventHandler(this.LB_Context_GJson_Click);
  148. //
  149. // LB_Context_AnaCmd
  150. //
  151. this.LB_Context_AnaCmd.Name = "LB_Context_AnaCmd";
  152. this.LB_Context_AnaCmd.Size = new System.Drawing.Size(169, 22);
  153. this.LB_Context_AnaCmd.Text = "分析指令(&A)";
  154. this.LB_Context_AnaCmd.Click += new System.EventHandler(this.LB_Context_AnaCmd_Click);
  155. //
  156. // toolStripSeparator4
  157. //
  158. this.toolStripSeparator4.Name = "toolStripSeparator4";
  159. this.toolStripSeparator4.Size = new System.Drawing.Size(166, 6);
  160. //
  161. // LB_Context_ClearAll
  162. //
  163. this.LB_Context_ClearAll.Name = "LB_Context_ClearAll";
  164. this.LB_Context_ClearAll.Size = new System.Drawing.Size(169, 22);
  165. this.LB_Context_ClearAll.Text = "清空信息(&L)";
  166. this.LB_Context_ClearAll.Click += new System.EventHandler(this.LB_Context_ClearAll_Click);
  167. //
  168. // TbHost
  169. //
  170. this.TbHost.Location = new System.Drawing.Point(47, 15);
  171. this.TbHost.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  172. this.TbHost.Name = "TbHost";
  173. this.TbHost.Size = new System.Drawing.Size(280, 22);
  174. this.TbHost.TabIndex = 1;
  175. this.TbHost.Text = "127.0.0.1";
  176. //
  177. // TbPort
  178. //
  179. this.TbPort.Location = new System.Drawing.Point(371, 15);
  180. this.TbPort.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  181. this.TbPort.Name = "TbPort";
  182. this.TbPort.Size = new System.Drawing.Size(57, 22);
  183. this.TbPort.TabIndex = 1;
  184. this.TbPort.Text = "15440";
  185. this.TbPort.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.TbPort_KeyPress);
  186. //
  187. // BtnConnection
  188. //
  189. this.BtnConnection.Location = new System.Drawing.Point(192, 45);
  190. this.BtnConnection.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  191. this.BtnConnection.Name = "BtnConnection";
  192. this.BtnConnection.Size = new System.Drawing.Size(87, 31);
  193. this.BtnConnection.TabIndex = 2;
  194. this.BtnConnection.Text = "连接";
  195. this.BtnConnection.UseVisualStyleBackColor = true;
  196. this.BtnConnection.Click += new System.EventHandler(this.BtnConnection_Click);
  197. //
  198. // BtnDisConn
  199. //
  200. this.BtnDisConn.Enabled = false;
  201. this.BtnDisConn.Location = new System.Drawing.Point(99, 45);
  202. this.BtnDisConn.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  203. this.BtnDisConn.Name = "BtnDisConn";
  204. this.BtnDisConn.Size = new System.Drawing.Size(87, 31);
  205. this.BtnDisConn.TabIndex = 2;
  206. this.BtnDisConn.Text = "断开";
  207. this.BtnDisConn.UseVisualStyleBackColor = true;
  208. this.BtnDisConn.Click += new System.EventHandler(this.BtnDisConn_Click);
  209. //
  210. // BtnLogin
  211. //
  212. this.BtnLogin.Location = new System.Drawing.Point(6, 45);
  213. this.BtnLogin.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  214. this.BtnLogin.Name = "BtnLogin";
  215. this.BtnLogin.Size = new System.Drawing.Size(87, 31);
  216. this.BtnLogin.TabIndex = 2;
  217. this.BtnLogin.Text = "连接.登录";
  218. this.BtnLogin.UseVisualStyleBackColor = true;
  219. this.BtnLogin.Click += new System.EventHandler(this.BtnLogin_Click);
  220. //
  221. // BtnSendData
  222. //
  223. this.BtnSendData.Enabled = false;
  224. this.BtnSendData.Location = new System.Drawing.Point(285, 45);
  225. this.BtnSendData.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  226. this.BtnSendData.Name = "BtnSendData";
  227. this.BtnSendData.Size = new System.Drawing.Size(87, 31);
  228. this.BtnSendData.TabIndex = 2;
  229. this.BtnSendData.Text = "发送数据";
  230. this.BtnSendData.UseVisualStyleBackColor = true;
  231. this.BtnSendData.Click += new System.EventHandler(this.BtnSendData_Click);
  232. //
  233. // menuStrip1
  234. //
  235. this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  236. this.文件FToolStripMenuItem,
  237. this.配置TToolStripMenuItem,
  238. this.历史HToolStripMenuItem,
  239. this.指令MToolStripMenuItem});
  240. this.menuStrip1.Location = new System.Drawing.Point(0, 0);
  241. this.menuStrip1.Name = "menuStrip1";
  242. this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 3, 0, 3);
  243. this.menuStrip1.Size = new System.Drawing.Size(985, 27);
  244. this.menuStrip1.TabIndex = 3;
  245. this.menuStrip1.Text = "menuStrip1";
  246. //
  247. // 文件FToolStripMenuItem
  248. //
  249. this.文件FToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  250. this.toolStripMenuItemDefault,
  251. this.dtuToolStripMenuItem,
  252. this.water2ToolStripMenuItem});
  253. this.文件FToolStripMenuItem.Name = "文件FToolStripMenuItem";
  254. this.文件FToolStripMenuItem.Size = new System.Drawing.Size(58, 21);
  255. this.文件FToolStripMenuItem.Text = "文件(&F)";
  256. //
  257. // dtuToolStripMenuItem
  258. //
  259. this.dtuToolStripMenuItem.Name = "dtuToolStripMenuItem";
  260. this.dtuToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  261. this.dtuToolStripMenuItem.Text = "Dtu";
  262. this.dtuToolStripMenuItem.Click += new System.EventHandler(this.dtuToolStripMenuItem_Click);
  263. //
  264. // water2ToolStripMenuItem
  265. //
  266. this.water2ToolStripMenuItem.Name = "water2ToolStripMenuItem";
  267. this.water2ToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
  268. this.water2ToolStripMenuItem.Text = "Water2";
  269. this.water2ToolStripMenuItem.Click += new System.EventHandler(this.water2ToolStripMenuItem_Click);
  270. //
  271. // 配置TToolStripMenuItem
  272. //
  273. this.配置TToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  274. this.RT_HB_Enable,
  275. this.LogHbtoolStripMenuItem,
  276. this.RT_HB_Time,
  277. this.toolStripSeparator1,
  278. this.FrametoolStripMenuItem1,
  279. this.HalfPkgToolStripMenuItem,
  280. this.toolStripSeparator5,
  281. this.TSMI_ClearAll});
  282. this.配置TToolStripMenuItem.Name = "配置TToolStripMenuItem";
  283. this.配置TToolStripMenuItem.Size = new System.Drawing.Size(60, 21);
  284. this.配置TToolStripMenuItem.Text = "配置(&C)";
  285. //
  286. // RT_HB_Enable
  287. //
  288. this.RT_HB_Enable.Checked = true;
  289. this.RT_HB_Enable.CheckOnClick = true;
  290. this.RT_HB_Enable.CheckState = System.Windows.Forms.CheckState.Checked;
  291. this.RT_HB_Enable.Name = "RT_HB_Enable";
  292. this.RT_HB_Enable.Size = new System.Drawing.Size(180, 22);
  293. this.RT_HB_Enable.Text = "启用心跳";
  294. this.RT_HB_Enable.Click += new System.EventHandler(this.RT_HB_Enable_Click);
  295. //
  296. // LogHbtoolStripMenuItem
  297. //
  298. this.LogHbtoolStripMenuItem.CheckOnClick = true;
  299. this.LogHbtoolStripMenuItem.Name = "LogHbtoolStripMenuItem";
  300. this.LogHbtoolStripMenuItem.Size = new System.Drawing.Size(180, 22);
  301. this.LogHbtoolStripMenuItem.Text = "打印心跳";
  302. this.LogHbtoolStripMenuItem.Click += new System.EventHandler(this.LogHbtoolStripMenuItem_Click);
  303. //
  304. // RT_HB_Time
  305. //
  306. this.RT_HB_Time.Name = "RT_HB_Time";
  307. this.RT_HB_Time.Size = new System.Drawing.Size(180, 22);
  308. this.RT_HB_Time.Text = "心跳配置(&H)";
  309. this.RT_HB_Time.Click += new System.EventHandler(this.RT_HB_Time_Click);
  310. //
  311. // toolStripSeparator1
  312. //
  313. this.toolStripSeparator1.Name = "toolStripSeparator1";
  314. this.toolStripSeparator1.Size = new System.Drawing.Size(177, 6);
  315. //
  316. // FrametoolStripMenuItem1
  317. //
  318. this.FrametoolStripMenuItem1.Name = "FrametoolStripMenuItem1";
  319. this.FrametoolStripMenuItem1.Size = new System.Drawing.Size(180, 22);
  320. this.FrametoolStripMenuItem1.Text = "帧配置";
  321. //
  322. // HalfPkgToolStripMenuItem
  323. //
  324. this.HalfPkgToolStripMenuItem.Enabled = false;
  325. this.HalfPkgToolStripMenuItem.Name = "HalfPkgToolStripMenuItem";
  326. this.HalfPkgToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
  327. this.HalfPkgToolStripMenuItem.Text = "半包-粘包";
  328. this.HalfPkgToolStripMenuItem.Click += new System.EventHandler(this.HalfPkgToolStripMenuItem_Click_1);
  329. //
  330. // toolStripSeparator5
  331. //
  332. this.toolStripSeparator5.Name = "toolStripSeparator5";
  333. this.toolStripSeparator5.Size = new System.Drawing.Size(177, 6);
  334. //
  335. // TSMI_ClearAll
  336. //
  337. this.TSMI_ClearAll.Name = "TSMI_ClearAll";
  338. this.TSMI_ClearAll.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.C)));
  339. this.TSMI_ClearAll.Size = new System.Drawing.Size(180, 22);
  340. this.TSMI_ClearAll.Text = "清空信息(&A)";
  341. this.TSMI_ClearAll.Click += new System.EventHandler(this.TSMI_ClearAll_Click);
  342. //
  343. // 历史HToolStripMenuItem
  344. //
  345. this.历史HToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  346. this.RT_HI_Host,
  347. this.RT_HI_DeviceId,
  348. this.RT_HI_CCID,
  349. this.toolStripSeparator2,
  350. this.RT_HI_SendData});
  351. this.历史HToolStripMenuItem.Name = "历史HToolStripMenuItem";
  352. this.历史HToolStripMenuItem.Size = new System.Drawing.Size(61, 21);
  353. this.历史HToolStripMenuItem.Text = "历史(&H)";
  354. //
  355. // RT_HI_Host
  356. //
  357. this.RT_HI_Host.Name = "RT_HI_Host";
  358. this.RT_HI_Host.Size = new System.Drawing.Size(124, 22);
  359. this.RT_HI_Host.Text = "Host";
  360. this.RT_HI_Host.Click += new System.EventHandler(this.RT_HI_Host_Click);
  361. //
  362. // RT_HI_DeviceId
  363. //
  364. this.RT_HI_DeviceId.Name = "RT_HI_DeviceId";
  365. this.RT_HI_DeviceId.Size = new System.Drawing.Size(124, 22);
  366. this.RT_HI_DeviceId.Text = "地址";
  367. this.RT_HI_DeviceId.Click += new System.EventHandler(this.RT_HI_DeviceId_Click);
  368. //
  369. // RT_HI_CCID
  370. //
  371. this.RT_HI_CCID.Name = "RT_HI_CCID";
  372. this.RT_HI_CCID.Size = new System.Drawing.Size(124, 22);
  373. this.RT_HI_CCID.Text = "CCID";
  374. this.RT_HI_CCID.Click += new System.EventHandler(this.RT_HI_CCID_Click);
  375. //
  376. // toolStripSeparator2
  377. //
  378. this.toolStripSeparator2.Name = "toolStripSeparator2";
  379. this.toolStripSeparator2.Size = new System.Drawing.Size(121, 6);
  380. //
  381. // RT_HI_SendData
  382. //
  383. this.RT_HI_SendData.Name = "RT_HI_SendData";
  384. this.RT_HI_SendData.Size = new System.Drawing.Size(124, 22);
  385. this.RT_HI_SendData.Text = "发送数据";
  386. this.RT_HI_SendData.Click += new System.EventHandler(this.RT_HI_SendData_Click);
  387. //
  388. // 指令MToolStripMenuItem
  389. //
  390. this.指令MToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  391. this.LoginToolStripMenuItem,
  392. this.HeartBeatToolStripMenuItem,
  393. this.toolStripSeparator6});
  394. this.指令MToolStripMenuItem.Name = "指令MToolStripMenuItem";
  395. this.指令MToolStripMenuItem.Size = new System.Drawing.Size(64, 21);
  396. this.指令MToolStripMenuItem.Text = "指令(&M)";
  397. //
  398. // LoginToolStripMenuItem
  399. //
  400. this.LoginToolStripMenuItem.Name = "LoginToolStripMenuItem";
  401. this.LoginToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
  402. this.LoginToolStripMenuItem.Text = "登录(&L)";
  403. //
  404. // HeartBeatToolStripMenuItem
  405. //
  406. this.HeartBeatToolStripMenuItem.Name = "HeartBeatToolStripMenuItem";
  407. this.HeartBeatToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
  408. this.HeartBeatToolStripMenuItem.Text = "心跳(&H)";
  409. //
  410. // toolStripSeparator6
  411. //
  412. this.toolStripSeparator6.Name = "toolStripSeparator6";
  413. this.toolStripSeparator6.Size = new System.Drawing.Size(114, 6);
  414. //
  415. // statusStrip1
  416. //
  417. this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  418. this.toolStripStatusLabel1,
  419. this.StatusItemHbTime});
  420. this.statusStrip1.Location = new System.Drawing.Point(0, 685);
  421. this.statusStrip1.Name = "statusStrip1";
  422. this.statusStrip1.Padding = new System.Windows.Forms.Padding(1, 0, 16, 0);
  423. this.statusStrip1.Size = new System.Drawing.Size(985, 22);
  424. this.statusStrip1.TabIndex = 4;
  425. this.statusStrip1.Text = "statusStrip1";
  426. //
  427. // toolStripStatusLabel1
  428. //
  429. this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
  430. this.toolStripStatusLabel1.Size = new System.Drawing.Size(35, 17);
  431. this.toolStripStatusLabel1.Text = "心跳:";
  432. //
  433. // StatusItemHbTime
  434. //
  435. this.StatusItemHbTime.Name = "StatusItemHbTime";
  436. this.StatusItemHbTime.Size = new System.Drawing.Size(0, 17);
  437. //
  438. // groupBox1
  439. //
  440. this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  441. | System.Windows.Forms.AnchorStyles.Right)));
  442. this.groupBox1.Controls.Add(this.BtnFixCmd);
  443. this.groupBox1.Controls.Add(this.BtnAutoUpload);
  444. this.groupBox1.Controls.Add(this.BtnClearAll);
  445. this.groupBox1.Controls.Add(this.TbSendData);
  446. this.groupBox1.Controls.Add(this.label5);
  447. this.groupBox1.Controls.Add(this.BtnTest);
  448. this.groupBox1.Controls.Add(this.BtnCmdManager);
  449. this.groupBox1.Controls.Add(this.label4);
  450. this.groupBox1.Controls.Add(this.TbCCID);
  451. this.groupBox1.Controls.Add(this.BtnSendData);
  452. this.groupBox1.Controls.Add(this.BtnDisConn);
  453. this.groupBox1.Controls.Add(this.BtnLogin);
  454. this.groupBox1.Controls.Add(this.label3);
  455. this.groupBox1.Controls.Add(this.TbDeviceId);
  456. this.groupBox1.Controls.Add(this.label2);
  457. this.groupBox1.Controls.Add(this.BtnConnection);
  458. this.groupBox1.Controls.Add(this.label1);
  459. this.groupBox1.Controls.Add(this.TbHost);
  460. this.groupBox1.Controls.Add(this.TbPort);
  461. this.groupBox1.Location = new System.Drawing.Point(12, 30);
  462. this.groupBox1.Name = "groupBox1";
  463. this.groupBox1.Size = new System.Drawing.Size(961, 126);
  464. this.groupBox1.TabIndex = 5;
  465. this.groupBox1.TabStop = false;
  466. this.groupBox1.Text = " ";
  467. //
  468. // BtnFixCmd
  469. //
  470. this.BtnFixCmd.Location = new System.Drawing.Point(750, 45);
  471. this.BtnFixCmd.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  472. this.BtnFixCmd.Name = "BtnFixCmd";
  473. this.BtnFixCmd.Size = new System.Drawing.Size(87, 31);
  474. this.BtnFixCmd.TabIndex = 13;
  475. this.BtnFixCmd.Text = "内置指令";
  476. this.BtnFixCmd.UseVisualStyleBackColor = true;
  477. //
  478. // BtnAutoUpload
  479. //
  480. this.BtnAutoUpload.Location = new System.Drawing.Point(657, 45);
  481. this.BtnAutoUpload.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  482. this.BtnAutoUpload.Name = "BtnAutoUpload";
  483. this.BtnAutoUpload.Size = new System.Drawing.Size(87, 31);
  484. this.BtnAutoUpload.TabIndex = 12;
  485. this.BtnAutoUpload.Text = "主动上报";
  486. this.BtnAutoUpload.UseVisualStyleBackColor = true;
  487. //
  488. // BtnClearAll
  489. //
  490. this.BtnClearAll.Location = new System.Drawing.Point(564, 45);
  491. this.BtnClearAll.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  492. this.BtnClearAll.Name = "BtnClearAll";
  493. this.BtnClearAll.Size = new System.Drawing.Size(87, 31);
  494. this.BtnClearAll.TabIndex = 11;
  495. this.BtnClearAll.Text = "清空信息";
  496. this.BtnClearAll.UseVisualStyleBackColor = true;
  497. this.BtnClearAll.Click += new System.EventHandler(this.BtnClearAll_Click);
  498. //
  499. // TbSendData
  500. //
  501. this.TbSendData.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  502. | System.Windows.Forms.AnchorStyles.Right)));
  503. this.TbSendData.Location = new System.Drawing.Point(381, 83);
  504. this.TbSendData.Name = "TbSendData";
  505. this.TbSendData.Size = new System.Drawing.Size(574, 22);
  506. this.TbSendData.TabIndex = 10;
  507. this.TbSendData.Text = "7e7e7e000000000001b00056020004071008011709221059290200000217092210592900000003170" +
  508. "92210592902000004170922105929020000051709221059290001160617092210592900012f07170" +
  509. "92210592902000008170922105929020000cd";
  510. //
  511. // label5
  512. //
  513. this.label5.AutoSize = true;
  514. this.label5.Location = new System.Drawing.Point(319, 86);
  515. this.label5.Name = "label5";
  516. this.label5.Size = new System.Drawing.Size(56, 17);
  517. this.label5.TabIndex = 9;
  518. this.label5.Text = "发送数据";
  519. //
  520. // BtnTest
  521. //
  522. this.BtnTest.Location = new System.Drawing.Point(471, 45);
  523. this.BtnTest.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  524. this.BtnTest.Name = "BtnTest";
  525. this.BtnTest.Size = new System.Drawing.Size(87, 31);
  526. this.BtnTest.TabIndex = 8;
  527. this.BtnTest.Text = "测试";
  528. this.BtnTest.UseVisualStyleBackColor = true;
  529. this.BtnTest.Click += new System.EventHandler(this.BtnTest_Click);
  530. //
  531. // BtnCmdManager
  532. //
  533. this.BtnCmdManager.Location = new System.Drawing.Point(378, 45);
  534. this.BtnCmdManager.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  535. this.BtnCmdManager.Name = "BtnCmdManager";
  536. this.BtnCmdManager.Size = new System.Drawing.Size(87, 31);
  537. this.BtnCmdManager.TabIndex = 8;
  538. this.BtnCmdManager.Text = "命令管理";
  539. this.BtnCmdManager.UseVisualStyleBackColor = true;
  540. this.BtnCmdManager.Click += new System.EventHandler(this.BtnCmdManager_Click);
  541. //
  542. // label4
  543. //
  544. this.label4.AutoSize = true;
  545. this.label4.Location = new System.Drawing.Point(635, 16);
  546. this.label4.Name = "label4";
  547. this.label4.Size = new System.Drawing.Size(37, 17);
  548. this.label4.TabIndex = 7;
  549. this.label4.Text = "CCID";
  550. //
  551. // TbCCID
  552. //
  553. this.TbCCID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
  554. | System.Windows.Forms.AnchorStyles.Right)));
  555. this.TbCCID.Location = new System.Drawing.Point(673, 13);
  556. this.TbCCID.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  557. this.TbCCID.Name = "TbCCID";
  558. this.TbCCID.Size = new System.Drawing.Size(282, 22);
  559. this.TbCCID.TabIndex = 6;
  560. this.TbCCID.Text = "3839383630324231313931353530343739313331";
  561. //
  562. // label3
  563. //
  564. this.label3.AutoSize = true;
  565. this.label3.Location = new System.Drawing.Point(434, 18);
  566. this.label3.Name = "label3";
  567. this.label3.Size = new System.Drawing.Size(32, 17);
  568. this.label3.TabIndex = 5;
  569. this.label3.Text = "地址";
  570. //
  571. // TbDeviceId
  572. //
  573. this.TbDeviceId.Location = new System.Drawing.Point(472, 15);
  574. this.TbDeviceId.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  575. this.TbDeviceId.Name = "TbDeviceId";
  576. this.TbDeviceId.Size = new System.Drawing.Size(157, 22);
  577. this.TbDeviceId.TabIndex = 4;
  578. this.TbDeviceId.Text = "000000000002";
  579. //
  580. // label2
  581. //
  582. this.label2.AutoSize = true;
  583. this.label2.Location = new System.Drawing.Point(333, 18);
  584. this.label2.Name = "label2";
  585. this.label2.Size = new System.Drawing.Size(32, 17);
  586. this.label2.TabIndex = 3;
  587. this.label2.Text = "Port";
  588. //
  589. // label1
  590. //
  591. this.label1.AutoSize = true;
  592. this.label1.Location = new System.Drawing.Point(6, 18);
  593. this.label1.Name = "label1";
  594. this.label1.Size = new System.Drawing.Size(35, 17);
  595. this.label1.TabIndex = 2;
  596. this.label1.Text = "Host";
  597. //
  598. // toolStripMenuItemDefault
  599. //
  600. this.toolStripMenuItemDefault.Checked = true;
  601. this.toolStripMenuItemDefault.CheckState = System.Windows.Forms.CheckState.Checked;
  602. this.toolStripMenuItemDefault.Name = "toolStripMenuItemDefault";
  603. this.toolStripMenuItemDefault.Size = new System.Drawing.Size(152, 22);
  604. this.toolStripMenuItemDefault.Text = "不定义";
  605. //
  606. // MainForm
  607. //
  608. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
  609. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  610. this.ClientSize = new System.Drawing.Size(985, 707);
  611. this.Controls.Add(this.groupBox1);
  612. this.Controls.Add(this.statusStrip1);
  613. this.Controls.Add(this.LBLogShow);
  614. this.Controls.Add(this.menuStrip1);
  615. this.Font = new System.Drawing.Font("微软雅黑", 8.5F);
  616. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  617. this.MainMenuStrip = this.menuStrip1;
  618. this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
  619. this.Name = "MainForm";
  620. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  621. this.Text = "模拟器";
  622. this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
  623. this.Load += new System.EventHandler(this.MainForm_Load);
  624. this.ListBoxLogContextMenu.ResumeLayout(false);
  625. this.menuStrip1.ResumeLayout(false);
  626. this.menuStrip1.PerformLayout();
  627. this.statusStrip1.ResumeLayout(false);
  628. this.statusStrip1.PerformLayout();
  629. this.groupBox1.ResumeLayout(false);
  630. this.groupBox1.PerformLayout();
  631. this.ResumeLayout(false);
  632. this.PerformLayout();
  633. }
  634. #endregion
  635. private System.Windows.Forms.ListBox LBLogShow;
  636. private System.Windows.Forms.TextBox TbHost;
  637. private System.Windows.Forms.TextBox TbPort;
  638. private System.Windows.Forms.Button BtnConnection;
  639. private System.Windows.Forms.Button BtnDisConn;
  640. private System.Windows.Forms.Button BtnLogin;
  641. private System.Windows.Forms.Button BtnSendData;
  642. private System.Windows.Forms.MenuStrip menuStrip1;
  643. private System.Windows.Forms.ToolStripMenuItem 文件FToolStripMenuItem;
  644. private System.Windows.Forms.StatusStrip statusStrip1;
  645. private System.Windows.Forms.ToolStripMenuItem 配置TToolStripMenuItem;
  646. private System.Windows.Forms.ToolStripMenuItem RT_HB_Time;
  647. private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
  648. private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
  649. private System.Windows.Forms.ToolStripStatusLabel StatusItemHbTime;
  650. private System.Windows.Forms.GroupBox groupBox1;
  651. private System.Windows.Forms.Label label4;
  652. private System.Windows.Forms.TextBox TbCCID;
  653. private System.Windows.Forms.Label label3;
  654. private System.Windows.Forms.TextBox TbDeviceId;
  655. private System.Windows.Forms.Label label2;
  656. private System.Windows.Forms.Label label1;
  657. private System.Windows.Forms.ToolStripMenuItem 历史HToolStripMenuItem;
  658. private System.Windows.Forms.ToolStripMenuItem RT_HI_Host;
  659. private System.Windows.Forms.ToolStripMenuItem RT_HI_DeviceId;
  660. private System.Windows.Forms.ToolStripMenuItem RT_HI_CCID;
  661. private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
  662. private System.Windows.Forms.ToolStripMenuItem RT_HI_SendData;
  663. private System.Windows.Forms.Button BtnCmdManager;
  664. private System.Windows.Forms.Button BtnTest;
  665. private System.Windows.Forms.TextBox TbSendData;
  666. private System.Windows.Forms.Label label5;
  667. private System.Windows.Forms.ContextMenuStrip ListBoxLogContextMenu;
  668. private System.Windows.Forms.ToolStripMenuItem LB_Context_CpCmd;
  669. private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
  670. private System.Windows.Forms.ToolStripMenuItem LB_Context_GJson;
  671. private System.Windows.Forms.ToolStripMenuItem LB_Context_AnaCmd;
  672. private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
  673. private System.Windows.Forms.ToolStripMenuItem LB_Context_ClearAll;
  674. private System.Windows.Forms.ToolStripMenuItem LB_Context_CpLine;
  675. private System.Windows.Forms.Button BtnClearAll;
  676. private System.Windows.Forms.ToolStripMenuItem RT_HB_Enable;
  677. private System.Windows.Forms.ToolStripMenuItem dtuToolStripMenuItem;
  678. private System.Windows.Forms.ToolStripMenuItem water2ToolStripMenuItem;
  679. private System.Windows.Forms.ToolStripMenuItem HalfPkgToolStripMenuItem;
  680. private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
  681. private System.Windows.Forms.ToolStripMenuItem TSMI_ClearAll;
  682. private System.Windows.Forms.Button BtnAutoUpload;
  683. private System.Windows.Forms.Button BtnFixCmd;
  684. private System.Windows.Forms.ToolStripMenuItem FrametoolStripMenuItem1;
  685. private System.Windows.Forms.ToolStripMenuItem 指令MToolStripMenuItem;
  686. private System.Windows.Forms.ToolStripMenuItem LoginToolStripMenuItem;
  687. private System.Windows.Forms.ToolStripMenuItem HeartBeatToolStripMenuItem;
  688. private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
  689. private System.Windows.Forms.ToolStripMenuItem LogHbtoolStripMenuItem;
  690. private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemDefault;
  691. }
  692. }