using LB_VisionProcesses.Processes;
|
|
namespace LB_VisionProcesses.Processes
|
{
|
partial class ModbusRTUMasterToolEdit
|
{
|
/// <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()
|
{
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ModbusRTUMasterToolEdit));
|
splitContainer1 = new SplitContainer();
|
splitContainer2 = new SplitContainer();
|
tablePanelParas = new TableLayoutPanel();
|
label1 = new Label();
|
cmbPortName = new ComboBox();
|
label26 = new Label();
|
iNumberOfPoints = new TextBox();
|
btnTest = new Button();
|
label29 = new Label();
|
iStartAddress = new TextBox();
|
iSlaveAddress = new TextBox();
|
label25 = new Label();
|
label2 = new Label();
|
cmbModbusType = new ComboBox();
|
label5 = new Label();
|
cmbModbusFunctionCode = new ComboBox();
|
label3 = new Label();
|
iConnectAddress = new TextBox();
|
label4 = new Label();
|
iConnectCount = new TextBox();
|
label6 = new Label();
|
label7 = new Label();
|
label8 = new Label();
|
label9 = new Label();
|
iReadTimeout = new TextBox();
|
iRetries = new TextBox();
|
iWaitToRetryMilliseconds = new TextBox();
|
iWriteTimeout = new TextBox();
|
txtWriteMsg = new TextBox();
|
richLog = new RichTextBox();
|
ToolsStrip = new ToolStrip();
|
btnRunCode = new ToolStripButton();
|
statusStrip1 = new StatusStrip();
|
lblRunTime = new ToolStripStatusLabel();
|
panel1 = new Panel();
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
splitContainer1.Panel1.SuspendLayout();
|
splitContainer1.Panel2.SuspendLayout();
|
splitContainer1.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)splitContainer2).BeginInit();
|
splitContainer2.Panel1.SuspendLayout();
|
splitContainer2.Panel2.SuspendLayout();
|
splitContainer2.SuspendLayout();
|
tablePanelParas.SuspendLayout();
|
ToolsStrip.SuspendLayout();
|
statusStrip1.SuspendLayout();
|
panel1.SuspendLayout();
|
SuspendLayout();
|
//
|
// splitContainer1
|
//
|
splitContainer1.BackColor = Color.FromArgb(32, 41, 50);
|
splitContainer1.Dock = DockStyle.Fill;
|
splitContainer1.Location = new Point(0, 0);
|
splitContainer1.Name = "splitContainer1";
|
//
|
// splitContainer1.Panel1
|
//
|
splitContainer1.Panel1.Controls.Add(splitContainer2);
|
//
|
// splitContainer1.Panel2
|
//
|
splitContainer1.Panel2.Controls.Add(richLog);
|
splitContainer1.Size = new Size(800, 403);
|
splitContainer1.SplitterDistance = 402;
|
splitContainer1.TabIndex = 0;
|
//
|
// splitContainer2
|
//
|
splitContainer2.BackColor = Color.FromArgb(32, 41, 50);
|
splitContainer2.Dock = DockStyle.Fill;
|
splitContainer2.Location = new Point(0, 0);
|
splitContainer2.Name = "splitContainer2";
|
splitContainer2.Orientation = Orientation.Horizontal;
|
//
|
// splitContainer2.Panel1
|
//
|
splitContainer2.Panel1.Controls.Add(tablePanelParas);
|
//
|
// splitContainer2.Panel2
|
//
|
splitContainer2.Panel2.Controls.Add(txtWriteMsg);
|
splitContainer2.Size = new Size(402, 403);
|
splitContainer2.SplitterDistance = 220;
|
splitContainer2.TabIndex = 0;
|
//
|
// tablePanelParas
|
//
|
tablePanelParas.BackColor = Color.FromArgb(32, 41, 50);
|
tablePanelParas.ColumnCount = 4;
|
tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 100F));
|
tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 100F));
|
tablePanelParas.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
tablePanelParas.Controls.Add(label1, 0, 0);
|
tablePanelParas.Controls.Add(cmbPortName, 1, 0);
|
tablePanelParas.Controls.Add(label26, 0, 6);
|
tablePanelParas.Controls.Add(iNumberOfPoints, 1, 6);
|
tablePanelParas.Controls.Add(btnTest, 3, 6);
|
tablePanelParas.Controls.Add(label29, 2, 5);
|
tablePanelParas.Controls.Add(iStartAddress, 3, 5);
|
tablePanelParas.Controls.Add(iSlaveAddress, 1, 5);
|
tablePanelParas.Controls.Add(label25, 0, 5);
|
tablePanelParas.Controls.Add(label2, 0, 4);
|
tablePanelParas.Controls.Add(cmbModbusType, 1, 4);
|
tablePanelParas.Controls.Add(label5, 2, 4);
|
tablePanelParas.Controls.Add(cmbModbusFunctionCode, 3, 4);
|
tablePanelParas.Controls.Add(label3, 0, 3);
|
tablePanelParas.Controls.Add(iConnectAddress, 1, 3);
|
tablePanelParas.Controls.Add(label4, 2, 3);
|
tablePanelParas.Controls.Add(iConnectCount, 3, 3);
|
tablePanelParas.Controls.Add(label6, 0, 1);
|
tablePanelParas.Controls.Add(label7, 0, 2);
|
tablePanelParas.Controls.Add(label8, 2, 1);
|
tablePanelParas.Controls.Add(label9, 2, 2);
|
tablePanelParas.Controls.Add(iReadTimeout, 1, 1);
|
tablePanelParas.Controls.Add(iRetries, 1, 2);
|
tablePanelParas.Controls.Add(iWaitToRetryMilliseconds, 3, 2);
|
tablePanelParas.Controls.Add(iWriteTimeout, 3, 1);
|
tablePanelParas.Dock = DockStyle.Fill;
|
tablePanelParas.ForeColor = Color.White;
|
tablePanelParas.Location = new Point(0, 0);
|
tablePanelParas.Margin = new Padding(2, 3, 2, 3);
|
tablePanelParas.Name = "tablePanelParas";
|
tablePanelParas.RowCount = 7;
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.28531F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2853069F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2853069F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2853069F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2853069F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2853069F));
|
tablePanelParas.RowStyles.Add(new RowStyle(SizeType.Percent, 14.2881641F));
|
tablePanelParas.Size = new Size(402, 220);
|
tablePanelParas.TabIndex = 1;
|
//
|
// label1
|
//
|
label1.AutoSize = true;
|
label1.Location = new Point(2, 0);
|
label1.Margin = new Padding(2, 0, 2, 0);
|
label1.MaximumSize = new Size(0, 28);
|
label1.MinimumSize = new Size(0, 28);
|
label1.Name = "label1";
|
label1.Size = new Size(56, 28);
|
label1.TabIndex = 0;
|
label1.Text = "通讯口名";
|
label1.TextAlign = ContentAlignment.MiddleCenter;
|
//
|
// cmbPortName
|
//
|
cmbPortName.FormattingEnabled = true;
|
cmbPortName.Location = new Point(103, 3);
|
cmbPortName.Name = "cmbPortName";
|
cmbPortName.Size = new Size(95, 25);
|
cmbPortName.TabIndex = 34;
|
//
|
// label26
|
//
|
label26.AutoSize = true;
|
label26.Location = new Point(3, 186);
|
label26.Name = "label26";
|
label26.Size = new Size(92, 17);
|
label26.TabIndex = 22;
|
label26.Text = "读写寄存器个数";
|
//
|
// iNumberOfPoints
|
//
|
iNumberOfPoints.Location = new Point(103, 189);
|
iNumberOfPoints.Name = "iNumberOfPoints";
|
iNumberOfPoints.Size = new Size(95, 23);
|
iNumberOfPoints.TabIndex = 31;
|
iNumberOfPoints.Text = "0";
|
//
|
// btnTest
|
//
|
btnTest.Location = new Point(304, 189);
|
btnTest.Name = "btnTest";
|
btnTest.Size = new Size(95, 27);
|
btnTest.TabIndex = 37;
|
btnTest.Text = "测试";
|
btnTest.UseVisualStyleBackColor = true;
|
//
|
// label29
|
//
|
label29.AutoSize = true;
|
label29.Location = new Point(204, 155);
|
label29.Name = "label29";
|
label29.Size = new Size(68, 17);
|
label29.TabIndex = 25;
|
label29.Text = "寄存器地址";
|
//
|
// iStartAddress
|
//
|
iStartAddress.Location = new Point(304, 158);
|
iStartAddress.Name = "iStartAddress";
|
iStartAddress.Size = new Size(95, 23);
|
iStartAddress.TabIndex = 30;
|
iStartAddress.Text = "0";
|
//
|
// iSlaveAddress
|
//
|
iSlaveAddress.Location = new Point(103, 158);
|
iSlaveAddress.Name = "iSlaveAddress";
|
iSlaveAddress.Size = new Size(95, 23);
|
iSlaveAddress.TabIndex = 29;
|
iSlaveAddress.Text = "0";
|
//
|
// label25
|
//
|
label25.AutoSize = true;
|
label25.Location = new Point(3, 155);
|
label25.Name = "label25";
|
label25.Size = new Size(56, 17);
|
label25.TabIndex = 21;
|
label25.Text = "设备地址";
|
//
|
// label2
|
//
|
label2.AutoSize = true;
|
label2.Location = new Point(3, 124);
|
label2.Name = "label2";
|
label2.Size = new Size(56, 17);
|
label2.TabIndex = 32;
|
label2.Text = "通讯类型";
|
//
|
// cmbModbusType
|
//
|
cmbModbusType.FormattingEnabled = true;
|
cmbModbusType.Location = new Point(103, 127);
|
cmbModbusType.Name = "cmbModbusType";
|
cmbModbusType.Size = new Size(95, 25);
|
cmbModbusType.TabIndex = 35;
|
//
|
// label5
|
//
|
label5.AutoSize = true;
|
label5.Location = new Point(204, 124);
|
label5.Name = "label5";
|
label5.Size = new Size(44, 17);
|
label5.TabIndex = 33;
|
label5.Text = "功能码";
|
//
|
// cmbModbusFunctionCode
|
//
|
cmbModbusFunctionCode.FormattingEnabled = true;
|
cmbModbusFunctionCode.Location = new Point(304, 127);
|
cmbModbusFunctionCode.Name = "cmbModbusFunctionCode";
|
cmbModbusFunctionCode.Size = new Size(95, 25);
|
cmbModbusFunctionCode.TabIndex = 36;
|
//
|
// label3
|
//
|
label3.AutoSize = true;
|
label3.Location = new Point(2, 93);
|
label3.Margin = new Padding(2, 0, 2, 0);
|
label3.MaximumSize = new Size(0, 28);
|
label3.MinimumSize = new Size(0, 28);
|
label3.Name = "label3";
|
label3.Size = new Size(44, 28);
|
label3.TabIndex = 2;
|
label3.Text = "首地址";
|
label3.TextAlign = ContentAlignment.MiddleCenter;
|
//
|
// iConnectAddress
|
//
|
iConnectAddress.Location = new Point(102, 96);
|
iConnectAddress.Margin = new Padding(2, 3, 2, 3);
|
iConnectAddress.Name = "iConnectAddress";
|
iConnectAddress.Size = new Size(97, 23);
|
iConnectAddress.TabIndex = 7;
|
iConnectAddress.Text = "0";
|
//
|
// label4
|
//
|
label4.AutoSize = true;
|
label4.Location = new Point(203, 93);
|
label4.Margin = new Padding(2, 0, 2, 0);
|
label4.MaximumSize = new Size(0, 28);
|
label4.MinimumSize = new Size(0, 28);
|
label4.Name = "label4";
|
label4.Size = new Size(68, 28);
|
label4.TabIndex = 3;
|
label4.Text = "寄存器个数";
|
label4.TextAlign = ContentAlignment.MiddleCenter;
|
//
|
// iConnectCount
|
//
|
iConnectCount.Location = new Point(303, 96);
|
iConnectCount.Margin = new Padding(2, 3, 2, 3);
|
iConnectCount.Name = "iConnectCount";
|
iConnectCount.Size = new Size(97, 23);
|
iConnectCount.TabIndex = 8;
|
iConnectCount.Text = "0";
|
//
|
// label6
|
//
|
label6.AutoSize = true;
|
label6.Location = new Point(3, 31);
|
label6.Name = "label6";
|
label6.Size = new Size(68, 17);
|
label6.TabIndex = 38;
|
label6.Text = "读超时时间";
|
//
|
// label7
|
//
|
label7.AutoSize = true;
|
label7.Location = new Point(3, 62);
|
label7.Name = "label7";
|
label7.Size = new Size(80, 17);
|
label7.TabIndex = 39;
|
label7.Text = "失败重测次数";
|
//
|
// label8
|
//
|
label8.AutoSize = true;
|
label8.Location = new Point(204, 31);
|
label8.Name = "label8";
|
label8.Size = new Size(68, 17);
|
label8.TabIndex = 40;
|
label8.Text = "写超时时间";
|
//
|
// label9
|
//
|
label9.AutoSize = true;
|
label9.Location = new Point(204, 62);
|
label9.Name = "label9";
|
label9.Size = new Size(80, 17);
|
label9.TabIndex = 41;
|
label9.Text = "失败重测延时";
|
//
|
// iReadTimeout
|
//
|
iReadTimeout.Location = new Point(103, 34);
|
iReadTimeout.Name = "iReadTimeout";
|
iReadTimeout.Size = new Size(95, 23);
|
iReadTimeout.TabIndex = 42;
|
iReadTimeout.Text = "500";
|
//
|
// iRetries
|
//
|
iRetries.Location = new Point(103, 65);
|
iRetries.Name = "iRetries";
|
iRetries.Size = new Size(95, 23);
|
iRetries.TabIndex = 43;
|
iRetries.Text = "2";
|
//
|
// iWaitToRetryMilliseconds
|
//
|
iWaitToRetryMilliseconds.Location = new Point(304, 65);
|
iWaitToRetryMilliseconds.Name = "iWaitToRetryMilliseconds";
|
iWaitToRetryMilliseconds.Size = new Size(95, 23);
|
iWaitToRetryMilliseconds.TabIndex = 44;
|
iWaitToRetryMilliseconds.Text = "15";
|
//
|
// iWriteTimeout
|
//
|
iWriteTimeout.Location = new Point(304, 34);
|
iWriteTimeout.Name = "iWriteTimeout";
|
iWriteTimeout.Size = new Size(95, 23);
|
iWriteTimeout.TabIndex = 45;
|
iWriteTimeout.Text = "500";
|
//
|
// txtWriteMsg
|
//
|
txtWriteMsg.BackColor = Color.FromArgb(32, 41, 50);
|
txtWriteMsg.Dock = DockStyle.Fill;
|
txtWriteMsg.ForeColor = Color.White;
|
txtWriteMsg.Location = new Point(0, 0);
|
txtWriteMsg.Multiline = true;
|
txtWriteMsg.Name = "txtWriteMsg";
|
txtWriteMsg.Size = new Size(402, 179);
|
txtWriteMsg.TabIndex = 0;
|
//
|
// richLog
|
//
|
richLog.BackColor = Color.FromArgb(32, 41, 50);
|
richLog.Dock = DockStyle.Fill;
|
richLog.ForeColor = Color.White;
|
richLog.Location = new Point(0, 0);
|
richLog.Name = "richLog";
|
richLog.ReadOnly = true;
|
richLog.Size = new Size(394, 403);
|
richLog.TabIndex = 0;
|
richLog.Text = "";
|
//
|
// ToolsStrip
|
//
|
ToolsStrip.BackColor = Color.FromArgb(32, 41, 50);
|
ToolsStrip.Items.AddRange(new ToolStripItem[] { btnRunCode });
|
ToolsStrip.Location = new Point(0, 0);
|
ToolsStrip.Name = "ToolsStrip";
|
ToolsStrip.Size = new Size(800, 25);
|
ToolsStrip.TabIndex = 1;
|
ToolsStrip.Text = "toolStrip1";
|
//
|
// btnRunCode
|
//
|
btnRunCode.DisplayStyle = ToolStripItemDisplayStyle.Text;
|
btnRunCode.ForeColor = Color.White;
|
btnRunCode.Image = (Image)resources.GetObject("btnRunCode.Image");
|
btnRunCode.ImageTransparentColor = Color.Magenta;
|
btnRunCode.Name = "btnRunCode";
|
btnRunCode.Size = new Size(36, 22);
|
btnRunCode.Text = "运行";
|
btnRunCode.Click += btnRunCode_Click;
|
//
|
// statusStrip1
|
//
|
statusStrip1.BackColor = Color.FromArgb(32, 41, 50);
|
statusStrip1.Items.AddRange(new ToolStripItem[] { lblRunTime });
|
statusStrip1.Location = new Point(0, 428);
|
statusStrip1.Name = "statusStrip1";
|
statusStrip1.Size = new Size(800, 22);
|
statusStrip1.TabIndex = 2;
|
statusStrip1.Text = "statusStrip1";
|
//
|
// lblRunTime
|
//
|
lblRunTime.ForeColor = Color.White;
|
lblRunTime.Name = "lblRunTime";
|
lblRunTime.Size = new Size(32, 17);
|
lblRunTime.Text = "0ms";
|
//
|
// panel1
|
//
|
panel1.Controls.Add(splitContainer1);
|
panel1.Dock = DockStyle.Fill;
|
panel1.Location = new Point(0, 25);
|
panel1.Name = "panel1";
|
panel1.Size = new Size(800, 403);
|
panel1.TabIndex = 3;
|
//
|
// ModbusRTUMasterToolEdit
|
//
|
Controls.Add(panel1);
|
Controls.Add(statusStrip1);
|
Controls.Add(ToolsStrip);
|
Name = "ModbusRTUMasterToolEdit";
|
Size = new Size(800, 450);
|
Load += ModbusRTUMasterToolEdit_Load;
|
splitContainer1.Panel1.ResumeLayout(false);
|
splitContainer1.Panel2.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
splitContainer1.ResumeLayout(false);
|
splitContainer2.Panel1.ResumeLayout(false);
|
splitContainer2.Panel2.ResumeLayout(false);
|
splitContainer2.Panel2.PerformLayout();
|
((System.ComponentModel.ISupportInitialize)splitContainer2).EndInit();
|
splitContainer2.ResumeLayout(false);
|
tablePanelParas.ResumeLayout(false);
|
tablePanelParas.PerformLayout();
|
ToolsStrip.ResumeLayout(false);
|
ToolsStrip.PerformLayout();
|
statusStrip1.ResumeLayout(false);
|
statusStrip1.PerformLayout();
|
panel1.ResumeLayout(false);
|
ResumeLayout(false);
|
PerformLayout();
|
}
|
|
#endregion
|
|
private SplitContainer splitContainer1;
|
private ToolStrip ToolsStrip;
|
private ToolStripButton btnRunCode;
|
private StatusStrip statusStrip1;
|
private ToolStripStatusLabel lblRunTime;
|
private Panel panel1;
|
private TableLayoutPanel tableLayoutPanel2;
|
private TableLayoutPanel tableLayoutPanel3;
|
private TableLayoutPanel tablePanelParas;
|
private TextBox iNumberOfPoints;
|
private TextBox iStartAddress;
|
private Label label1;
|
private Label label3;
|
private TextBox iConnectAddress;
|
private Label label4;
|
private TextBox iConnectCount;
|
private Label label25;
|
private Label label26;
|
private Label label29;
|
private TextBox iSlaveAddress;
|
private SplitContainer splitContainer2;
|
private Label label2;
|
private Label label5;
|
private ComboBox cmbPortName;
|
private ComboBox cmbModbusType;
|
private ComboBox cmbModbusFunctionCode;
|
private Button btnTest;
|
private TextBox txtWriteMsg;
|
private RichTextBox richLog;
|
private Label label6;
|
private Label label7;
|
private Label label8;
|
private Label label9;
|
private TextBox iReadTimeout;
|
private TextBox iRetries;
|
private TextBox iWaitToRetryMilliseconds;
|
private TextBox iWriteTimeout;
|
}
|
}
|