610 lines
30 KiB
C#
610 lines
30 KiB
C#
namespace C_Windows_1
|
|
{
|
|
partial class PortSetting
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortSetting));
|
|
this.cb_CH1yiqiBaudrate = new System.Windows.Forms.ComboBox();
|
|
this.cb_CH1yiqiPort = new System.Windows.Forms.ComboBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.bt_CH1connect = new System.Windows.Forms.Button();
|
|
this.bt_CH1Refresh = new System.Windows.Forms.Button();
|
|
this.bt_CH1Break = new System.Windows.Forms.Button();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.lb_CH1SerialStatus = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.lb_CH1CommunicationStatus = new System.Windows.Forms.Label();
|
|
this.ReceiveText = new System.Windows.Forms.TextBox();
|
|
this.SendText = new System.Windows.Forms.TextBox();
|
|
this.TestPort1 = new System.IO.Ports.SerialPort(this.components);
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
this.CodePort1 = new System.Windows.Forms.ComboBox();
|
|
this.CodeBaud1 = new System.Windows.Forms.ComboBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.CodeIsComm1 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.PortBtnCon1 = new System.Windows.Forms.Button();
|
|
this.PortBtnRefresh = new System.Windows.Forms.Button();
|
|
this.PortBtnBreak = new System.Windows.Forms.Button();
|
|
this.CodePort = new System.IO.Ports.SerialPort(this.components);
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.CeckScanning = new System.Windows.Forms.CheckBox();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
this.label13 = new System.Windows.Forms.Label();
|
|
this.cb_CH2yiqiPort = new System.Windows.Forms.ComboBox();
|
|
this.cb_CH2yiqiBaudrate = new System.Windows.Forms.ComboBox();
|
|
this.bt_CH2Refresh = new System.Windows.Forms.Button();
|
|
this.bt_CH2connect = new System.Windows.Forms.Button();
|
|
this.bt_CH2Break = new System.Windows.Forms.Button();
|
|
this.lb_CH2SerialStatus = new System.Windows.Forms.Label();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.lb_CH2CommunicationStatus = new System.Windows.Forms.Label();
|
|
this.label17 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// cb_CH1yiqiBaudrate
|
|
//
|
|
this.cb_CH1yiqiBaudrate.FormattingEnabled = true;
|
|
this.cb_CH1yiqiBaudrate.Items.AddRange(new object[] {
|
|
"9600",
|
|
"115200",
|
|
"2400",
|
|
"4800",
|
|
"19200",
|
|
"38400"});
|
|
this.cb_CH1yiqiBaudrate.Location = new System.Drawing.Point(29, 109);
|
|
this.cb_CH1yiqiBaudrate.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_CH1yiqiBaudrate.Name = "cb_CH1yiqiBaudrate";
|
|
this.cb_CH1yiqiBaudrate.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_CH1yiqiBaudrate.TabIndex = 68;
|
|
this.cb_CH1yiqiBaudrate.SelectedIndexChanged += new System.EventHandler(this.Baudrate_SelectedIndexChanged);
|
|
//
|
|
// cb_CH1yiqiPort
|
|
//
|
|
this.cb_CH1yiqiPort.FormattingEnabled = true;
|
|
this.cb_CH1yiqiPort.Location = new System.Drawing.Point(29, 47);
|
|
this.cb_CH1yiqiPort.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_CH1yiqiPort.Name = "cb_CH1yiqiPort";
|
|
this.cb_CH1yiqiPort.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_CH1yiqiPort.TabIndex = 67;
|
|
this.cb_CH1yiqiPort.SelectedIndexChanged += new System.EventHandler(this.PortNum_SelectedIndexChanged);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(27, 22);
|
|
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(95, 16);
|
|
this.label1.TabIndex = 65;
|
|
this.label1.Text = "仪器1端口号";
|
|
this.label1.Click += new System.EventHandler(this.label1_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(27, 83);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(55, 16);
|
|
this.label2.TabIndex = 66;
|
|
this.label2.Text = "波特率";
|
|
this.label2.Click += new System.EventHandler(this.label2_Click);
|
|
//
|
|
// bt_CH1connect
|
|
//
|
|
this.bt_CH1connect.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.bt_CH1connect.Location = new System.Drawing.Point(30, 264);
|
|
this.bt_CH1connect.Name = "bt_CH1connect";
|
|
this.bt_CH1connect.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH1connect.TabIndex = 72;
|
|
this.bt_CH1connect.Text = "连接串口";
|
|
this.bt_CH1connect.UseVisualStyleBackColor = true;
|
|
this.bt_CH1connect.Click += new System.EventHandler(this.BtnCon1_Click);
|
|
//
|
|
// bt_CH1Refresh
|
|
//
|
|
this.bt_CH1Refresh.Location = new System.Drawing.Point(30, 311);
|
|
this.bt_CH1Refresh.Name = "bt_CH1Refresh";
|
|
this.bt_CH1Refresh.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH1Refresh.TabIndex = 70;
|
|
this.bt_CH1Refresh.Text = "刷新串口";
|
|
this.bt_CH1Refresh.UseVisualStyleBackColor = true;
|
|
this.bt_CH1Refresh.Click += new System.EventHandler(this.BtnRefresh_Click);
|
|
//
|
|
// bt_CH1Break
|
|
//
|
|
this.bt_CH1Break.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.bt_CH1Break.Location = new System.Drawing.Point(30, 359);
|
|
this.bt_CH1Break.Name = "bt_CH1Break";
|
|
this.bt_CH1Break.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH1Break.TabIndex = 73;
|
|
this.bt_CH1Break.Text = "断开连接";
|
|
this.bt_CH1Break.UseVisualStyleBackColor = true;
|
|
this.bt_CH1Break.Click += new System.EventHandler(this.BtnBreak_Click);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label3.Location = new System.Drawing.Point(53, 147);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(87, 16);
|
|
this.label3.TabIndex = 75;
|
|
this.label3.Text = "串口状态:";
|
|
this.label3.Click += new System.EventHandler(this.label3_Click);
|
|
//
|
|
// lb_CH1SerialStatus
|
|
//
|
|
this.lb_CH1SerialStatus.AutoSize = true;
|
|
this.lb_CH1SerialStatus.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.lb_CH1SerialStatus.Location = new System.Drawing.Point(56, 173);
|
|
this.lb_CH1SerialStatus.Name = "lb_CH1SerialStatus";
|
|
this.lb_CH1SerialStatus.Size = new System.Drawing.Size(69, 19);
|
|
this.lb_CH1SerialStatus.TabIndex = 74;
|
|
this.lb_CH1SerialStatus.Text = "label6";
|
|
this.lb_CH1SerialStatus.Click += new System.EventHandler(this.label6_Click);
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label4.Location = new System.Drawing.Point(53, 206);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(87, 16);
|
|
this.label4.TabIndex = 77;
|
|
this.label4.Text = "通讯状态:";
|
|
this.label4.Click += new System.EventHandler(this.label4_Click);
|
|
//
|
|
// lb_CH1CommunicationStatus
|
|
//
|
|
this.lb_CH1CommunicationStatus.AutoSize = true;
|
|
this.lb_CH1CommunicationStatus.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.lb_CH1CommunicationStatus.Location = new System.Drawing.Point(56, 231);
|
|
this.lb_CH1CommunicationStatus.Name = "lb_CH1CommunicationStatus";
|
|
this.lb_CH1CommunicationStatus.Size = new System.Drawing.Size(69, 19);
|
|
this.lb_CH1CommunicationStatus.TabIndex = 76;
|
|
this.lb_CH1CommunicationStatus.Text = "label5";
|
|
this.lb_CH1CommunicationStatus.Click += new System.EventHandler(this.label5_Click);
|
|
//
|
|
// ReceiveText
|
|
//
|
|
this.ReceiveText.Location = new System.Drawing.Point(752, 196);
|
|
this.ReceiveText.Multiline = true;
|
|
this.ReceiveText.Name = "ReceiveText";
|
|
this.ReceiveText.Size = new System.Drawing.Size(131, 55);
|
|
this.ReceiveText.TabIndex = 79;
|
|
this.ReceiveText.Visible = false;
|
|
this.ReceiveText.TextChanged += new System.EventHandler(this.ReceiveText_TextChanged);
|
|
//
|
|
// SendText
|
|
//
|
|
this.SendText.Location = new System.Drawing.Point(752, 121);
|
|
this.SendText.Multiline = true;
|
|
this.SendText.Name = "SendText";
|
|
this.SendText.Size = new System.Drawing.Size(131, 55);
|
|
this.SendText.TabIndex = 78;
|
|
this.SendText.Visible = false;
|
|
//
|
|
// TestPort1
|
|
//
|
|
this.TestPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.TestPort1_DataReceived);
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// CodePort1
|
|
//
|
|
this.CodePort1.FormattingEnabled = true;
|
|
this.CodePort1.Location = new System.Drawing.Point(41, 59);
|
|
this.CodePort1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.CodePort1.Name = "CodePort1";
|
|
this.CodePort1.Size = new System.Drawing.Size(137, 24);
|
|
this.CodePort1.TabIndex = 80;
|
|
this.CodePort1.SelectedIndexChanged += new System.EventHandler(this.CodePort1_SelectedIndexChanged);
|
|
//
|
|
// CodeBaud1
|
|
//
|
|
this.CodeBaud1.FormattingEnabled = true;
|
|
this.CodeBaud1.Items.AddRange(new object[] {
|
|
"9600"});
|
|
this.CodeBaud1.Location = new System.Drawing.Point(41, 121);
|
|
this.CodeBaud1.Margin = new System.Windows.Forms.Padding(4);
|
|
this.CodeBaud1.Name = "CodeBaud1";
|
|
this.CodeBaud1.Size = new System.Drawing.Size(137, 24);
|
|
this.CodeBaud1.TabIndex = 81;
|
|
this.CodeBaud1.SelectedIndexChanged += new System.EventHandler(this.CodeBaud1_SelectedIndexChanged);
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label7.Location = new System.Drawing.Point(73, 160);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(87, 16);
|
|
this.label7.TabIndex = 82;
|
|
this.label7.Text = "串口状态:";
|
|
this.label7.Click += new System.EventHandler(this.label7_Click);
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label8.Location = new System.Drawing.Point(763, 276);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(87, 16);
|
|
this.label8.TabIndex = 83;
|
|
this.label8.Text = "通讯状态:";
|
|
this.label8.Visible = false;
|
|
//
|
|
// CodeIsComm1
|
|
//
|
|
this.CodeIsComm1.AutoSize = true;
|
|
this.CodeIsComm1.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.CodeIsComm1.Location = new System.Drawing.Point(72, 185);
|
|
this.CodeIsComm1.Name = "CodeIsComm1";
|
|
this.CodeIsComm1.Size = new System.Drawing.Size(69, 19);
|
|
this.CodeIsComm1.TabIndex = 84;
|
|
this.CodeIsComm1.Text = "label9";
|
|
this.CodeIsComm1.Click += new System.EventHandler(this.CodeIsComm1_Click);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.label10.Location = new System.Drawing.Point(762, 301);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(79, 19);
|
|
this.label10.TabIndex = 85;
|
|
this.label10.Text = "label10";
|
|
this.label10.Visible = false;
|
|
//
|
|
// PortBtnCon1
|
|
//
|
|
this.PortBtnCon1.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.PortBtnCon1.Location = new System.Drawing.Point(50, 276);
|
|
this.PortBtnCon1.Name = "PortBtnCon1";
|
|
this.PortBtnCon1.Size = new System.Drawing.Size(111, 42);
|
|
this.PortBtnCon1.TabIndex = 86;
|
|
this.PortBtnCon1.Text = "连接串口";
|
|
this.PortBtnCon1.UseVisualStyleBackColor = true;
|
|
this.PortBtnCon1.Click += new System.EventHandler(this.PortBtnCon1_Click);
|
|
//
|
|
// PortBtnRefresh
|
|
//
|
|
this.PortBtnRefresh.Location = new System.Drawing.Point(50, 324);
|
|
this.PortBtnRefresh.Name = "PortBtnRefresh";
|
|
this.PortBtnRefresh.Size = new System.Drawing.Size(111, 42);
|
|
this.PortBtnRefresh.TabIndex = 87;
|
|
this.PortBtnRefresh.Text = "刷新串口";
|
|
this.PortBtnRefresh.UseVisualStyleBackColor = true;
|
|
this.PortBtnRefresh.Click += new System.EventHandler(this.PortBtnRefresh_Click);
|
|
//
|
|
// PortBtnBreak
|
|
//
|
|
this.PortBtnBreak.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.PortBtnBreak.Location = new System.Drawing.Point(50, 372);
|
|
this.PortBtnBreak.Name = "PortBtnBreak";
|
|
this.PortBtnBreak.Size = new System.Drawing.Size(111, 42);
|
|
this.PortBtnBreak.TabIndex = 88;
|
|
this.PortBtnBreak.Text = "断开连接";
|
|
this.PortBtnBreak.UseVisualStyleBackColor = true;
|
|
this.PortBtnBreak.Click += new System.EventHandler(this.PortBtnBreak_Click);
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(47, 34);
|
|
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(103, 16);
|
|
this.label9.TabIndex = 89;
|
|
this.label9.Text = "扫码枪端口号";
|
|
this.label9.Click += new System.EventHandler(this.label9_Click);
|
|
//
|
|
// CeckScanning
|
|
//
|
|
this.CeckScanning.AutoSize = true;
|
|
this.CeckScanning.Location = new System.Drawing.Point(24, 232);
|
|
this.CeckScanning.Name = "CeckScanning";
|
|
this.CeckScanning.Size = new System.Drawing.Size(170, 20);
|
|
this.CeckScanning.TabIndex = 90;
|
|
this.CeckScanning.Text = "是否使用串口扫码枪";
|
|
this.CeckScanning.UseVisualStyleBackColor = true;
|
|
this.CeckScanning.CheckedChanged += new System.EventHandler(this.CeckScanning_CheckedChanged);
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(38, 95);
|
|
this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(55, 16);
|
|
this.label11.TabIndex = 91;
|
|
this.label11.Text = "波特率";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.cb_CH1yiqiPort);
|
|
this.groupBox1.Controls.Add(this.cb_CH1yiqiBaudrate);
|
|
this.groupBox1.Controls.Add(this.bt_CH1Refresh);
|
|
this.groupBox1.Controls.Add(this.bt_CH1connect);
|
|
this.groupBox1.Controls.Add(this.bt_CH1Break);
|
|
this.groupBox1.Controls.Add(this.lb_CH1SerialStatus);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.lb_CH1CommunicationStatus);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Location = new System.Drawing.Point(19, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(200, 429);
|
|
this.groupBox1.TabIndex = 92;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "CH1";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.label9);
|
|
this.groupBox2.Controls.Add(this.CodePort1);
|
|
this.groupBox2.Controls.Add(this.label11);
|
|
this.groupBox2.Controls.Add(this.CodeBaud1);
|
|
this.groupBox2.Controls.Add(this.CeckScanning);
|
|
this.groupBox2.Controls.Add(this.label7);
|
|
this.groupBox2.Controls.Add(this.CodeIsComm1);
|
|
this.groupBox2.Controls.Add(this.PortBtnBreak);
|
|
this.groupBox2.Controls.Add(this.PortBtnCon1);
|
|
this.groupBox2.Controls.Add(this.PortBtnRefresh);
|
|
this.groupBox2.Location = new System.Drawing.Point(456, 12);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(212, 429);
|
|
this.groupBox2.TabIndex = 93;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "扫码枪";
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.label12);
|
|
this.groupBox3.Controls.Add(this.label13);
|
|
this.groupBox3.Controls.Add(this.cb_CH2yiqiPort);
|
|
this.groupBox3.Controls.Add(this.cb_CH2yiqiBaudrate);
|
|
this.groupBox3.Controls.Add(this.bt_CH2Refresh);
|
|
this.groupBox3.Controls.Add(this.bt_CH2connect);
|
|
this.groupBox3.Controls.Add(this.bt_CH2Break);
|
|
this.groupBox3.Controls.Add(this.lb_CH2SerialStatus);
|
|
this.groupBox3.Controls.Add(this.label15);
|
|
this.groupBox3.Controls.Add(this.lb_CH2CommunicationStatus);
|
|
this.groupBox3.Controls.Add(this.label17);
|
|
this.groupBox3.Location = new System.Drawing.Point(238, 12);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(200, 429);
|
|
this.groupBox3.TabIndex = 93;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "CH2";
|
|
//
|
|
// label12
|
|
//
|
|
this.label12.AutoSize = true;
|
|
this.label12.Location = new System.Drawing.Point(27, 22);
|
|
this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label12.Name = "label12";
|
|
this.label12.Size = new System.Drawing.Size(95, 16);
|
|
this.label12.TabIndex = 65;
|
|
this.label12.Text = "仪器2端口号";
|
|
//
|
|
// label13
|
|
//
|
|
this.label13.AutoSize = true;
|
|
this.label13.Location = new System.Drawing.Point(27, 83);
|
|
this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
|
this.label13.Name = "label13";
|
|
this.label13.Size = new System.Drawing.Size(55, 16);
|
|
this.label13.TabIndex = 66;
|
|
this.label13.Text = "波特率";
|
|
//
|
|
// cb_CH2yiqiPort
|
|
//
|
|
this.cb_CH2yiqiPort.FormattingEnabled = true;
|
|
this.cb_CH2yiqiPort.Location = new System.Drawing.Point(29, 47);
|
|
this.cb_CH2yiqiPort.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_CH2yiqiPort.Name = "cb_CH2yiqiPort";
|
|
this.cb_CH2yiqiPort.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_CH2yiqiPort.TabIndex = 67;
|
|
//
|
|
// cb_CH2yiqiBaudrate
|
|
//
|
|
this.cb_CH2yiqiBaudrate.FormattingEnabled = true;
|
|
this.cb_CH2yiqiBaudrate.Items.AddRange(new object[] {
|
|
"9600",
|
|
"115200",
|
|
"2400",
|
|
"4800",
|
|
"19200",
|
|
"38400"});
|
|
this.cb_CH2yiqiBaudrate.Location = new System.Drawing.Point(29, 109);
|
|
this.cb_CH2yiqiBaudrate.Margin = new System.Windows.Forms.Padding(4);
|
|
this.cb_CH2yiqiBaudrate.Name = "cb_CH2yiqiBaudrate";
|
|
this.cb_CH2yiqiBaudrate.Size = new System.Drawing.Size(137, 24);
|
|
this.cb_CH2yiqiBaudrate.TabIndex = 68;
|
|
//
|
|
// bt_CH2Refresh
|
|
//
|
|
this.bt_CH2Refresh.Location = new System.Drawing.Point(30, 311);
|
|
this.bt_CH2Refresh.Name = "bt_CH2Refresh";
|
|
this.bt_CH2Refresh.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH2Refresh.TabIndex = 70;
|
|
this.bt_CH2Refresh.Text = "刷新串口";
|
|
this.bt_CH2Refresh.UseVisualStyleBackColor = true;
|
|
this.bt_CH2Refresh.Click += new System.EventHandler(this.bt_CH2Refresh_Click);
|
|
//
|
|
// bt_CH2connect
|
|
//
|
|
this.bt_CH2connect.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.bt_CH2connect.Location = new System.Drawing.Point(30, 264);
|
|
this.bt_CH2connect.Name = "bt_CH2connect";
|
|
this.bt_CH2connect.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH2connect.TabIndex = 72;
|
|
this.bt_CH2connect.Text = "连接串口";
|
|
this.bt_CH2connect.UseVisualStyleBackColor = true;
|
|
this.bt_CH2connect.Click += new System.EventHandler(this.bt_CH2connect_Click);
|
|
//
|
|
// bt_CH2Break
|
|
//
|
|
this.bt_CH2Break.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.bt_CH2Break.Location = new System.Drawing.Point(30, 359);
|
|
this.bt_CH2Break.Name = "bt_CH2Break";
|
|
this.bt_CH2Break.Size = new System.Drawing.Size(111, 42);
|
|
this.bt_CH2Break.TabIndex = 73;
|
|
this.bt_CH2Break.Text = "断开连接";
|
|
this.bt_CH2Break.UseVisualStyleBackColor = true;
|
|
this.bt_CH2Break.Click += new System.EventHandler(this.bt_CH2Break_Click);
|
|
//
|
|
// lb_CH2SerialStatus
|
|
//
|
|
this.lb_CH2SerialStatus.AutoSize = true;
|
|
this.lb_CH2SerialStatus.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.lb_CH2SerialStatus.Location = new System.Drawing.Point(56, 173);
|
|
this.lb_CH2SerialStatus.Name = "lb_CH2SerialStatus";
|
|
this.lb_CH2SerialStatus.Size = new System.Drawing.Size(79, 19);
|
|
this.lb_CH2SerialStatus.TabIndex = 74;
|
|
this.lb_CH2SerialStatus.Text = "label14";
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label15.Location = new System.Drawing.Point(53, 147);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(87, 16);
|
|
this.label15.TabIndex = 75;
|
|
this.label15.Text = "串口状态:";
|
|
//
|
|
// lb_CH2CommunicationStatus
|
|
//
|
|
this.lb_CH2CommunicationStatus.AutoSize = true;
|
|
this.lb_CH2CommunicationStatus.Font = new System.Drawing.Font("宋体", 14F);
|
|
this.lb_CH2CommunicationStatus.Location = new System.Drawing.Point(56, 231);
|
|
this.lb_CH2CommunicationStatus.Name = "lb_CH2CommunicationStatus";
|
|
this.lb_CH2CommunicationStatus.Size = new System.Drawing.Size(79, 19);
|
|
this.lb_CH2CommunicationStatus.TabIndex = 76;
|
|
this.lb_CH2CommunicationStatus.Text = "label16";
|
|
//
|
|
// label17
|
|
//
|
|
this.label17.AutoSize = true;
|
|
this.label17.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.label17.Location = new System.Drawing.Point(53, 206);
|
|
this.label17.Name = "label17";
|
|
this.label17.Size = new System.Drawing.Size(87, 16);
|
|
this.label17.TabIndex = 77;
|
|
this.label17.Text = "通讯状态:";
|
|
//
|
|
// PortSetting
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(687, 479);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.label10);
|
|
this.Controls.Add(this.label8);
|
|
this.Controls.Add(this.ReceiveText);
|
|
this.Controls.Add(this.SendText);
|
|
this.Font = new System.Drawing.Font("宋体", 12F);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(4);
|
|
this.Name = "PortSetting";
|
|
this.Load += new System.EventHandler(this.PortSetting_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
private System.Windows.Forms.ComboBox cb_CH1yiqiBaudrate;
|
|
private System.Windows.Forms.ComboBox cb_CH1yiqiPort;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button bt_CH1connect;
|
|
private System.Windows.Forms.Button bt_CH1Refresh;
|
|
private System.Windows.Forms.Button bt_CH1Break;
|
|
private System.Windows.Forms.Label label3;
|
|
public System.Windows.Forms.Label lb_CH1SerialStatus;
|
|
private System.Windows.Forms.Label label4;
|
|
public System.Windows.Forms.Label lb_CH1CommunicationStatus;
|
|
private System.Windows.Forms.TextBox ReceiveText;
|
|
private System.Windows.Forms.TextBox SendText;
|
|
private System.IO.Ports.SerialPort TestPort1;
|
|
private System.Windows.Forms.Timer timer1;
|
|
private System.Windows.Forms.ComboBox CodePort1;
|
|
private System.Windows.Forms.ComboBox CodeBaud1;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label8;
|
|
public System.Windows.Forms.Label CodeIsComm1;
|
|
public System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Button PortBtnCon1;
|
|
private System.Windows.Forms.Button PortBtnRefresh;
|
|
private System.Windows.Forms.Button PortBtnBreak;
|
|
private System.IO.Ports.SerialPort CodePort;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.CheckBox CeckScanning;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.Label label12;
|
|
private System.Windows.Forms.Label label13;
|
|
private System.Windows.Forms.ComboBox cb_CH2yiqiPort;
|
|
private System.Windows.Forms.ComboBox cb_CH2yiqiBaudrate;
|
|
private System.Windows.Forms.Button bt_CH2Refresh;
|
|
private System.Windows.Forms.Button bt_CH2connect;
|
|
private System.Windows.Forms.Button bt_CH2Break;
|
|
public System.Windows.Forms.Label lb_CH2SerialStatus;
|
|
private System.Windows.Forms.Label label15;
|
|
public System.Windows.Forms.Label lb_CH2CommunicationStatus;
|
|
private System.Windows.Forms.Label label17;
|
|
}
|
|
} |