namespace TProduct.Link.Debugger
|
{
|
partial class DebugShunPort12Ctrl
|
{
|
/// <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()
|
{
|
TProduct.RS485.Properties.Settings settings1 = new TProduct.RS485.Properties.Settings();
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DebugShunPort12Ctrl));
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
this.label1 = new System.Windows.Forms.Label();
|
this.label10 = new System.Windows.Forms.Label();
|
this.textBox2max = new System.Windows.Forms.TextBox();
|
this.textBox1max = new System.Windows.Forms.TextBox();
|
this.textBox2min = new System.Windows.Forms.TextBox();
|
this.textBox1min = new System.Windows.Forms.TextBox();
|
this.btnConnPoll = new System.Windows.Forms.Button();
|
this.textBoxAddr = new System.Windows.Forms.TextBox();
|
this.label6 = new System.Windows.Forms.Label();
|
this.checkIsAuto = new System.Windows.Forms.CheckBox();
|
this.textInterval = new System.Windows.Forms.TextBox();
|
this.label11 = new System.Windows.Forms.Label();
|
this.btnClosePoll = new System.Windows.Forms.Button();
|
this.rtfTerminal1 = new System.Windows.Forms.RichTextBox();
|
this.groupBoxSetting = new System.Windows.Forms.GroupBox();
|
this.check420ma = new DevExpress.XtraEditors.CheckEdit();
|
this.btnClearText = new System.Windows.Forms.Button();
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
this.radioButton16 = new System.Windows.Forms.RadioButton();
|
this.radioButton10 = new System.Windows.Forms.RadioButton();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.button计算量程 = new System.Windows.Forms.Button();
|
this.button计算真实值 = new System.Windows.Forms.Button();
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
this.btnCloseCom = new System.Windows.Forms.Button();
|
this.btnOpenCom = new System.Windows.Forms.Button();
|
this.label2 = new System.Windows.Forms.Label();
|
this.label9 = new System.Windows.Forms.Label();
|
this.comboBoxbtl = new System.Windows.Forms.ComboBox();
|
this.comboBoxCOM = new System.Windows.Forms.ComboBox();
|
this.groupBox2.SuspendLayout();
|
this.groupBoxSetting.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.check420ma.Properties)).BeginInit();
|
this.groupBox1.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
this.splitContainer1.Panel1.SuspendLayout();
|
this.splitContainer1.Panel2.SuspendLayout();
|
this.splitContainer1.SuspendLayout();
|
this.groupBox3.SuspendLayout();
|
this.SuspendLayout();
|
//
|
// groupBox2
|
//
|
this.groupBox2.Controls.Add(this.label1);
|
this.groupBox2.Controls.Add(this.label10);
|
this.groupBox2.Controls.Add(this.textBox2max);
|
this.groupBox2.Controls.Add(this.textBox1max);
|
this.groupBox2.Controls.Add(this.textBox2min);
|
this.groupBox2.Controls.Add(this.textBox1min);
|
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBox2.Location = new System.Drawing.Point(3, 108);
|
this.groupBox2.Margin = new System.Windows.Forms.Padding(5);
|
this.groupBox2.Name = "groupBox2";
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
|
this.groupBox2.Size = new System.Drawing.Size(194, 80);
|
this.groupBox2.TabIndex = 4;
|
this.groupBox2.TabStop = false;
|
this.groupBox2.Text = "数据量程";
|
//
|
// label1
|
//
|
this.label1.AutoSize = true;
|
this.label1.Location = new System.Drawing.Point(20, 47);
|
this.label1.Name = "label1";
|
this.label1.Size = new System.Drawing.Size(35, 12);
|
this.label1.TabIndex = 1;
|
this.label1.Text = "端口2";
|
//
|
// label10
|
//
|
this.label10.AutoSize = true;
|
this.label10.Location = new System.Drawing.Point(21, 24);
|
this.label10.Name = "label10";
|
this.label10.Size = new System.Drawing.Size(35, 12);
|
this.label10.TabIndex = 1;
|
this.label10.Text = "端口1";
|
//
|
// textBox2max
|
//
|
this.textBox2max.Location = new System.Drawing.Point(128, 45);
|
this.textBox2max.Name = "textBox2max";
|
this.textBox2max.Size = new System.Drawing.Size(52, 21);
|
this.textBox2max.TabIndex = 2;
|
this.textBox2max.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// textBox1max
|
//
|
this.textBox1max.Location = new System.Drawing.Point(128, 18);
|
this.textBox1max.Name = "textBox1max";
|
this.textBox1max.Size = new System.Drawing.Size(52, 21);
|
this.textBox1max.TabIndex = 2;
|
this.textBox1max.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// textBox2min
|
//
|
this.textBox2min.Location = new System.Drawing.Point(70, 45);
|
this.textBox2min.Name = "textBox2min";
|
this.textBox2min.Size = new System.Drawing.Size(52, 21);
|
this.textBox2min.TabIndex = 2;
|
this.textBox2min.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// textBox1min
|
//
|
this.textBox1min.Location = new System.Drawing.Point(70, 18);
|
this.textBox1min.Name = "textBox1min";
|
this.textBox1min.Size = new System.Drawing.Size(52, 21);
|
this.textBox1min.TabIndex = 2;
|
this.textBox1min.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// btnConnPoll
|
//
|
this.btnConnPoll.Location = new System.Drawing.Point(15, 286);
|
this.btnConnPoll.Name = "btnConnPoll";
|
this.btnConnPoll.Size = new System.Drawing.Size(168, 23);
|
this.btnConnPoll.TabIndex = 13;
|
this.btnConnPoll.Text = "下发命令";
|
this.btnConnPoll.UseVisualStyleBackColor = true;
|
this.btnConnPoll.Click += new System.EventHandler(this.btnConnPoll_Click);
|
//
|
// textBoxAddr
|
//
|
settings1.BaudRate = 6900;
|
settings1.DataBits = 8;
|
settings1.PortName = "COM1";
|
settings1.SettingsKey = "";
|
settings1.TestIOaddr = "1";
|
settings1.TestIOaddr10 = true;
|
settings1.TestRs485addr = "1";
|
settings1.TestRs485addr10 = true;
|
settings1.TestRs485selIndex = 0;
|
this.textBoxAddr.DataBindings.Add(new System.Windows.Forms.Binding("Text", settings1, "TestIOaddr", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
|
this.textBoxAddr.Location = new System.Drawing.Point(95, 20);
|
this.textBoxAddr.Name = "textBoxAddr";
|
this.textBoxAddr.Size = new System.Drawing.Size(63, 21);
|
this.textBoxAddr.TabIndex = 2;
|
this.textBoxAddr.Text = "1";
|
this.textBoxAddr.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// label6
|
//
|
this.label6.AutoSize = true;
|
this.label6.Location = new System.Drawing.Point(17, 24);
|
this.label6.Name = "label6";
|
this.label6.Size = new System.Drawing.Size(53, 12);
|
this.label6.TabIndex = 1;
|
this.label6.Text = "设备地址";
|
//
|
// checkIsAuto
|
//
|
this.checkIsAuto.AutoSize = true;
|
this.checkIsAuto.Location = new System.Drawing.Point(26, 20);
|
this.checkIsAuto.Name = "checkIsAuto";
|
this.checkIsAuto.Size = new System.Drawing.Size(96, 16);
|
this.checkIsAuto.TabIndex = 15;
|
this.checkIsAuto.Text = "是否自动收取";
|
this.checkIsAuto.UseVisualStyleBackColor = true;
|
this.checkIsAuto.CheckedChanged += new System.EventHandler(this.checkIsAuto_Change);
|
//
|
// textInterval
|
//
|
this.textInterval.Location = new System.Drawing.Point(103, 64);
|
this.textInterval.Name = "textInterval";
|
this.textInterval.Size = new System.Drawing.Size(63, 21);
|
this.textInterval.TabIndex = 2;
|
this.textInterval.Text = "2000";
|
this.textInterval.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
//
|
// label11
|
//
|
this.label11.AutoSize = true;
|
this.label11.Location = new System.Drawing.Point(17, 67);
|
this.label11.Name = "label11";
|
this.label11.Size = new System.Drawing.Size(77, 12);
|
this.label11.TabIndex = 1;
|
this.label11.Text = "发送周期(ms)";
|
//
|
// btnClosePoll
|
//
|
this.btnClosePoll.Enabled = false;
|
this.btnClosePoll.Location = new System.Drawing.Point(15, 327);
|
this.btnClosePoll.Name = "btnClosePoll";
|
this.btnClosePoll.Size = new System.Drawing.Size(168, 23);
|
this.btnClosePoll.TabIndex = 13;
|
this.btnClosePoll.Text = "终止发送";
|
this.btnClosePoll.UseVisualStyleBackColor = true;
|
this.btnClosePoll.Click += new System.EventHandler(this.btnClosePoll_Click);
|
//
|
// rtfTerminal1
|
//
|
this.rtfTerminal1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.rtfTerminal1.Location = new System.Drawing.Point(0, 0);
|
this.rtfTerminal1.Name = "rtfTerminal1";
|
this.rtfTerminal1.Size = new System.Drawing.Size(480, 505);
|
this.rtfTerminal1.TabIndex = 5;
|
this.rtfTerminal1.Text = "";
|
//
|
// groupBoxSetting
|
//
|
this.groupBoxSetting.Controls.Add(this.check420ma);
|
this.groupBoxSetting.Controls.Add(this.checkIsAuto);
|
this.groupBoxSetting.Controls.Add(this.textInterval);
|
this.groupBoxSetting.Controls.Add(this.label11);
|
this.groupBoxSetting.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBoxSetting.Location = new System.Drawing.Point(3, 3);
|
this.groupBoxSetting.Name = "groupBoxSetting";
|
this.groupBoxSetting.Size = new System.Drawing.Size(194, 105);
|
this.groupBoxSetting.TabIndex = 18;
|
this.groupBoxSetting.TabStop = false;
|
this.groupBoxSetting.Text = "信号设置";
|
//
|
// check420ma
|
//
|
this.check420ma.EditValue = true;
|
this.check420ma.Location = new System.Drawing.Point(26, 39);
|
this.check420ma.Name = "check420ma";
|
this.check420ma.Properties.Caption = "4-20ma";
|
this.check420ma.Size = new System.Drawing.Size(75, 20);
|
this.check420ma.TabIndex = 5;
|
//
|
// btnClearText
|
//
|
this.btnClearText.Location = new System.Drawing.Point(15, 365);
|
this.btnClearText.Name = "btnClearText";
|
this.btnClearText.Size = new System.Drawing.Size(168, 23);
|
this.btnClearText.TabIndex = 13;
|
this.btnClearText.Text = "清空";
|
this.btnClearText.UseVisualStyleBackColor = true;
|
this.btnClearText.Click += new System.EventHandler(this.btnClearText_Click);
|
//
|
// groupBox1
|
//
|
this.groupBox1.Controls.Add(this.radioButton16);
|
this.groupBox1.Controls.Add(this.radioButton10);
|
this.groupBox1.Controls.Add(this.textBoxAddr);
|
this.groupBox1.Controls.Add(this.label6);
|
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBox1.Location = new System.Drawing.Point(3, 188);
|
this.groupBox1.Name = "groupBox1";
|
this.groupBox1.Size = new System.Drawing.Size(194, 83);
|
this.groupBox1.TabIndex = 19;
|
this.groupBox1.TabStop = false;
|
this.groupBox1.Text = "设备地址";
|
//
|
// radioButton16
|
//
|
this.radioButton16.AutoSize = true;
|
this.radioButton16.Location = new System.Drawing.Point(95, 54);
|
this.radioButton16.Name = "radioButton16";
|
this.radioButton16.Size = new System.Drawing.Size(71, 16);
|
this.radioButton16.TabIndex = 4;
|
this.radioButton16.Text = "十六进制";
|
this.radioButton16.UseVisualStyleBackColor = true;
|
//
|
// radioButton10
|
//
|
this.radioButton10.AutoSize = true;
|
this.radioButton10.Checked = true;
|
this.radioButton10.Cursor = System.Windows.Forms.Cursors.Default;
|
this.radioButton10.Location = new System.Drawing.Point(26, 54);
|
this.radioButton10.Name = "radioButton10";
|
this.radioButton10.Size = new System.Drawing.Size(59, 16);
|
this.radioButton10.TabIndex = 3;
|
this.radioButton10.TabStop = true;
|
this.radioButton10.Text = "十进制";
|
this.radioButton10.UseVisualStyleBackColor = true;
|
//
|
// splitContainer1
|
//
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
this.splitContainer1.Location = new System.Drawing.Point(0, 68);
|
this.splitContainer1.Name = "splitContainer1";
|
//
|
// splitContainer1.Panel1
|
//
|
this.splitContainer1.Panel1.Controls.Add(this.btnConnPoll);
|
this.splitContainer1.Panel1.Controls.Add(this.btnClearText);
|
this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
|
this.splitContainer1.Panel1.Controls.Add(this.btnClosePoll);
|
this.splitContainer1.Panel1.Controls.Add(this.button计算量程);
|
this.splitContainer1.Panel1.Controls.Add(this.button计算真实值);
|
this.splitContainer1.Panel1.Controls.Add(this.groupBox2);
|
this.splitContainer1.Panel1.Controls.Add(this.groupBoxSetting);
|
this.splitContainer1.Panel1.Margin = new System.Windows.Forms.Padding(2);
|
this.splitContainer1.Panel1.Padding = new System.Windows.Forms.Padding(3);
|
//
|
// splitContainer1.Panel2
|
//
|
this.splitContainer1.Panel2.Controls.Add(this.rtfTerminal1);
|
this.splitContainer1.Size = new System.Drawing.Size(684, 505);
|
this.splitContainer1.SplitterDistance = 200;
|
this.splitContainer1.TabIndex = 20;
|
//
|
// button计算量程
|
//
|
this.button计算量程.Location = new System.Drawing.Point(12, 439);
|
this.button计算量程.Name = "button计算量程";
|
this.button计算量程.Size = new System.Drawing.Size(168, 23);
|
this.button计算量程.TabIndex = 13;
|
this.button计算量程.Text = "计算量程";
|
this.button计算量程.UseVisualStyleBackColor = true;
|
this.button计算量程.Click += new System.EventHandler(this.button计算量程_Click);
|
//
|
// button计算真实值
|
//
|
this.button计算真实值.Location = new System.Drawing.Point(12, 401);
|
this.button计算真实值.Name = "button计算真实值";
|
this.button计算真实值.Size = new System.Drawing.Size(168, 23);
|
this.button计算真实值.TabIndex = 13;
|
this.button计算真实值.Text = "计算真实值";
|
this.button计算真实值.UseVisualStyleBackColor = true;
|
this.button计算真实值.Click += new System.EventHandler(this.button计算真实值_Click);
|
//
|
// groupBox3
|
//
|
this.groupBox3.Controls.Add(this.btnCloseCom);
|
this.groupBox3.Controls.Add(this.btnOpenCom);
|
this.groupBox3.Controls.Add(this.label2);
|
this.groupBox3.Controls.Add(this.label9);
|
this.groupBox3.Controls.Add(this.comboBoxbtl);
|
this.groupBox3.Controls.Add(this.comboBoxCOM);
|
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
this.groupBox3.Location = new System.Drawing.Point(0, 0);
|
this.groupBox3.Name = "groupBox3";
|
this.groupBox3.Size = new System.Drawing.Size(684, 68);
|
this.groupBox3.TabIndex = 21;
|
this.groupBox3.TabStop = false;
|
this.groupBox3.Text = "串口设置";
|
//
|
// btnCloseCom
|
//
|
this.btnCloseCom.Location = new System.Drawing.Point(462, 22);
|
this.btnCloseCom.Name = "btnCloseCom";
|
this.btnCloseCom.Size = new System.Drawing.Size(86, 23);
|
this.btnCloseCom.TabIndex = 18;
|
this.btnCloseCom.Text = "关闭端口";
|
this.btnCloseCom.Click += new System.EventHandler(this.btnCloseCom_Click);
|
//
|
// btnOpenCom
|
//
|
this.btnOpenCom.Location = new System.Drawing.Point(363, 22);
|
this.btnOpenCom.Name = "btnOpenCom";
|
this.btnOpenCom.Size = new System.Drawing.Size(93, 23);
|
this.btnOpenCom.TabIndex = 13;
|
this.btnOpenCom.Text = "打开端口";
|
this.btnOpenCom.UseVisualStyleBackColor = true;
|
this.btnOpenCom.Click += new System.EventHandler(this.btnOpenCom_Click);
|
//
|
// label2
|
//
|
this.label2.AutoSize = true;
|
this.label2.Location = new System.Drawing.Point(183, 25);
|
this.label2.Name = "label2";
|
this.label2.Size = new System.Drawing.Size(59, 12);
|
this.label2.TabIndex = 1;
|
this.label2.Text = " 波特率:";
|
//
|
// label9
|
//
|
this.label9.AutoSize = true;
|
this.label9.Location = new System.Drawing.Point(6, 25);
|
this.label9.Name = "label9";
|
this.label9.Size = new System.Drawing.Size(59, 12);
|
this.label9.TabIndex = 1;
|
this.label9.Text = "串 口 号:";
|
//
|
// comboBoxbtl
|
//
|
this.comboBoxbtl.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBoxbtl.FormattingEnabled = true;
|
this.comboBoxbtl.Items.AddRange(new object[] {
|
"1200",
|
"2400",
|
"9600",
|
"14400",
|
"19200",
|
"38400",
|
"56000",
|
"57600",
|
"115200",
|
"128000",
|
"256000"});
|
this.comboBoxbtl.Location = new System.Drawing.Point(245, 22);
|
this.comboBoxbtl.Name = "comboBoxbtl";
|
this.comboBoxbtl.Size = new System.Drawing.Size(112, 20);
|
this.comboBoxbtl.TabIndex = 0;
|
//
|
// comboBoxCOM
|
//
|
this.comboBoxCOM.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.comboBoxCOM.FormattingEnabled = true;
|
this.comboBoxCOM.Location = new System.Drawing.Point(68, 22);
|
this.comboBoxCOM.Name = "comboBoxCOM";
|
this.comboBoxCOM.Size = new System.Drawing.Size(112, 20);
|
this.comboBoxCOM.TabIndex = 0;
|
//
|
// DebugShunPort12Form
|
//
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.ClientSize = new System.Drawing.Size(684, 573);
|
this.Controls.Add(this.splitContainer1);
|
this.Controls.Add(this.groupBox3);
|
|
this.Name = "DebugShunPort12Form";
|
this.Text = "接口1和2的通讯测试";
|
this.Load += new System.EventHandler(this.TestModBusForm_Load);
|
this.groupBox2.ResumeLayout(false);
|
this.groupBox2.PerformLayout();
|
this.groupBoxSetting.ResumeLayout(false);
|
this.groupBoxSetting.PerformLayout();
|
((System.ComponentModel.ISupportInitialize)(this.check420ma.Properties)).EndInit();
|
this.groupBox1.ResumeLayout(false);
|
this.groupBox1.PerformLayout();
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
this.splitContainer1.ResumeLayout(false);
|
this.groupBox3.ResumeLayout(false);
|
this.groupBox3.PerformLayout();
|
this.ResumeLayout(false);
|
|
}
|
|
#endregion
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
private System.Windows.Forms.TextBox textBoxAddr;
|
private System.Windows.Forms.Label label6;
|
private System.Windows.Forms.Label label10;
|
private System.Windows.Forms.Button btnConnPoll;
|
private System.Windows.Forms.TextBox textInterval;
|
private System.Windows.Forms.Label label11;
|
private System.Windows.Forms.Button btnClosePoll;
|
private System.Windows.Forms.RichTextBox rtfTerminal1;
|
private System.Windows.Forms.CheckBox checkIsAuto;
|
private System.Windows.Forms.GroupBox groupBoxSetting;
|
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Button btnClearText;
|
private System.Windows.Forms.GroupBox groupBox1;
|
private System.Windows.Forms.RadioButton radioButton16;
|
private System.Windows.Forms.RadioButton radioButton10;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.TextBox textBox2max;
|
private System.Windows.Forms.TextBox textBox1max;
|
private System.Windows.Forms.TextBox textBox2min;
|
private System.Windows.Forms.TextBox textBox1min;
|
private DevExpress.XtraEditors.CheckEdit check420ma;
|
private System.Windows.Forms.Button button计算量程;
|
private System.Windows.Forms.Button button计算真实值;
|
private System.Windows.Forms.GroupBox groupBox3;
|
private System.Windows.Forms.Button btnCloseCom;
|
private System.Windows.Forms.Button btnOpenCom;
|
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label9;
|
private System.Windows.Forms.ComboBox comboBoxbtl;
|
private System.Windows.Forms.ComboBox comboBoxCOM;
|
}
|
}
|