添加项目文件。

This commit is contained in:
liming 蔡
2026-07-14 13:55:17 +08:00
parent 63759495f2
commit 8bbdf78731
335 changed files with 81415 additions and 0 deletions
+907
View File
@@ -0,0 +1,907 @@
namespace SimpleCommunication
{
partial class CommunUI
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region 组件设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.info_Lab = new System.Windows.Forms.Label();
this.txtRecv = new System.Windows.Forms.RichTextBox();
this.txtLog = new System.Windows.Forms.TextBox();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.lbl_sendNum = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.receive_CheckBox = new System.Windows.Forms.CheckBox();
this.lbl_receiveNum = new System.Windows.Forms.Label();
this.btnClear = new System.Windows.Forms.LinkLabel();
this.com_GroupBox = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.stopBits_Box = new System.Windows.Forms.ComboBox();
this.baudRate_Box = new System.Windows.Forms.ComboBox();
this.label11 = new System.Windows.Forms.Label();
this.parity_Box = new System.Windows.Forms.ComboBox();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.comPort_Box = new System.Windows.Forms.ComboBox();
this.dataBits_Box = new System.Windows.Forms.ComboBox();
this.tcp_GroupBox = new System.Windows.Forms.GroupBox();
this.tbIP = new System.Windows.Forms.ComboBox();
this.tbPort = new System.Windows.Forms.TextBox();
this.label31 = new System.Windows.Forms.Label();
this.label33 = new System.Windows.Forms.Label();
this.tcpType_Box = new System.Windows.Forms.ComboBox();
this.label29 = new System.Windows.Forms.Label();
this.tcpBtn_Panel = new System.Windows.Forms.Panel();
this.reloadtcp_Btn = new System.Windows.Forms.Button();
this.btnStart = new System.Windows.Forms.Button();
this.btnDisconnect = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.comBtn_Panel = new System.Windows.Forms.Panel();
this.reloadCOM_Btn = new System.Windows.Forms.Button();
this.com_Btn = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.Server_GroupBox = new System.Windows.Forms.GroupBox();
this.lbOnline = new System.Windows.Forms.ListBox();
this.info_GroupBox = new System.Windows.Forms.GroupBox();
this.txtSend = new System.Windows.Forms.RichTextBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.sendTest_CheckBox = new System.Windows.Forms.CheckBox();
this.send_CheckBox = new System.Windows.Forms.CheckBox();
this.sendTest_CheckCRLF = new System.Windows.Forms.CheckBox();
this.btnSend = new System.Windows.Forms.Button();
this.panel4 = new System.Windows.Forms.Panel();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.txtIntervalTime = new System.Windows.Forms.TextBox();
this.cmbEndSymbol = new System.Windows.Forms.ComboBox();
this.label1 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.pgeAuto_CheckBox = new System.Windows.Forms.CheckBox();
this.txtHeartData = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.saveSetting_Btn = new System.Windows.Forms.Button();
this.Auto_CheckBox = new System.Windows.Forms.CheckBox();
this.tmHeart = new System.Windows.Forms.Timer(this.components);
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.groupBox2.SuspendLayout();
this.com_GroupBox.SuspendLayout();
this.tcp_GroupBox.SuspendLayout();
this.tcpBtn_Panel.SuspendLayout();
this.comBtn_Panel.SuspendLayout();
this.panel3.SuspendLayout();
this.Server_GroupBox.SuspendLayout();
this.info_GroupBox.SuspendLayout();
this.groupBox1.SuspendLayout();
this.panel4.SuspendLayout();
this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// info_Lab
//
this.info_Lab.BackColor = System.Drawing.Color.Red;
this.info_Lab.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.info_Lab.ForeColor = System.Drawing.Color.White;
this.info_Lab.Location = new System.Drawing.Point(475, 0);
this.info_Lab.Name = "info_Lab";
this.info_Lab.Size = new System.Drawing.Size(438, 33);
this.info_Lab.TabIndex = 103;
this.info_Lab.Text = "未连接";
this.info_Lab.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// txtRecv
//
this.txtRecv.BackColor = System.Drawing.SystemColors.Window;
this.txtRecv.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtRecv.Location = new System.Drawing.Point(3, 17);
this.txtRecv.Name = "txtRecv";
this.txtRecv.ReadOnly = true;
this.txtRecv.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
this.txtRecv.Size = new System.Drawing.Size(467, 337);
this.txtRecv.TabIndex = 104;
this.txtRecv.Text = "";
//
// txtLog
//
this.txtLog.BackColor = System.Drawing.SystemColors.Window;
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtLog.Location = new System.Drawing.Point(3, 16);
this.txtLog.Multiline = true;
this.txtLog.Name = "txtLog";
this.txtLog.ReadOnly = true;
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtLog.Size = new System.Drawing.Size(257, 163);
this.txtLog.TabIndex = 105;
//
// groupBox2
//
this.groupBox2.Controls.Add(this.lbl_sendNum);
this.groupBox2.Controls.Add(this.txtRecv);
this.groupBox2.Controls.Add(this.label9);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.receive_CheckBox);
this.groupBox2.Controls.Add(this.lbl_receiveNum);
this.groupBox2.Controls.Add(this.btnClear);
this.groupBox2.Location = new System.Drawing.Point(0, 3);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(473, 357);
this.groupBox2.TabIndex = 107;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "接收文本";
//
// lbl_sendNum
//
this.lbl_sendNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lbl_sendNum.AutoSize = true;
this.lbl_sendNum.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbl_sendNum.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.lbl_sendNum.Location = new System.Drawing.Point(291, 0);
this.lbl_sendNum.Name = "lbl_sendNum";
this.lbl_sendNum.Size = new System.Drawing.Size(15, 17);
this.lbl_sendNum.TabIndex = 222;
this.lbl_sendNum.Text = "0";
//
// label9
//
this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.label9.Location = new System.Drawing.Point(319, -3);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(79, 20);
this.label9.TabIndex = 219;
this.label9.Text = "接收次数:";
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.label5.Location = new System.Drawing.Point(213, -3);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(79, 20);
this.label5.TabIndex = 221;
this.label5.Text = "发送次数:";
//
// receive_CheckBox
//
this.receive_CheckBox.AutoSize = true;
this.receive_CheckBox.BackColor = System.Drawing.SystemColors.Control;
this.receive_CheckBox.Location = new System.Drawing.Point(79, 0);
this.receive_CheckBox.Name = "receive_CheckBox";
this.receive_CheckBox.Size = new System.Drawing.Size(126, 16);
this.receive_CheckBox.TabIndex = 217;
this.receive_CheckBox.Text = "十六进制显示(Hex)";
this.receive_CheckBox.UseVisualStyleBackColor = false;
//
// lbl_receiveNum
//
this.lbl_receiveNum.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.lbl_receiveNum.AutoSize = true;
this.lbl_receiveNum.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lbl_receiveNum.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.lbl_receiveNum.Location = new System.Drawing.Point(402, 0);
this.lbl_receiveNum.Name = "lbl_receiveNum";
this.lbl_receiveNum.Size = new System.Drawing.Size(15, 17);
this.lbl_receiveNum.TabIndex = 220;
this.lbl_receiveNum.Text = "0";
//
// btnClear
//
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnClear.AutoSize = true;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(436, -3);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(37, 20);
this.btnClear.TabIndex = 218;
this.btnClear.TabStop = true;
this.btnClear.Text = "清空";
this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
//
// com_GroupBox
//
this.com_GroupBox.Controls.Add(this.label2);
this.com_GroupBox.Controls.Add(this.label8);
this.com_GroupBox.Controls.Add(this.stopBits_Box);
this.com_GroupBox.Controls.Add(this.baudRate_Box);
this.com_GroupBox.Controls.Add(this.label11);
this.com_GroupBox.Controls.Add(this.parity_Box);
this.com_GroupBox.Controls.Add(this.label12);
this.com_GroupBox.Controls.Add(this.label13);
this.com_GroupBox.Controls.Add(this.comPort_Box);
this.com_GroupBox.Controls.Add(this.dataBits_Box);
this.com_GroupBox.Location = new System.Drawing.Point(475, 74);
this.com_GroupBox.Name = "com_GroupBox";
this.com_GroupBox.Size = new System.Drawing.Size(202, 147);
this.com_GroupBox.TabIndex = 109;
this.com_GroupBox.TabStop = false;
this.com_GroupBox.Text = "串口设置";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.Location = new System.Drawing.Point(9, 23);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(63, 14);
this.label2.TabIndex = 3;
this.label2.Text = "端口号:";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(9, 68);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(63, 14);
this.label8.TabIndex = 11;
this.label8.Text = "校验位:";
//
// stopBits_Box
//
this.stopBits_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.stopBits_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.stopBits_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.stopBits_Box.FormattingEnabled = true;
this.stopBits_Box.Items.AddRange(new object[] {
"1",
"2"});
this.stopBits_Box.Location = new System.Drawing.Point(81, 117);
this.stopBits_Box.Name = "stopBits_Box";
this.stopBits_Box.Size = new System.Drawing.Size(115, 21);
this.stopBits_Box.TabIndex = 8;
//
// baudRate_Box
//
this.baudRate_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.baudRate_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.baudRate_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.baudRate_Box.FormattingEnabled = true;
this.baudRate_Box.Items.AddRange(new object[] {
"9600",
"14400",
"19200",
"38400",
"56000",
"57600",
"115200"});
this.baudRate_Box.Location = new System.Drawing.Point(81, 44);
this.baudRate_Box.Name = "baudRate_Box";
this.baudRate_Box.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.baudRate_Box.Size = new System.Drawing.Size(115, 21);
this.baudRate_Box.TabIndex = 4;
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label11.Location = new System.Drawing.Point(9, 93);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(63, 14);
this.label11.TabIndex = 7;
this.label11.Text = "数据位:";
//
// parity_Box
//
this.parity_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.parity_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.parity_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.parity_Box.FormattingEnabled = true;
this.parity_Box.Items.AddRange(new object[] {
"None",
"Odd",
"Even",
"Mark",
"Space"});
this.parity_Box.Location = new System.Drawing.Point(81, 68);
this.parity_Box.Name = "parity_Box";
this.parity_Box.Size = new System.Drawing.Size(115, 21);
this.parity_Box.TabIndex = 10;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label12.Location = new System.Drawing.Point(9, 44);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(63, 14);
this.label12.TabIndex = 5;
this.label12.Text = "波特率:";
//
// label13
//
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label13.Location = new System.Drawing.Point(9, 118);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(63, 14);
this.label13.TabIndex = 9;
this.label13.Text = "停止位:";
//
// comPort_Box
//
this.comPort_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comPort_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.comPort_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.comPort_Box.FormattingEnabled = true;
this.comPort_Box.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.comPort_Box.Location = new System.Drawing.Point(81, 21);
this.comPort_Box.Name = "comPort_Box";
this.comPort_Box.Size = new System.Drawing.Size(115, 21);
this.comPort_Box.TabIndex = 10;
//
// dataBits_Box
//
this.dataBits_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.dataBits_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.dataBits_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.dataBits_Box.FormattingEnabled = true;
this.dataBits_Box.Items.AddRange(new object[] {
"8",
"7",
"6",
"5"});
this.dataBits_Box.Location = new System.Drawing.Point(81, 93);
this.dataBits_Box.Name = "dataBits_Box";
this.dataBits_Box.Size = new System.Drawing.Size(115, 21);
this.dataBits_Box.TabIndex = 6;
//
// tcp_GroupBox
//
this.tcp_GroupBox.BackColor = System.Drawing.Color.Transparent;
this.tcp_GroupBox.Controls.Add(this.tbIP);
this.tcp_GroupBox.Controls.Add(this.tbPort);
this.tcp_GroupBox.Controls.Add(this.label31);
this.tcp_GroupBox.Controls.Add(this.label33);
this.tcp_GroupBox.Location = new System.Drawing.Point(696, 74);
this.tcp_GroupBox.Name = "tcp_GroupBox";
this.tcp_GroupBox.Size = new System.Drawing.Size(213, 89);
this.tcp_GroupBox.TabIndex = 108;
this.tcp_GroupBox.TabStop = false;
this.tcp_GroupBox.Text = "TCP设置";
//
// tbIP
//
this.tbIP.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.tbIP.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.tbIP.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tbIP.FormattingEnabled = true;
this.tbIP.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.tbIP.Location = new System.Drawing.Point(61, 24);
this.tbIP.Name = "tbIP";
this.tbIP.Size = new System.Drawing.Size(146, 21);
this.tbIP.TabIndex = 39;
//
// tbPort
//
this.tbPort.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tbPort.Location = new System.Drawing.Point(61, 51);
this.tbPort.Name = "tbPort";
this.tbPort.Size = new System.Drawing.Size(146, 23);
this.tbPort.TabIndex = 38;
this.tbPort.Text = "7100";
//
// label31
//
this.label31.AutoSize = true;
this.label31.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label31.Location = new System.Drawing.Point(8, 58);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(63, 14);
this.label31.TabIndex = 11;
this.label31.Text = "端口号:";
//
// label33
//
this.label33.AutoSize = true;
this.label33.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label33.Location = new System.Drawing.Point(8, 27);
this.label33.Name = "label33";
this.label33.Size = new System.Drawing.Size(63, 14);
this.label33.TabIndex = 5;
this.label33.Text = "IP地址:";
//
// tcpType_Box
//
this.tcpType_Box.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.tcpType_Box.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.tcpType_Box.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tcpType_Box.FormattingEnabled = true;
this.tcpType_Box.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.tcpType_Box.Items.AddRange(new object[] {
"串口(COM)",
"服务器(Server)",
"客户端(Client)",
"串口(COM)/客户端(Client)"});
this.tcpType_Box.Location = new System.Drawing.Point(556, 41);
this.tcpType_Box.Name = "tcpType_Box";
this.tcpType_Box.Size = new System.Drawing.Size(153, 21);
this.tcpType_Box.TabIndex = 111;
this.tcpType_Box.SelectedIndexChanged += new System.EventHandler(this.tcpType_Box_SelectedIndexChanged);
//
// label29
//
this.label29.AutoSize = true;
this.label29.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label29.Location = new System.Drawing.Point(482, 44);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(77, 14);
this.label29.TabIndex = 110;
this.label29.Text = "链接类型:";
//
// tcpBtn_Panel
//
this.tcpBtn_Panel.Controls.Add(this.reloadtcp_Btn);
this.tcpBtn_Panel.Controls.Add(this.btnStart);
this.tcpBtn_Panel.Controls.Add(this.btnDisconnect);
this.tcpBtn_Panel.Controls.Add(this.btnClose);
this.tcpBtn_Panel.Location = new System.Drawing.Point(696, 191);
this.tcpBtn_Panel.Name = "tcpBtn_Panel";
this.tcpBtn_Panel.Size = new System.Drawing.Size(217, 62);
this.tcpBtn_Panel.TabIndex = 110;
//
// reloadtcp_Btn
//
this.reloadtcp_Btn.Location = new System.Drawing.Point(116, 9);
this.reloadtcp_Btn.Name = "reloadtcp_Btn";
this.reloadtcp_Btn.Size = new System.Drawing.Size(75, 23);
this.reloadtcp_Btn.TabIndex = 117;
this.reloadtcp_Btn.Text = "刷新网口";
this.reloadtcp_Btn.UseVisualStyleBackColor = true;
this.reloadtcp_Btn.Click += new System.EventHandler(this.reloadtcp_Btn_Click);
//
// btnStart
//
this.btnStart.Location = new System.Drawing.Point(9, 9);
this.btnStart.Name = "btnStart";
this.btnStart.Size = new System.Drawing.Size(75, 23);
this.btnStart.TabIndex = 111;
this.btnStart.Text = "启动服务器";
this.btnStart.UseVisualStyleBackColor = true;
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
//
// btnDisconnect
//
this.btnDisconnect.Location = new System.Drawing.Point(115, 38);
this.btnDisconnect.Name = "btnDisconnect";
this.btnDisconnect.Size = new System.Drawing.Size(76, 23);
this.btnDisconnect.TabIndex = 113;
this.btnDisconnect.Text = "关闭连接";
this.btnDisconnect.UseVisualStyleBackColor = true;
this.btnDisconnect.Click += new System.EventHandler(this.btnDisconnect_Click);
//
// btnClose
//
this.btnClose.Location = new System.Drawing.Point(9, 35);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 112;
this.btnClose.Text = "关闭服务器";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// comBtn_Panel
//
this.comBtn_Panel.Controls.Add(this.reloadCOM_Btn);
this.comBtn_Panel.Controls.Add(this.com_Btn);
this.comBtn_Panel.Location = new System.Drawing.Point(477, 224);
this.comBtn_Panel.Name = "comBtn_Panel";
this.comBtn_Panel.Size = new System.Drawing.Size(200, 29);
this.comBtn_Panel.TabIndex = 114;
//
// reloadCOM_Btn
//
this.reloadCOM_Btn.Location = new System.Drawing.Point(106, 3);
this.reloadCOM_Btn.Name = "reloadCOM_Btn";
this.reloadCOM_Btn.Size = new System.Drawing.Size(75, 23);
this.reloadCOM_Btn.TabIndex = 116;
this.reloadCOM_Btn.Text = "刷新串口";
this.reloadCOM_Btn.UseVisualStyleBackColor = true;
this.reloadCOM_Btn.Click += new System.EventHandler(this.reloadCOM_Btn_Click);
//
// com_Btn
//
this.com_Btn.ForeColor = System.Drawing.Color.Black;
this.com_Btn.Location = new System.Drawing.Point(16, 3);
this.com_Btn.Name = "com_Btn";
this.com_Btn.Size = new System.Drawing.Size(75, 23);
this.com_Btn.TabIndex = 115;
this.com_Btn.Text = "打开串口";
this.com_Btn.UseVisualStyleBackColor = true;
this.com_Btn.Click += new System.EventHandler(this.com_Btn_Click);
//
// panel3
//
this.panel3.Controls.Add(this.Server_GroupBox);
this.panel3.Controls.Add(this.info_GroupBox);
this.panel3.Location = new System.Drawing.Point(477, 327);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(436, 185);
this.panel3.TabIndex = 115;
//
// Server_GroupBox
//
this.Server_GroupBox.Controls.Add(this.lbOnline);
this.Server_GroupBox.Location = new System.Drawing.Point(269, 1);
this.Server_GroupBox.Name = "Server_GroupBox";
this.Server_GroupBox.Size = new System.Drawing.Size(167, 181);
this.Server_GroupBox.TabIndex = 106;
this.Server_GroupBox.TabStop = false;
this.Server_GroupBox.Text = "客户端在线列表";
//
// lbOnline
//
this.lbOnline.BackColor = System.Drawing.SystemColors.Control;
this.lbOnline.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbOnline.FormattingEnabled = true;
this.lbOnline.ItemHeight = 12;
this.lbOnline.Location = new System.Drawing.Point(3, 17);
this.lbOnline.Name = "lbOnline";
this.lbOnline.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple;
this.lbOnline.Size = new System.Drawing.Size(161, 161);
this.lbOnline.TabIndex = 106;
//
// info_GroupBox
//
this.info_GroupBox.Controls.Add(this.txtLog);
this.info_GroupBox.Location = new System.Drawing.Point(3, 2);
this.info_GroupBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.info_GroupBox.Name = "info_GroupBox";
this.info_GroupBox.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.info_GroupBox.Size = new System.Drawing.Size(263, 181);
this.info_GroupBox.TabIndex = 103;
this.info_GroupBox.TabStop = false;
this.info_GroupBox.Text = "通讯日志信息";
//
// txtSend
//
this.txtSend.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtSend.Location = new System.Drawing.Point(3, 17);
this.txtSend.Name = "txtSend";
this.txtSend.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
this.txtSend.Size = new System.Drawing.Size(461, 100);
this.txtSend.TabIndex = 116;
this.txtSend.Text = "";
//
// groupBox1
//
this.groupBox1.Controls.Add(this.sendTest_CheckBox);
this.groupBox1.Controls.Add(this.send_CheckBox);
this.groupBox1.Controls.Add(this.txtSend);
this.groupBox1.Controls.Add(this.sendTest_CheckCRLF);
this.groupBox1.Location = new System.Drawing.Point(3, 366);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(467, 120);
this.groupBox1.TabIndex = 117;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "发送文本";
//
// sendTest_CheckBox
//
this.sendTest_CheckBox.AutoSize = true;
this.sendTest_CheckBox.BackColor = System.Drawing.SystemColors.Control;
this.sendTest_CheckBox.Location = new System.Drawing.Point(69, 0);
this.sendTest_CheckBox.Name = "sendTest_CheckBox";
this.sendTest_CheckBox.Size = new System.Drawing.Size(48, 16);
this.sendTest_CheckBox.TabIndex = 118;
this.sendTest_CheckBox.Text = "测试";
this.sendTest_CheckBox.UseVisualStyleBackColor = false;
//
// send_CheckBox
//
this.send_CheckBox.AutoSize = true;
this.send_CheckBox.BackColor = System.Drawing.SystemColors.Control;
this.send_CheckBox.Location = new System.Drawing.Point(136, 0);
this.send_CheckBox.Name = "send_CheckBox";
this.send_CheckBox.Size = new System.Drawing.Size(126, 16);
this.send_CheckBox.TabIndex = 117;
this.send_CheckBox.Text = "十六进制发送(Hex)";
this.send_CheckBox.UseVisualStyleBackColor = false;
//
// sendTest_CheckCRLF
//
this.sendTest_CheckCRLF.AutoSize = true;
this.sendTest_CheckCRLF.BackColor = System.Drawing.SystemColors.Control;
this.sendTest_CheckCRLF.Location = new System.Drawing.Point(396, -1);
this.sendTest_CheckCRLF.Name = "sendTest_CheckCRLF";
this.sendTest_CheckCRLF.Size = new System.Drawing.Size(72, 16);
this.sendTest_CheckCRLF.TabIndex = 119;
this.sendTest_CheckCRLF.Text = "增加CRLF";
this.sendTest_CheckCRLF.UseVisualStyleBackColor = false;
//
// btnSend
//
this.btnSend.Location = new System.Drawing.Point(380, 489);
this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(75, 23);
this.btnSend.TabIndex = 118;
this.btnSend.Text = "发送";
this.btnSend.UseVisualStyleBackColor = true;
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
//
// panel4
//
this.panel4.Controls.Add(this.groupBox3);
this.panel4.Location = new System.Drawing.Point(480, 258);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(433, 65);
this.panel4.TabIndex = 119;
//
// groupBox3
//
this.groupBox3.Controls.Add(this.txtIntervalTime);
this.groupBox3.Controls.Add(this.cmbEndSymbol);
this.groupBox3.Controls.Add(this.label1);
this.groupBox3.Controls.Add(this.label4);
this.groupBox3.Controls.Add(this.label6);
this.groupBox3.Controls.Add(this.pgeAuto_CheckBox);
this.groupBox3.Controls.Add(this.txtHeartData);
this.groupBox3.Controls.Add(this.label3);
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupBox3.Location = new System.Drawing.Point(0, 0);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(433, 65);
this.groupBox3.TabIndex = 108;
this.groupBox3.TabStop = false;
//
// txtIntervalTime
//
this.txtIntervalTime.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtIntervalTime.Location = new System.Drawing.Point(144, 32);
this.txtIntervalTime.Name = "txtIntervalTime";
this.txtIntervalTime.Size = new System.Drawing.Size(47, 23);
this.txtIntervalTime.TabIndex = 122;
this.txtIntervalTime.Text = "1000";
//
// cmbEndSymbol
//
this.cmbEndSymbol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbEndSymbol.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.cmbEndSymbol.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbEndSymbol.FormattingEnabled = true;
this.cmbEndSymbol.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.cmbEndSymbol.Items.AddRange(new object[] {
"无",
"CRLF(\\r\\n)",
"LF(\\n)",
"CR(\\r)"});
this.cmbEndSymbol.Location = new System.Drawing.Point(311, 31);
this.cmbEndSymbol.Name = "cmbEndSymbol";
this.cmbEndSymbol.Size = new System.Drawing.Size(112, 21);
this.cmbEndSymbol.TabIndex = 12;
this.cmbEndSymbol.SelectedIndexChanged += new System.EventHandler(this.cmbEndSymbol_SelectedIndexChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(258, 34);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(63, 14);
this.label1.TabIndex = 12;
this.label1.Text = "结束符:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(197, 38);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(21, 14);
this.label4.TabIndex = 123;
this.label4.Text = "ms";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(142, 18);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(65, 12);
this.label6.TabIndex = 121;
this.label6.Text = "间隔时间:";
//
// pgeAuto_CheckBox
//
this.pgeAuto_CheckBox.AutoSize = true;
this.pgeAuto_CheckBox.BackColor = System.Drawing.SystemColors.Control;
this.pgeAuto_CheckBox.Location = new System.Drawing.Point(8, 0);
this.pgeAuto_CheckBox.Name = "pgeAuto_CheckBox";
this.pgeAuto_CheckBox.Size = new System.Drawing.Size(96, 16);
this.pgeAuto_CheckBox.TabIndex = 120;
this.pgeAuto_CheckBox.Text = "启用连续发送";
this.pgeAuto_CheckBox.UseVisualStyleBackColor = false;
//
// txtHeartData
//
this.txtHeartData.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtHeartData.Location = new System.Drawing.Point(18, 34);
this.txtHeartData.Name = "txtHeartData";
this.txtHeartData.Size = new System.Drawing.Size(99, 23);
this.txtHeartData.TabIndex = 41;
this.txtHeartData.Text = "1";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(17, 17);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(65, 12);
this.label3.TabIndex = 40;
this.label3.Text = "发送内容:";
//
// saveSetting_Btn
//
this.saveSetting_Btn.Enabled = false;
this.saveSetting_Btn.Location = new System.Drawing.Point(817, 41);
this.saveSetting_Btn.Name = "saveSetting_Btn";
this.saveSetting_Btn.Size = new System.Drawing.Size(70, 22);
this.saveSetting_Btn.TabIndex = 106;
this.saveSetting_Btn.Text = "参数保存";
this.saveSetting_Btn.UseVisualStyleBackColor = true;
this.saveSetting_Btn.Click += new System.EventHandler(this.saveSetting_Btn_Click);
//
// Auto_CheckBox
//
this.Auto_CheckBox.AutoSize = true;
this.Auto_CheckBox.Enabled = false;
this.Auto_CheckBox.Location = new System.Drawing.Point(732, 44);
this.Auto_CheckBox.Name = "Auto_CheckBox";
this.Auto_CheckBox.Size = new System.Drawing.Size(72, 16);
this.Auto_CheckBox.TabIndex = 107;
this.Auto_CheckBox.Text = "自动联机";
this.Auto_CheckBox.UseVisualStyleBackColor = true;
//
// tmHeart
//
this.tmHeart.Enabled = true;
this.tmHeart.Tick += new System.EventHandler(this.tmHeart_Tick);
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Enabled = false;
this.checkBox1.Location = new System.Drawing.Point(696, 169);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(108, 16);
this.checkBox1.TabIndex = 109;
this.checkBox1.Text = "客户端断线重连";
this.checkBox1.UseVisualStyleBackColor = true;
//
// CommunUI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.saveSetting_Btn);
this.Controls.Add(this.Auto_CheckBox);
this.Controls.Add(this.tcpType_Box);
this.Controls.Add(this.panel4);
this.Controls.Add(this.label29);
this.Controls.Add(this.btnSend);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.panel3);
this.Controls.Add(this.comBtn_Panel);
this.Controls.Add(this.tcpBtn_Panel);
this.Controls.Add(this.com_GroupBox);
this.Controls.Add(this.tcp_GroupBox);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.info_Lab);
this.Name = "CommunUI";
this.Size = new System.Drawing.Size(916, 518);
this.Load += new System.EventHandler(this.CommunUI_Load);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.com_GroupBox.ResumeLayout(false);
this.com_GroupBox.PerformLayout();
this.tcp_GroupBox.ResumeLayout(false);
this.tcp_GroupBox.PerformLayout();
this.tcpBtn_Panel.ResumeLayout(false);
this.comBtn_Panel.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.Server_GroupBox.ResumeLayout(false);
this.info_GroupBox.ResumeLayout(false);
this.info_GroupBox.PerformLayout();
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.panel4.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.Label info_Lab;
private System.Windows.Forms.RichTextBox txtRecv;
private System.Windows.Forms.TextBox txtLog;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.GroupBox com_GroupBox;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label8;
internal System.Windows.Forms.ComboBox stopBits_Box;
internal System.Windows.Forms.ComboBox baudRate_Box;
private System.Windows.Forms.Label label11;
internal System.Windows.Forms.ComboBox parity_Box;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
internal System.Windows.Forms.ComboBox comPort_Box;
internal System.Windows.Forms.ComboBox dataBits_Box;
private System.Windows.Forms.GroupBox tcp_GroupBox;
internal System.Windows.Forms.ComboBox tbIP;
internal System.Windows.Forms.TextBox tbPort;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.Label label33;
internal System.Windows.Forms.Label lbl_sendNum;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.CheckBox receive_CheckBox;
internal System.Windows.Forms.Label lbl_receiveNum;
private System.Windows.Forms.LinkLabel btnClear;
internal System.Windows.Forms.ComboBox tcpType_Box;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Panel tcpBtn_Panel;
private System.Windows.Forms.Panel comBtn_Panel;
public System.Windows.Forms.Panel panel3;
public System.Windows.Forms.GroupBox Server_GroupBox;
private System.Windows.Forms.ListBox lbOnline;
public System.Windows.Forms.GroupBox info_GroupBox;
private System.Windows.Forms.RichTextBox txtSend;
private System.Windows.Forms.GroupBox groupBox1;
internal System.Windows.Forms.CheckBox sendTest_CheckCRLF;
internal System.Windows.Forms.CheckBox sendTest_CheckBox;
internal System.Windows.Forms.CheckBox send_CheckBox;
private System.Windows.Forms.Button btnSend;
private System.Windows.Forms.Panel panel4;
internal System.Windows.Forms.ComboBox cmbEndSymbol;
private System.Windows.Forms.Label label1;
internal System.Windows.Forms.Button saveSetting_Btn;
internal System.Windows.Forms.CheckBox Auto_CheckBox;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Label label4;
internal System.Windows.Forms.TextBox txtIntervalTime;
private System.Windows.Forms.Label label6;
internal System.Windows.Forms.CheckBox pgeAuto_CheckBox;
internal System.Windows.Forms.TextBox txtHeartData;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Timer tmHeart;
public System.Windows.Forms.Button btnStart;
public System.Windows.Forms.Button reloadCOM_Btn;
public System.Windows.Forms.Button com_Btn;
internal System.Windows.Forms.CheckBox checkBox1;
internal System.Windows.Forms.Button btnClose;
internal System.Windows.Forms.Button btnDisconnect;
internal System.Windows.Forms.Button reloadtcp_Btn;
}
}