849 lines
40 KiB
C#
849 lines
40 KiB
C#
|
||
using System.Windows.Forms;
|
||
|
||
namespace PLCCommunication
|
||
{
|
||
partial class OmronPLCUI
|
||
{
|
||
/// <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();
|
||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OmronPLCUI));
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.txtReadTestLength = new System.Windows.Forms.TextBox();
|
||
this.txtWriteValue = new System.Windows.Forms.TextBox();
|
||
this.cbTest = new System.Windows.Forms.CheckBox();
|
||
this.label9 = new System.Windows.Forms.Label();
|
||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||
this.lstResWrite = new System.Windows.Forms.ListView();
|
||
this.columnHeader5 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.columnHeader6 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||
this.lstSend = new System.Windows.Forms.ListView();
|
||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||
this.btnClearRecv = new System.Windows.Forms.Button();
|
||
this.cbDispCurrent = new System.Windows.Forms.CheckBox();
|
||
this.lstTrgCmd = new System.Windows.Forms.ListView();
|
||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.lstRecv = new System.Windows.Forms.ListView();
|
||
this.InfoTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.InfoContent = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.txtReadResultTest = new System.Windows.Forms.TextBox();
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
this.txtSolt = new System.Windows.Forms.TextBox();
|
||
this.label4 = new System.Windows.Forms.Label();
|
||
this.btnStart = new System.Windows.Forms.Button();
|
||
this.btnSaveConfig = new System.Windows.Forms.Button();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.txtPort = new System.Windows.Forms.TextBox();
|
||
this.label26 = new System.Windows.Forms.Label();
|
||
this.txtIP = new System.Windows.Forms.TextBox();
|
||
this.label27 = new System.Windows.Forms.Label();
|
||
this.BtnDisConnect = new System.Windows.Forms.Button();
|
||
this.BtnConnect = new System.Windows.Forms.Button();
|
||
this.PanelTest = new System.Windows.Forms.Panel();
|
||
this.lblTip = new System.Windows.Forms.Label();
|
||
this.BtnWriteTest = new System.Windows.Forms.Button();
|
||
this.label7 = new System.Windows.Forms.Label();
|
||
this.cboReadType = new System.Windows.Forms.ComboBox();
|
||
this.txtReadAddrTest = new System.Windows.Forms.TextBox();
|
||
this.label6 = new System.Windows.Forms.Label();
|
||
this.BtnReadTest = new System.Windows.Forms.Button();
|
||
this.gb_RWTest = new System.Windows.Forms.GroupBox();
|
||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||
this.label3 = new System.Windows.Forms.Label();
|
||
this.txtHeartAddr = new System.Windows.Forms.TextBox();
|
||
this.cbHeartBeat = new System.Windows.Forms.CheckBox();
|
||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||
this.tabConTrgUI = new System.Windows.Forms.TabControl();
|
||
this.skinTabPage1 = new System.Windows.Forms.TabPage();
|
||
this.skinTabPage2 = new System.Windows.Forms.TabPage();
|
||
this.lblConnectStatus = new System.Windows.Forms.PictureBox();
|
||
this.groupBox3.SuspendLayout();
|
||
this.groupBox2.SuspendLayout();
|
||
this.panel1.SuspendLayout();
|
||
this.PanelTest.SuspendLayout();
|
||
this.gb_RWTest.SuspendLayout();
|
||
this.groupBox4.SuspendLayout();
|
||
this.groupBox1.SuspendLayout();
|
||
this.tabConTrgUI.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.lblConnectStatus)).BeginInit();
|
||
this.SuspendLayout();
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Font = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label2.Location = new System.Drawing.Point(8, 198);
|
||
this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(89, 20);
|
||
this.label2.TabIndex = 24;
|
||
this.label2.Text = "写入值:";
|
||
//
|
||
// txtReadTestLength
|
||
//
|
||
this.txtReadTestLength.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.txtReadTestLength.Location = new System.Drawing.Point(505, 124);
|
||
this.txtReadTestLength.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtReadTestLength.Name = "txtReadTestLength";
|
||
this.txtReadTestLength.Size = new System.Drawing.Size(153, 32);
|
||
this.txtReadTestLength.TabIndex = 22;
|
||
this.txtReadTestLength.Text = "1";
|
||
//
|
||
// txtWriteValue
|
||
//
|
||
this.txtWriteValue.Font = new System.Drawing.Font("宋体", 12F);
|
||
this.txtWriteValue.Location = new System.Drawing.Point(111, 194);
|
||
this.txtWriteValue.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtWriteValue.Name = "txtWriteValue";
|
||
this.txtWriteValue.Size = new System.Drawing.Size(357, 30);
|
||
this.txtWriteValue.TabIndex = 23;
|
||
this.txtWriteValue.Text = "1";
|
||
//
|
||
// cbTest
|
||
//
|
||
this.cbTest.AutoSize = true;
|
||
this.cbTest.Location = new System.Drawing.Point(156, 0);
|
||
this.cbTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.cbTest.Name = "cbTest";
|
||
this.cbTest.Size = new System.Drawing.Size(66, 21);
|
||
this.cbTest.TabIndex = 13;
|
||
this.cbTest.Text = "测试";
|
||
this.cbTest.UseVisualStyleBackColor = true;
|
||
this.cbTest.CheckedChanged += new System.EventHandler(this.cbTest_CheckedChanged);
|
||
//
|
||
// label9
|
||
//
|
||
this.label9.AutoSize = true;
|
||
this.label9.Location = new System.Drawing.Point(501, 88);
|
||
this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label9.Name = "label9";
|
||
this.label9.Size = new System.Drawing.Size(120, 22);
|
||
this.label9.TabIndex = 25;
|
||
this.label9.Text = "读取长度:";
|
||
//
|
||
// groupBox3
|
||
//
|
||
this.groupBox3.Controls.Add(this.lstResWrite);
|
||
this.groupBox3.Controls.Add(this.lstSend);
|
||
this.groupBox3.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.groupBox3.Location = new System.Drawing.Point(727, 372);
|
||
this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox3.Name = "groupBox3";
|
||
this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox3.Size = new System.Drawing.Size(1085, 474);
|
||
this.groupBox3.TabIndex = 18;
|
||
this.groupBox3.TabStop = false;
|
||
this.groupBox3.Text = "发送显示";
|
||
//
|
||
// lstResWrite
|
||
//
|
||
this.lstResWrite.BackColor = System.Drawing.SystemColors.Control;
|
||
this.lstResWrite.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||
this.columnHeader5,
|
||
this.columnHeader6});
|
||
this.lstResWrite.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.lstResWrite.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||
this.lstResWrite.HideSelection = false;
|
||
this.lstResWrite.Location = new System.Drawing.Point(516, 16);
|
||
this.lstResWrite.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.lstResWrite.Name = "lstResWrite";
|
||
this.lstResWrite.Size = new System.Drawing.Size(551, 449);
|
||
this.lstResWrite.SmallImageList = this.imageList1;
|
||
this.lstResWrite.TabIndex = 23;
|
||
this.lstResWrite.UseCompatibleStateImageBehavior = false;
|
||
this.lstResWrite.View = System.Windows.Forms.View.Details;
|
||
//
|
||
// columnHeader5
|
||
//
|
||
this.columnHeader5.Width = 220;
|
||
//
|
||
// columnHeader6
|
||
//
|
||
this.columnHeader6.Width = 600;
|
||
//
|
||
// imageList1
|
||
//
|
||
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
||
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
|
||
this.imageList1.Images.SetKeyName(0, "info.png");
|
||
this.imageList1.Images.SetKeyName(1, "error.png");
|
||
//
|
||
// lstSend
|
||
//
|
||
this.lstSend.BackColor = System.Drawing.SystemColors.Control;
|
||
this.lstSend.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||
this.columnHeader1,
|
||
this.columnHeader2});
|
||
this.lstSend.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.lstSend.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||
this.lstSend.HideSelection = false;
|
||
this.lstSend.Location = new System.Drawing.Point(3, 16);
|
||
this.lstSend.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.lstSend.Name = "lstSend";
|
||
this.lstSend.Size = new System.Drawing.Size(504, 449);
|
||
this.lstSend.SmallImageList = this.imageList1;
|
||
this.lstSend.TabIndex = 22;
|
||
this.lstSend.UseCompatibleStateImageBehavior = false;
|
||
this.lstSend.View = System.Windows.Forms.View.Details;
|
||
//
|
||
// columnHeader1
|
||
//
|
||
this.columnHeader1.Width = 220;
|
||
//
|
||
// columnHeader2
|
||
//
|
||
this.columnHeader2.Width = 400;
|
||
//
|
||
// groupBox2
|
||
//
|
||
this.groupBox2.Controls.Add(this.btnClearRecv);
|
||
this.groupBox2.Controls.Add(this.cbDispCurrent);
|
||
this.groupBox2.Controls.Add(this.lstTrgCmd);
|
||
this.groupBox2.Controls.Add(this.lstRecv);
|
||
this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.groupBox2.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.groupBox2.Location = new System.Drawing.Point(727, 71);
|
||
this.groupBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox2.Name = "groupBox2";
|
||
this.groupBox2.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox2.Size = new System.Drawing.Size(1085, 294);
|
||
this.groupBox2.TabIndex = 17;
|
||
this.groupBox2.TabStop = false;
|
||
this.groupBox2.Text = "接收显示";
|
||
//
|
||
// btnClearRecv
|
||
//
|
||
this.btnClearRecv.BackColor = System.Drawing.SystemColors.ControlDark;
|
||
this.btnClearRecv.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||
this.btnClearRecv.Font = new System.Drawing.Font("黑体", 9F);
|
||
this.btnClearRecv.Location = new System.Drawing.Point(257, -4);
|
||
this.btnClearRecv.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.btnClearRecv.Name = "btnClearRecv";
|
||
this.btnClearRecv.Size = new System.Drawing.Size(104, 28);
|
||
this.btnClearRecv.TabIndex = 22;
|
||
this.btnClearRecv.Text = "清空接收";
|
||
this.btnClearRecv.UseVisualStyleBackColor = false;
|
||
this.btnClearRecv.Click += new System.EventHandler(this.btnClearRecv_Click);
|
||
//
|
||
// cbDispCurrent
|
||
//
|
||
this.cbDispCurrent.AutoSize = true;
|
||
this.cbDispCurrent.Location = new System.Drawing.Point(115, 0);
|
||
this.cbDispCurrent.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.cbDispCurrent.Name = "cbDispCurrent";
|
||
this.cbDispCurrent.Size = new System.Drawing.Size(102, 21);
|
||
this.cbDispCurrent.TabIndex = 23;
|
||
this.cbDispCurrent.Text = "显示实时";
|
||
this.cbDispCurrent.UseVisualStyleBackColor = true;
|
||
this.cbDispCurrent.CheckedChanged += new System.EventHandler(this.cbDispCurrent_CheckedChanged);
|
||
//
|
||
// lstTrgCmd
|
||
//
|
||
this.lstTrgCmd.BackColor = System.Drawing.SystemColors.Control;
|
||
this.lstTrgCmd.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||
this.columnHeader3,
|
||
this.columnHeader4});
|
||
this.lstTrgCmd.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.lstTrgCmd.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||
this.lstTrgCmd.HideSelection = false;
|
||
this.lstTrgCmd.Location = new System.Drawing.Point(515, 28);
|
||
this.lstTrgCmd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.lstTrgCmd.Name = "lstTrgCmd";
|
||
this.lstTrgCmd.Size = new System.Drawing.Size(561, 258);
|
||
this.lstTrgCmd.SmallImageList = this.imageList1;
|
||
this.lstTrgCmd.TabIndex = 22;
|
||
this.lstTrgCmd.UseCompatibleStateImageBehavior = false;
|
||
this.lstTrgCmd.View = System.Windows.Forms.View.Details;
|
||
//
|
||
// columnHeader3
|
||
//
|
||
this.columnHeader3.Width = 220;
|
||
//
|
||
// columnHeader4
|
||
//
|
||
this.columnHeader4.Width = 600;
|
||
//
|
||
// lstRecv
|
||
//
|
||
this.lstRecv.BackColor = System.Drawing.SystemColors.Control;
|
||
this.lstRecv.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||
this.InfoTime,
|
||
this.InfoContent});
|
||
this.lstRecv.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.lstRecv.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None;
|
||
this.lstRecv.HideSelection = false;
|
||
this.lstRecv.Location = new System.Drawing.Point(8, 28);
|
||
this.lstRecv.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.lstRecv.Name = "lstRecv";
|
||
this.lstRecv.Size = new System.Drawing.Size(499, 258);
|
||
this.lstRecv.SmallImageList = this.imageList1;
|
||
this.lstRecv.TabIndex = 21;
|
||
this.lstRecv.UseCompatibleStateImageBehavior = false;
|
||
this.lstRecv.View = System.Windows.Forms.View.Details;
|
||
//
|
||
// InfoTime
|
||
//
|
||
this.InfoTime.Width = 220;
|
||
//
|
||
// InfoContent
|
||
//
|
||
this.InfoContent.Width = 400;
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(1004, 0);
|
||
this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(139, 44);
|
||
this.button1.TabIndex = 34;
|
||
this.button1.Text = "启动";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Visible = false;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// txtReadResultTest
|
||
//
|
||
this.txtReadResultTest.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txtReadResultTest.Location = new System.Drawing.Point(111, 54);
|
||
this.txtReadResultTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtReadResultTest.Multiline = true;
|
||
this.txtReadResultTest.Name = "txtReadResultTest";
|
||
this.txtReadResultTest.Size = new System.Drawing.Size(365, 105);
|
||
this.txtReadResultTest.TabIndex = 19;
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||
this.panel1.Controls.Add(this.lblConnectStatus);
|
||
this.panel1.Controls.Add(this.button1);
|
||
this.panel1.Controls.Add(this.txtSolt);
|
||
this.panel1.Controls.Add(this.label4);
|
||
this.panel1.Controls.Add(this.btnStart);
|
||
this.panel1.Controls.Add(this.btnSaveConfig);
|
||
this.panel1.Controls.Add(this.label1);
|
||
this.panel1.Controls.Add(this.txtPort);
|
||
this.panel1.Controls.Add(this.label26);
|
||
this.panel1.Controls.Add(this.txtIP);
|
||
this.panel1.Controls.Add(this.label27);
|
||
this.panel1.Controls.Add(this.BtnDisConnect);
|
||
this.panel1.Controls.Add(this.BtnConnect);
|
||
this.panel1.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.panel1.Location = new System.Drawing.Point(16, 5);
|
||
this.panel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(1795, 56);
|
||
this.panel1.TabIndex = 15;
|
||
//
|
||
// txtSolt
|
||
//
|
||
this.txtSolt.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txtSolt.Location = new System.Drawing.Point(508, 15);
|
||
this.txtSolt.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtSolt.Name = "txtSolt";
|
||
this.txtSolt.Size = new System.Drawing.Size(71, 32);
|
||
this.txtSolt.TabIndex = 26;
|
||
this.txtSolt.Text = "0";
|
||
//
|
||
// label4
|
||
//
|
||
this.label4.AutoSize = true;
|
||
this.label4.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label4.Location = new System.Drawing.Point(417, 20);
|
||
this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label4.Name = "label4";
|
||
this.label4.Size = new System.Drawing.Size(76, 22);
|
||
this.label4.TabIndex = 25;
|
||
this.label4.Text = "Solt:";
|
||
this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
//
|
||
// btnStart
|
||
//
|
||
this.btnStart.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.btnStart.Location = new System.Drawing.Point(787, 5);
|
||
this.btnStart.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.btnStart.Name = "btnStart";
|
||
this.btnStart.Size = new System.Drawing.Size(127, 44);
|
||
this.btnStart.TabIndex = 24;
|
||
this.btnStart.Text = "启动";
|
||
this.btnStart.UseVisualStyleBackColor = true;
|
||
this.btnStart.Click += new System.EventHandler(this.btnStart_Click);
|
||
//
|
||
// btnSaveConfig
|
||
//
|
||
this.btnSaveConfig.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.btnSaveConfig.Location = new System.Drawing.Point(617, 5);
|
||
this.btnSaveConfig.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.btnSaveConfig.Name = "btnSaveConfig";
|
||
this.btnSaveConfig.Size = new System.Drawing.Size(127, 44);
|
||
this.btnSaveConfig.TabIndex = 23;
|
||
this.btnSaveConfig.Text = "保存配置";
|
||
this.btnSaveConfig.UseVisualStyleBackColor = true;
|
||
this.btnSaveConfig.Click += new System.EventHandler(this.btnSaveConfig_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.label1.Location = new System.Drawing.Point(1169, 15);
|
||
this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(98, 17);
|
||
this.label1.TabIndex = 20;
|
||
this.label1.Text = "连接状态:";
|
||
//
|
||
// txtPort
|
||
//
|
||
this.txtPort.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txtPort.Location = new System.Drawing.Point(319, 15);
|
||
this.txtPort.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtPort.Name = "txtPort";
|
||
this.txtPort.Size = new System.Drawing.Size(71, 32);
|
||
this.txtPort.TabIndex = 19;
|
||
this.txtPort.Text = "44818";
|
||
//
|
||
// label26
|
||
//
|
||
this.label26.AutoSize = true;
|
||
this.label26.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label26.Location = new System.Drawing.Point(252, 22);
|
||
this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label26.Name = "label26";
|
||
this.label26.Size = new System.Drawing.Size(76, 22);
|
||
this.label26.TabIndex = 18;
|
||
this.label26.Text = "端口:";
|
||
//
|
||
// txtIP
|
||
//
|
||
this.txtIP.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.txtIP.Location = new System.Drawing.Point(84, 15);
|
||
this.txtIP.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtIP.Name = "txtIP";
|
||
this.txtIP.Size = new System.Drawing.Size(159, 32);
|
||
this.txtIP.TabIndex = 17;
|
||
this.txtIP.Text = "192.168.1.50";
|
||
//
|
||
// label27
|
||
//
|
||
this.label27.AutoSize = true;
|
||
this.label27.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label27.Location = new System.Drawing.Point(0, 20);
|
||
this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label27.Name = "label27";
|
||
this.label27.Size = new System.Drawing.Size(98, 22);
|
||
this.label27.TabIndex = 16;
|
||
this.label27.Text = "IP地址:";
|
||
this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||
//
|
||
// BtnDisConnect
|
||
//
|
||
this.BtnDisConnect.Enabled = false;
|
||
this.BtnDisConnect.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.BtnDisConnect.Location = new System.Drawing.Point(1611, 4);
|
||
this.BtnDisConnect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.BtnDisConnect.Name = "BtnDisConnect";
|
||
this.BtnDisConnect.Size = new System.Drawing.Size(127, 44);
|
||
this.BtnDisConnect.TabIndex = 5;
|
||
this.BtnDisConnect.Text = "断开连接";
|
||
this.BtnDisConnect.UseVisualStyleBackColor = true;
|
||
this.BtnDisConnect.Click += new System.EventHandler(this.BtnDisConnect_Click);
|
||
//
|
||
// BtnConnect
|
||
//
|
||
this.BtnConnect.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.BtnConnect.Location = new System.Drawing.Point(1459, 4);
|
||
this.BtnConnect.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.BtnConnect.Name = "BtnConnect";
|
||
this.BtnConnect.Size = new System.Drawing.Size(127, 44);
|
||
this.BtnConnect.TabIndex = 4;
|
||
this.BtnConnect.Text = "开始连接";
|
||
this.BtnConnect.UseVisualStyleBackColor = true;
|
||
this.BtnConnect.Click += new System.EventHandler(this.BtnConnect_Click);
|
||
//
|
||
// PanelTest
|
||
//
|
||
this.PanelTest.Controls.Add(this.txtWriteValue);
|
||
this.PanelTest.Controls.Add(this.lblTip);
|
||
this.PanelTest.Controls.Add(this.label9);
|
||
this.PanelTest.Controls.Add(this.label2);
|
||
this.PanelTest.Controls.Add(this.txtReadTestLength);
|
||
this.PanelTest.Controls.Add(this.txtReadResultTest);
|
||
this.PanelTest.Controls.Add(this.BtnWriteTest);
|
||
this.PanelTest.Controls.Add(this.label7);
|
||
this.PanelTest.Controls.Add(this.cboReadType);
|
||
this.PanelTest.Controls.Add(this.txtReadAddrTest);
|
||
this.PanelTest.Controls.Add(this.label6);
|
||
this.PanelTest.Controls.Add(this.BtnReadTest);
|
||
this.PanelTest.Font = new System.Drawing.Font("黑体", 12.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.PanelTest.Location = new System.Drawing.Point(8, 36);
|
||
this.PanelTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.PanelTest.Name = "PanelTest";
|
||
this.PanelTest.Size = new System.Drawing.Size(681, 246);
|
||
this.PanelTest.TabIndex = 1;
|
||
//
|
||
// lblTip
|
||
//
|
||
this.lblTip.AutoSize = true;
|
||
this.lblTip.Location = new System.Drawing.Point(108, 169);
|
||
this.lblTip.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.lblTip.Name = "lblTip";
|
||
this.lblTip.Size = new System.Drawing.Size(252, 22);
|
||
this.lblTip.TabIndex = 26;
|
||
this.lblTip.Text = "(多个写入时用\',\'隔开)";
|
||
//
|
||
// BtnWriteTest
|
||
//
|
||
this.BtnWriteTest.Location = new System.Drawing.Point(500, 194);
|
||
this.BtnWriteTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.BtnWriteTest.Name = "BtnWriteTest";
|
||
this.BtnWriteTest.Size = new System.Drawing.Size(160, 38);
|
||
this.BtnWriteTest.TabIndex = 21;
|
||
this.BtnWriteTest.Text = "写入";
|
||
this.BtnWriteTest.UseVisualStyleBackColor = true;
|
||
this.BtnWriteTest.Click += new System.EventHandler(this.BtnWriteTest_Click);
|
||
//
|
||
// label7
|
||
//
|
||
this.label7.AutoSize = true;
|
||
this.label7.Font = new System.Drawing.Font("黑体", 12F);
|
||
this.label7.Location = new System.Drawing.Point(23, 64);
|
||
this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label7.Name = "label7";
|
||
this.label7.Size = new System.Drawing.Size(69, 20);
|
||
this.label7.TabIndex = 18;
|
||
this.label7.Text = "结果:";
|
||
//
|
||
// cboReadType
|
||
//
|
||
this.cboReadType.FormattingEnabled = true;
|
||
this.cboReadType.Location = new System.Drawing.Point(316, 14);
|
||
this.cboReadType.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.cboReadType.Name = "cboReadType";
|
||
this.cboReadType.Size = new System.Drawing.Size(160, 29);
|
||
this.cboReadType.TabIndex = 17;
|
||
//
|
||
// txtReadAddrTest
|
||
//
|
||
this.txtReadAddrTest.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.txtReadAddrTest.Location = new System.Drawing.Point(112, 14);
|
||
this.txtReadAddrTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtReadAddrTest.Name = "txtReadAddrTest";
|
||
this.txtReadAddrTest.Size = new System.Drawing.Size(175, 32);
|
||
this.txtReadAddrTest.TabIndex = 16;
|
||
this.txtReadAddrTest.Text = "W1000";
|
||
//
|
||
// label6
|
||
//
|
||
this.label6.AutoSize = true;
|
||
this.label6.Font = new System.Drawing.Font("黑体", 12F);
|
||
this.label6.Location = new System.Drawing.Point(23, 16);
|
||
this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label6.Name = "label6";
|
||
this.label6.Size = new System.Drawing.Size(69, 20);
|
||
this.label6.TabIndex = 15;
|
||
this.label6.Text = "地址:";
|
||
//
|
||
// BtnReadTest
|
||
//
|
||
this.BtnReadTest.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.BtnReadTest.Location = new System.Drawing.Point(505, 8);
|
||
this.BtnReadTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.BtnReadTest.Name = "BtnReadTest";
|
||
this.BtnReadTest.Size = new System.Drawing.Size(159, 39);
|
||
this.BtnReadTest.TabIndex = 20;
|
||
this.BtnReadTest.Text = "读取";
|
||
this.BtnReadTest.UseVisualStyleBackColor = true;
|
||
this.BtnReadTest.Click += new System.EventHandler(this.BtnReadTest_Click);
|
||
//
|
||
// gb_RWTest
|
||
//
|
||
this.gb_RWTest.Controls.Add(this.PanelTest);
|
||
this.gb_RWTest.Controls.Add(this.cbTest);
|
||
this.gb_RWTest.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.gb_RWTest.Location = new System.Drawing.Point(16, 70);
|
||
this.gb_RWTest.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.gb_RWTest.Name = "gb_RWTest";
|
||
this.gb_RWTest.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.gb_RWTest.Size = new System.Drawing.Size(703, 295);
|
||
this.gb_RWTest.TabIndex = 16;
|
||
this.gb_RWTest.TabStop = false;
|
||
this.gb_RWTest.Text = "读写测试";
|
||
//
|
||
// groupBox4
|
||
//
|
||
this.groupBox4.Controls.Add(this.label3);
|
||
this.groupBox4.Controls.Add(this.txtHeartAddr);
|
||
this.groupBox4.Controls.Add(this.cbHeartBeat);
|
||
this.groupBox4.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.groupBox4.Location = new System.Drawing.Point(16, 781);
|
||
this.groupBox4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox4.Name = "groupBox4";
|
||
this.groupBox4.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox4.Size = new System.Drawing.Size(703, 65);
|
||
this.groupBox4.TabIndex = 20;
|
||
this.groupBox4.TabStop = false;
|
||
this.groupBox4.Text = "心跳包设置";
|
||
//
|
||
// label3
|
||
//
|
||
this.label3.AutoSize = true;
|
||
this.label3.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.label3.Location = new System.Drawing.Point(44, 31);
|
||
this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||
this.label3.Name = "label3";
|
||
this.label3.Size = new System.Drawing.Size(116, 17);
|
||
this.label3.TabIndex = 25;
|
||
this.label3.Text = "心跳包地址:";
|
||
//
|
||
// txtHeartAddr
|
||
//
|
||
this.txtHeartAddr.Font = new System.Drawing.Font("黑体", 12.75F);
|
||
this.txtHeartAddr.Location = new System.Drawing.Point(173, 24);
|
||
this.txtHeartAddr.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.txtHeartAddr.Name = "txtHeartAddr";
|
||
this.txtHeartAddr.Size = new System.Drawing.Size(149, 32);
|
||
this.txtHeartAddr.TabIndex = 24;
|
||
this.txtHeartAddr.Text = "W100";
|
||
this.txtHeartAddr.TextChanged += new System.EventHandler(this.txtHeartAddr_TextChanged);
|
||
//
|
||
// cbHeartBeat
|
||
//
|
||
this.cbHeartBeat.AutoSize = true;
|
||
this.cbHeartBeat.Location = new System.Drawing.Point(347, 29);
|
||
this.cbHeartBeat.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.cbHeartBeat.Name = "cbHeartBeat";
|
||
this.cbHeartBeat.Size = new System.Drawing.Size(66, 21);
|
||
this.cbHeartBeat.TabIndex = 0;
|
||
this.cbHeartBeat.Text = "启用";
|
||
this.cbHeartBeat.UseVisualStyleBackColor = true;
|
||
this.cbHeartBeat.CheckedChanged += new System.EventHandler(this.cbHeartBeat_CheckedChanged);
|
||
//
|
||
// groupBox1
|
||
//
|
||
this.groupBox1.Controls.Add(this.tabConTrgUI);
|
||
this.groupBox1.Font = new System.Drawing.Font("黑体", 10F);
|
||
this.groupBox1.Location = new System.Drawing.Point(16, 372);
|
||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox1.Name = "groupBox1";
|
||
this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.groupBox1.Size = new System.Drawing.Size(703, 399);
|
||
this.groupBox1.TabIndex = 21;
|
||
this.groupBox1.TabStop = false;
|
||
this.groupBox1.Text = "参数设置";
|
||
//
|
||
// tabConTrgUI
|
||
//
|
||
this.tabConTrgUI.Controls.Add(this.skinTabPage1);
|
||
this.tabConTrgUI.Controls.Add(this.skinTabPage2);
|
||
this.tabConTrgUI.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.tabConTrgUI.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.tabConTrgUI.ItemSize = new System.Drawing.Size(85, 28);
|
||
this.tabConTrgUI.Location = new System.Drawing.Point(4, 24);
|
||
this.tabConTrgUI.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.tabConTrgUI.Name = "tabConTrgUI";
|
||
this.tabConTrgUI.SelectedIndex = 0;
|
||
this.tabConTrgUI.Size = new System.Drawing.Size(695, 371);
|
||
this.tabConTrgUI.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||
this.tabConTrgUI.TabIndex = 0;
|
||
//
|
||
// skinTabPage1
|
||
//
|
||
this.skinTabPage1.BackColor = System.Drawing.Color.White;
|
||
this.skinTabPage1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.skinTabPage1.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.skinTabPage1.Location = new System.Drawing.Point(4, 32);
|
||
this.skinTabPage1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.skinTabPage1.Name = "skinTabPage1";
|
||
this.skinTabPage1.Size = new System.Drawing.Size(687, 335);
|
||
this.skinTabPage1.TabIndex = 0;
|
||
this.skinTabPage1.Text = "skinTabPage1";
|
||
//
|
||
// skinTabPage2
|
||
//
|
||
this.skinTabPage2.BackColor = System.Drawing.Color.White;
|
||
this.skinTabPage2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.skinTabPage2.Font = new System.Drawing.Font("宋体", 9F);
|
||
this.skinTabPage2.Location = new System.Drawing.Point(4, 32);
|
||
this.skinTabPage2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.skinTabPage2.Name = "skinTabPage2";
|
||
this.skinTabPage2.Size = new System.Drawing.Size(687, 335);
|
||
this.skinTabPage2.TabIndex = 1;
|
||
this.skinTabPage2.Text = "skinTabPage2";
|
||
//
|
||
// lblConnectStatus
|
||
//
|
||
this.lblConnectStatus.Image = global::PLCCommunication.Properties.Resources.red;
|
||
this.lblConnectStatus.Location = new System.Drawing.Point(1294, 3);
|
||
this.lblConnectStatus.Name = "lblConnectStatus";
|
||
this.lblConnectStatus.Size = new System.Drawing.Size(50, 50);
|
||
this.lblConnectStatus.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||
this.lblConnectStatus.TabIndex = 35;
|
||
this.lblConnectStatus.TabStop = false;
|
||
//
|
||
// OmronPLCUI
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.BackColor = System.Drawing.Color.White;
|
||
this.Controls.Add(this.groupBox1);
|
||
this.Controls.Add(this.groupBox2);
|
||
this.Controls.Add(this.groupBox4);
|
||
this.Controls.Add(this.groupBox3);
|
||
this.Controls.Add(this.panel1);
|
||
this.Controls.Add(this.gb_RWTest);
|
||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||
this.Name = "OmronPLCUI";
|
||
this.Size = new System.Drawing.Size(1819, 856);
|
||
this.Load += new System.EventHandler(this.MelsecPLCUI_Load);
|
||
this.groupBox3.ResumeLayout(false);
|
||
this.groupBox2.ResumeLayout(false);
|
||
this.groupBox2.PerformLayout();
|
||
this.panel1.ResumeLayout(false);
|
||
this.panel1.PerformLayout();
|
||
this.PanelTest.ResumeLayout(false);
|
||
this.PanelTest.PerformLayout();
|
||
this.gb_RWTest.ResumeLayout(false);
|
||
this.gb_RWTest.PerformLayout();
|
||
this.groupBox4.ResumeLayout(false);
|
||
this.groupBox4.PerformLayout();
|
||
this.groupBox1.ResumeLayout(false);
|
||
this.tabConTrgUI.ResumeLayout(false);
|
||
((System.ComponentModel.ISupportInitialize)(this.lblConnectStatus)).EndInit();
|
||
this.ResumeLayout(false);
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private Label label2;
|
||
|
||
private TextBox txtReadTestLength;
|
||
|
||
private TextBox txtWriteValue;
|
||
|
||
private CheckBox cbTest;
|
||
|
||
private Label label9;
|
||
|
||
private GroupBox groupBox3;
|
||
|
||
private GroupBox groupBox2;
|
||
|
||
private TextBox txtReadResultTest;
|
||
|
||
private Panel panel1;
|
||
|
||
private TextBox txtPort;
|
||
|
||
private Label label26;
|
||
|
||
private TextBox txtIP;
|
||
|
||
private Label label27;
|
||
|
||
private Button BtnDisConnect;
|
||
|
||
private Button BtnConnect;
|
||
|
||
private Panel PanelTest;
|
||
|
||
private Button BtnWriteTest;
|
||
|
||
private Label label7;
|
||
|
||
private ComboBox cboReadType;
|
||
|
||
private TextBox txtReadAddrTest;
|
||
|
||
private Label label6;
|
||
|
||
private Button BtnReadTest;
|
||
|
||
private GroupBox gb_RWTest;
|
||
|
||
private Label label1;
|
||
|
||
private GroupBox groupBox4;
|
||
|
||
private Label label3;
|
||
|
||
private TextBox txtHeartAddr;
|
||
|
||
private CheckBox cbHeartBeat;
|
||
|
||
private ListView lstSend;
|
||
|
||
private ColumnHeader columnHeader1;
|
||
|
||
private ColumnHeader columnHeader2;
|
||
|
||
private ListView lstRecv;
|
||
|
||
private ColumnHeader InfoTime;
|
||
|
||
private ColumnHeader InfoContent;
|
||
|
||
private ImageList imageList1;
|
||
|
||
private Button btnClearRecv;
|
||
|
||
private Label lblTip;
|
||
|
||
private GroupBox groupBox1;
|
||
|
||
private Button btnSaveConfig;
|
||
|
||
private ListView lstTrgCmd;
|
||
|
||
private ColumnHeader columnHeader3;
|
||
|
||
private ColumnHeader columnHeader4;
|
||
|
||
private ListView lstResWrite;
|
||
|
||
private ColumnHeader columnHeader5;
|
||
|
||
private ColumnHeader columnHeader6;
|
||
|
||
private CheckBox cbDispCurrent;
|
||
|
||
public Button btnStart;
|
||
private System.Windows.Forms.TabControl tabConTrgUI;
|
||
private System.Windows.Forms.TabPage skinTabPage1;
|
||
private System.Windows.Forms.TabPage skinTabPage2;
|
||
public Button button1;
|
||
private TextBox txtSolt;
|
||
private Label label4;
|
||
private PictureBox lblConnectStatus;
|
||
}
|
||
}
|