namespace DK_DC_Tool { partial class Form1 { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.label6 = new System.Windows.Forms.Label(); this.cbxDevType = new System.Windows.Forms.ComboBox(); this.btnOpen = new System.Windows.Forms.Button(); this.gbxSerial = new System.Windows.Forms.GroupBox(); this.tbxSerialProtocol = new System.Windows.Forms.TextBox(); this.label10 = new System.Windows.Forms.Label(); this.tbxSerialAddr = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cbxSerial = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.cbxSerialCheckSum = new System.Windows.Forms.ComboBox(); this.cbxSerialBaud = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.cbxSerialStopBit = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.cbxSerialDataBit = new System.Windows.Forms.ComboBox(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.tbxTcpDestIP = new System.Windows.Forms.TextBox(); this.tbxTcpDestPort = new System.Windows.Forms.TextBox(); this.gbxTcp = new System.Windows.Forms.GroupBox(); this.gbxProtocol = new System.Windows.Forms.GroupBox(); this.btnProtocolSend = new System.Windows.Forms.Button(); this.tbxProtocolData = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.tbxProtocolMID = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.cbxProtocolOp = new System.Windows.Forms.ComboBox(); this.label11 = new System.Windows.Forms.Label(); this.tbxProtocolDebug = new System.Windows.Forms.TextBox(); this.btnClear = new System.Windows.Forms.Button(); this.gbxSerial.SuspendLayout(); this.gbxTcp.SuspendLayout(); this.gbxProtocol.SuspendLayout(); this.SuspendLayout(); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(30, 21); this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(62, 18); this.label6.TabIndex = 10; this.label6.Text = "类型:"; // // cbxDevType // this.cbxDevType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxDevType.FormattingEnabled = true; this.cbxDevType.Location = new System.Drawing.Point(118, 16); this.cbxDevType.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxDevType.Name = "cbxDevType"; this.cbxDevType.Size = new System.Drawing.Size(130, 26); this.cbxDevType.TabIndex = 11; this.cbxDevType.SelectedIndexChanged += new System.EventHandler(this.cbxDevType_SelectedIndexChanged); // // btnOpen // this.btnOpen.Location = new System.Drawing.Point(418, 12); this.btnOpen.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnOpen.Name = "btnOpen"; this.btnOpen.Size = new System.Drawing.Size(142, 42); this.btnOpen.TabIndex = 13; this.btnOpen.Text = "打开"; this.btnOpen.UseVisualStyleBackColor = true; this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); // // gbxSerial // this.gbxSerial.Controls.Add(this.tbxSerialProtocol); this.gbxSerial.Controls.Add(this.label10); this.gbxSerial.Controls.Add(this.tbxSerialAddr); this.gbxSerial.Controls.Add(this.label9); this.gbxSerial.Controls.Add(this.label1); this.gbxSerial.Controls.Add(this.cbxSerial); this.gbxSerial.Controls.Add(this.label2); this.gbxSerial.Controls.Add(this.cbxSerialCheckSum); this.gbxSerial.Controls.Add(this.cbxSerialBaud); this.gbxSerial.Controls.Add(this.label5); this.gbxSerial.Controls.Add(this.label3); this.gbxSerial.Controls.Add(this.cbxSerialStopBit); this.gbxSerial.Controls.Add(this.label4); this.gbxSerial.Controls.Add(this.cbxSerialDataBit); this.gbxSerial.Location = new System.Drawing.Point(638, 96); this.gbxSerial.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxSerial.Name = "gbxSerial"; this.gbxSerial.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxSerial.Size = new System.Drawing.Size(548, 218); this.gbxSerial.TabIndex = 16; this.gbxSerial.TabStop = false; // // tbxSerialProtocol // this.tbxSerialProtocol.Location = new System.Drawing.Point(400, 120); this.tbxSerialProtocol.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxSerialProtocol.Name = "tbxSerialProtocol"; this.tbxSerialProtocol.Size = new System.Drawing.Size(130, 28); this.tbxSerialProtocol.TabIndex = 19; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(294, 124); this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(98, 18); this.label10.TabIndex = 18; this.label10.Text = "协议类型:"; // // tbxSerialAddr // this.tbxSerialAddr.Location = new System.Drawing.Point(400, 70); this.tbxSerialAddr.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxSerialAddr.Name = "tbxSerialAddr"; this.tbxSerialAddr.Size = new System.Drawing.Size(130, 28); this.tbxSerialAddr.TabIndex = 17; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(294, 76); this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(62, 18); this.label9.TabIndex = 10; this.label9.Text = "地址:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 26); this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 18); this.label1.TabIndex = 0; this.label1.Text = "串口号:"; // // cbxSerial // this.cbxSerial.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxSerial.FormattingEnabled = true; this.cbxSerial.Location = new System.Drawing.Point(100, 21); this.cbxSerial.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxSerial.Name = "cbxSerial"; this.cbxSerial.Size = new System.Drawing.Size(130, 26); this.cbxSerial.TabIndex = 1; this.cbxSerial.DropDown += new System.EventHandler(this.cbxSerial_DropDown); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 76); this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 18); this.label2.TabIndex = 2; this.label2.Text = "波特率:"; // // cbxSerialCheckSum // this.cbxSerialCheckSum.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxSerialCheckSum.FormattingEnabled = true; this.cbxSerialCheckSum.Location = new System.Drawing.Point(400, 21); this.cbxSerialCheckSum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxSerialCheckSum.Name = "cbxSerialCheckSum"; this.cbxSerialCheckSum.Size = new System.Drawing.Size(130, 26); this.cbxSerialCheckSum.TabIndex = 9; // // cbxSerialBaud // this.cbxSerialBaud.FormattingEnabled = true; this.cbxSerialBaud.Location = new System.Drawing.Point(100, 72); this.cbxSerialBaud.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxSerialBaud.Name = "cbxSerialBaud"; this.cbxSerialBaud.Size = new System.Drawing.Size(130, 26); this.cbxSerialBaud.TabIndex = 3; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(294, 26); this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(98, 18); this.label5.TabIndex = 8; this.label5.Text = "校验格式:"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(12, 124); this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(80, 18); this.label3.TabIndex = 4; this.label3.Text = "数据位:"; // // cbxSerialStopBit // this.cbxSerialStopBit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxSerialStopBit.FormattingEnabled = true; this.cbxSerialStopBit.Location = new System.Drawing.Point(100, 171); this.cbxSerialStopBit.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxSerialStopBit.Name = "cbxSerialStopBit"; this.cbxSerialStopBit.Size = new System.Drawing.Size(130, 26); this.cbxSerialStopBit.TabIndex = 7; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 176); this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(80, 18); this.label4.TabIndex = 5; this.label4.Text = "停止位:"; // // cbxSerialDataBit // this.cbxSerialDataBit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxSerialDataBit.FormattingEnabled = true; this.cbxSerialDataBit.Location = new System.Drawing.Point(100, 120); this.cbxSerialDataBit.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxSerialDataBit.Name = "cbxSerialDataBit"; this.cbxSerialDataBit.Size = new System.Drawing.Size(130, 26); this.cbxSerialDataBit.TabIndex = 6; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(9, 153); this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(80, 18); this.label8.TabIndex = 2; this.label8.Text = "端口号:"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(9, 51); this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(80, 18); this.label7.TabIndex = 0; this.label7.Text = "IP地址:"; // // tbxTcpDestIP // this.tbxTcpDestIP.Location = new System.Drawing.Point(98, 46); this.tbxTcpDestIP.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxTcpDestIP.Name = "tbxTcpDestIP"; this.tbxTcpDestIP.Size = new System.Drawing.Size(148, 28); this.tbxTcpDestIP.TabIndex = 3; // // tbxTcpDestPort // this.tbxTcpDestPort.Location = new System.Drawing.Point(98, 148); this.tbxTcpDestPort.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxTcpDestPort.Name = "tbxTcpDestPort"; this.tbxTcpDestPort.Size = new System.Drawing.Size(148, 28); this.tbxTcpDestPort.TabIndex = 4; // // gbxTcp // this.gbxTcp.Controls.Add(this.tbxTcpDestPort); this.gbxTcp.Controls.Add(this.tbxTcpDestIP); this.gbxTcp.Controls.Add(this.label7); this.gbxTcp.Controls.Add(this.label8); this.gbxTcp.Location = new System.Drawing.Point(18, 76); this.gbxTcp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxTcp.Name = "gbxTcp"; this.gbxTcp.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxTcp.Size = new System.Drawing.Size(548, 218); this.gbxTcp.TabIndex = 15; this.gbxTcp.TabStop = false; // // gbxProtocol // this.gbxProtocol.Controls.Add(this.btnProtocolSend); this.gbxProtocol.Controls.Add(this.tbxProtocolData); this.gbxProtocol.Controls.Add(this.label13); this.gbxProtocol.Controls.Add(this.tbxProtocolMID); this.gbxProtocol.Controls.Add(this.label12); this.gbxProtocol.Controls.Add(this.cbxProtocolOp); this.gbxProtocol.Controls.Add(this.label11); this.gbxProtocol.Location = new System.Drawing.Point(18, 303); this.gbxProtocol.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxProtocol.Name = "gbxProtocol"; this.gbxProtocol.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbxProtocol.Size = new System.Drawing.Size(548, 488); this.gbxProtocol.TabIndex = 17; this.gbxProtocol.TabStop = false; // // btnProtocolSend // this.btnProtocolSend.Location = new System.Drawing.Point(82, 62); this.btnProtocolSend.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnProtocolSend.Name = "btnProtocolSend"; this.btnProtocolSend.Size = new System.Drawing.Size(450, 50); this.btnProtocolSend.TabIndex = 23; this.btnProtocolSend.Text = "发送"; this.btnProtocolSend.UseVisualStyleBackColor = true; this.btnProtocolSend.Click += new System.EventHandler(this.btnProtocolSend_Click); // // tbxProtocolData // this.tbxProtocolData.Location = new System.Drawing.Point(15, 118); this.tbxProtocolData.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxProtocolData.Multiline = true; this.tbxProtocolData.Name = "tbxProtocolData"; this.tbxProtocolData.Size = new System.Drawing.Size(516, 358); this.tbxProtocolData.TabIndex = 22; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(12, 72); this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(62, 18); this.label13.TabIndex = 21; this.label13.Text = "数据:"; // // tbxProtocolMID // this.tbxProtocolMID.Location = new System.Drawing.Point(400, 21); this.tbxProtocolMID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxProtocolMID.Name = "tbxProtocolMID"; this.tbxProtocolMID.Size = new System.Drawing.Size(130, 28); this.tbxProtocolMID.TabIndex = 20; this.tbxProtocolMID.Text = "0202"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(339, 26); this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(53, 18); this.label12.TabIndex = 11; this.label12.Text = "MID:"; // // cbxProtocolOp // this.cbxProtocolOp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbxProtocolOp.FormattingEnabled = true; this.cbxProtocolOp.Location = new System.Drawing.Point(118, 21); this.cbxProtocolOp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbxProtocolOp.Name = "cbxProtocolOp"; this.cbxProtocolOp.Size = new System.Drawing.Size(130, 26); this.cbxProtocolOp.TabIndex = 10; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(12, 26); this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(98, 18); this.label11.TabIndex = 9; this.label11.Text = "操作方式:"; // // tbxProtocolDebug // this.tbxProtocolDebug.Location = new System.Drawing.Point(590, 12); this.tbxProtocolDebug.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tbxProtocolDebug.Multiline = true; this.tbxProtocolDebug.Name = "tbxProtocolDebug"; this.tbxProtocolDebug.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.tbxProtocolDebug.Size = new System.Drawing.Size(1069, 697); this.tbxProtocolDebug.TabIndex = 23; // // btnClear // this.btnClear.Location = new System.Drawing.Point(590, 735); this.btnClear.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(282, 56); this.btnClear.TabIndex = 25; this.btnClear.Text = "清除"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1702, 808); this.Controls.Add(this.btnClear); this.Controls.Add(this.tbxProtocolDebug); this.Controls.Add(this.gbxProtocol); this.Controls.Add(this.gbxSerial); this.Controls.Add(this.gbxTcp); this.Controls.Add(this.btnOpen); this.Controls.Add(this.cbxDevType); this.Controls.Add(this.label6); this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "Form1"; this.Text = "DK_DC 报文调试助手"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.gbxSerial.ResumeLayout(false); this.gbxSerial.PerformLayout(); this.gbxTcp.ResumeLayout(false); this.gbxTcp.PerformLayout(); this.gbxProtocol.ResumeLayout(false); this.gbxProtocol.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label label6; private System.Windows.Forms.ComboBox cbxDevType; private System.Windows.Forms.Button btnOpen; private System.Windows.Forms.GroupBox gbxSerial; private System.Windows.Forms.Label label1; private System.Windows.Forms.ComboBox cbxSerial; private System.Windows.Forms.Label label2; private System.Windows.Forms.ComboBox cbxSerialCheckSum; private System.Windows.Forms.ComboBox cbxSerialBaud; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label3; private System.Windows.Forms.ComboBox cbxSerialStopBit; private System.Windows.Forms.Label label4; private System.Windows.Forms.ComboBox cbxSerialDataBit; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label7; private System.Windows.Forms.TextBox tbxTcpDestIP; private System.Windows.Forms.TextBox tbxTcpDestPort; private System.Windows.Forms.GroupBox gbxTcp; private System.Windows.Forms.Label label9; private System.Windows.Forms.TextBox tbxSerialAddr; private System.Windows.Forms.Label label10; private System.Windows.Forms.TextBox tbxSerialProtocol; private System.Windows.Forms.GroupBox gbxProtocol; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label12; private System.Windows.Forms.ComboBox cbxProtocolOp; private System.Windows.Forms.TextBox tbxProtocolMID; private System.Windows.Forms.Label label13; private System.Windows.Forms.TextBox tbxProtocolData; private System.Windows.Forms.Button btnProtocolSend; private System.Windows.Forms.TextBox tbxProtocolDebug; private System.Windows.Forms.Button btnClear; } }