mirror of
https://gitee.com/lircy/S7CommPlusV3Driver
synced 2026-03-23 23:16:34 +08:00
347 lines
17 KiB
C#
347 lines
17 KiB
C#
namespace S7CommPlusGUIBrowser {
|
|
partial class Form1 {
|
|
/// <summary>
|
|
/// Erforderliche Designervariable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Verwendete Ressourcen bereinigen.
|
|
/// </summary>
|
|
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
|
|
protected override void Dispose(bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Vom Windows Form-Designer generierter Code
|
|
|
|
/// <summary>
|
|
/// Erforderliche Methode für die Designerunterstützung.
|
|
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.lbStatus = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.btnDisconnect = new System.Windows.Forms.Button();
|
|
this.btnConnect = new System.Windows.Forms.Button();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.tbPassword = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.tbIpAddress = new System.Windows.Forms.TextBox();
|
|
this.treeView1 = new System.Windows.Forms.TreeView();
|
|
this.imageListTreeIcons = new System.Windows.Forms.ImageList(this.components);
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.btnRead = new System.Windows.Forms.Button();
|
|
this.tbValue = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.tbSymbolicAddress = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.tbSymbol = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
this.txt_plcInfo = new System.Windows.Forms.ToolStripStatusLabel();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.statusStrip1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.lbStatus);
|
|
this.groupBox1.Controls.Add(this.label6);
|
|
this.groupBox1.Controls.Add(this.btnDisconnect);
|
|
this.groupBox1.Controls.Add(this.btnConnect);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Controls.Add(this.tbPassword);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Controls.Add(this.tbIpAddress);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 11);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(171, 131);
|
|
this.groupBox1.TabIndex = 0;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Connection";
|
|
//
|
|
// lbStatus
|
|
//
|
|
this.lbStatus.Location = new System.Drawing.Point(44, 114);
|
|
this.lbStatus.Name = "lbStatus";
|
|
this.lbStatus.Size = new System.Drawing.Size(116, 15);
|
|
this.lbStatus.TabIndex = 7;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(6, 114);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(47, 12);
|
|
this.label6.TabIndex = 6;
|
|
this.label6.Text = "Status:";
|
|
//
|
|
// btnDisconnect
|
|
//
|
|
this.btnDisconnect.Location = new System.Drawing.Point(85, 90);
|
|
this.btnDisconnect.Name = "btnDisconnect";
|
|
this.btnDisconnect.Size = new System.Drawing.Size(75, 21);
|
|
this.btnDisconnect.TabIndex = 5;
|
|
this.btnDisconnect.Text = "Disconnect";
|
|
this.btnDisconnect.UseVisualStyleBackColor = true;
|
|
this.btnDisconnect.Click += new System.EventHandler(this.btnDisconnect_Click);
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.Location = new System.Drawing.Point(9, 90);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(75, 21);
|
|
this.btnConnect.TabIndex = 4;
|
|
this.btnConnect.Text = "Connect";
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 51);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(125, 12);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "Password (optional):";
|
|
//
|
|
// tbPassword
|
|
//
|
|
this.tbPassword.Location = new System.Drawing.Point(9, 66);
|
|
this.tbPassword.Name = "tbPassword";
|
|
this.tbPassword.PasswordChar = '*';
|
|
this.tbPassword.Size = new System.Drawing.Size(151, 21);
|
|
this.tbPassword.TabIndex = 2;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 15);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(71, 12);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "IP-Address:";
|
|
//
|
|
// tbIpAddress
|
|
//
|
|
this.tbIpAddress.Location = new System.Drawing.Point(9, 30);
|
|
this.tbIpAddress.Name = "tbIpAddress";
|
|
this.tbIpAddress.Size = new System.Drawing.Size(151, 21);
|
|
this.tbIpAddress.TabIndex = 0;
|
|
this.tbIpAddress.Text = "192.168.0.250";
|
|
//
|
|
// treeView1
|
|
//
|
|
this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.treeView1.ImageIndex = 0;
|
|
this.treeView1.ImageList = this.imageListTreeIcons;
|
|
this.treeView1.Location = new System.Drawing.Point(12, 148);
|
|
this.treeView1.Name = "treeView1";
|
|
this.treeView1.SelectedImageIndex = 0;
|
|
this.treeView1.Size = new System.Drawing.Size(776, 242);
|
|
this.treeView1.TabIndex = 1;
|
|
this.treeView1.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterExpand);
|
|
this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
|
|
//
|
|
// imageListTreeIcons
|
|
//
|
|
this.imageListTreeIcons.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListTreeIcons.ImageStream")));
|
|
this.imageListTreeIcons.TransparentColor = System.Drawing.Color.Transparent;
|
|
this.imageListTreeIcons.Images.SetKeyName(0, "Default");
|
|
this.imageListTreeIcons.Images.SetKeyName(1, "Datablock");
|
|
this.imageListTreeIcons.Images.SetKeyName(2, "Tag");
|
|
this.imageListTreeIcons.Images.SetKeyName(3, "Boolean");
|
|
this.imageListTreeIcons.Images.SetKeyName(4, "Boolean1");
|
|
this.imageListTreeIcons.Images.SetKeyName(5, "Boolean2");
|
|
this.imageListTreeIcons.Images.SetKeyName(6, "Any");
|
|
this.imageListTreeIcons.Images.SetKeyName(7, "Binary");
|
|
this.imageListTreeIcons.Images.SetKeyName(8, "Binary2");
|
|
this.imageListTreeIcons.Images.SetKeyName(9, "Date");
|
|
this.imageListTreeIcons.Images.SetKeyName(10, "Integer");
|
|
this.imageListTreeIcons.Images.SetKeyName(11, "Integer2");
|
|
this.imageListTreeIcons.Images.SetKeyName(12, "Number");
|
|
this.imageListTreeIcons.Images.SetKeyName(13, "Number2");
|
|
this.imageListTreeIcons.Images.SetKeyName(14, "Time");
|
|
this.imageListTreeIcons.Images.SetKeyName(15, "Datetime");
|
|
this.imageListTreeIcons.Images.SetKeyName(16, "Datetimezone");
|
|
this.imageListTreeIcons.Images.SetKeyName(17, "Duration");
|
|
this.imageListTreeIcons.Images.SetKeyName(18, "Timer");
|
|
this.imageListTreeIcons.Images.SetKeyName(19, "Char");
|
|
this.imageListTreeIcons.Images.SetKeyName(20, "Text");
|
|
this.imageListTreeIcons.Images.SetKeyName(21, "Text2");
|
|
this.imageListTreeIcons.Images.SetKeyName(22, "Text3");
|
|
this.imageListTreeIcons.Images.SetKeyName(23, "Structure");
|
|
this.imageListTreeIcons.Images.SetKeyName(24, "Currency");
|
|
this.imageListTreeIcons.Images.SetKeyName(25, "Percentage");
|
|
this.imageListTreeIcons.Images.SetKeyName(26, "UserDataType");
|
|
this.imageListTreeIcons.Images.SetKeyName(27, "UserDefinedDataType");
|
|
this.imageListTreeIcons.Images.SetKeyName(28, "CountCollection");
|
|
this.imageListTreeIcons.Images.SetKeyName(29, "FolderOpened");
|
|
this.imageListTreeIcons.Images.SetKeyName(30, "FolderClosed");
|
|
this.imageListTreeIcons.Images.SetKeyName(31, "FolderTopPanel");
|
|
this.imageListTreeIcons.Images.SetKeyName(32, "Indexer");
|
|
this.imageListTreeIcons.Images.SetKeyName(33, "Library");
|
|
this.imageListTreeIcons.Images.SetKeyName(34, "NamedSet");
|
|
this.imageListTreeIcons.Images.SetKeyName(35, "TypeDefinition");
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox2.Controls.Add(this.btnRead);
|
|
this.groupBox2.Controls.Add(this.tbValue);
|
|
this.groupBox2.Controls.Add(this.label5);
|
|
this.groupBox2.Controls.Add(this.tbSymbolicAddress);
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
this.groupBox2.Controls.Add(this.tbSymbol);
|
|
this.groupBox2.Controls.Add(this.label3);
|
|
this.groupBox2.Location = new System.Drawing.Point(189, 11);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(599, 131);
|
|
this.groupBox2.TabIndex = 2;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Data";
|
|
//
|
|
// btnRead
|
|
//
|
|
this.btnRead.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnRead.Location = new System.Drawing.Point(518, 28);
|
|
this.btnRead.Name = "btnRead";
|
|
this.btnRead.Size = new System.Drawing.Size(75, 21);
|
|
this.btnRead.TabIndex = 11;
|
|
this.btnRead.Text = "Read";
|
|
this.btnRead.UseVisualStyleBackColor = true;
|
|
this.btnRead.Click += new System.EventHandler(this.btnRead_Click);
|
|
//
|
|
// tbValue
|
|
//
|
|
this.tbValue.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tbValue.Location = new System.Drawing.Point(6, 102);
|
|
this.tbValue.Name = "tbValue";
|
|
this.tbValue.ReadOnly = true;
|
|
this.tbValue.Size = new System.Drawing.Size(587, 21);
|
|
this.tbValue.TabIndex = 10;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(6, 87);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(41, 12);
|
|
this.label5.TabIndex = 9;
|
|
this.label5.Text = "Value:";
|
|
//
|
|
// tbSymbolicAddress
|
|
//
|
|
this.tbSymbolicAddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tbSymbolicAddress.Location = new System.Drawing.Point(6, 66);
|
|
this.tbSymbolicAddress.Name = "tbSymbolicAddress";
|
|
this.tbSymbolicAddress.ReadOnly = true;
|
|
this.tbSymbolicAddress.Size = new System.Drawing.Size(587, 21);
|
|
this.tbSymbolicAddress.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(6, 51);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(107, 12);
|
|
this.label4.TabIndex = 7;
|
|
this.label4.Text = "Symbolic address:";
|
|
//
|
|
// tbSymbol
|
|
//
|
|
this.tbSymbol.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.tbSymbol.Location = new System.Drawing.Point(6, 30);
|
|
this.tbSymbol.Name = "tbSymbol";
|
|
this.tbSymbol.Size = new System.Drawing.Size(506, 21);
|
|
this.tbSymbol.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 15);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(47, 12);
|
|
this.label3.TabIndex = 0;
|
|
this.label3.Text = "Symbol:";
|
|
//
|
|
// statusStrip1
|
|
//
|
|
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.txt_plcInfo});
|
|
this.statusStrip1.Location = new System.Drawing.Point(0, 393);
|
|
this.statusStrip1.Name = "statusStrip1";
|
|
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
|
|
this.statusStrip1.TabIndex = 3;
|
|
this.statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// txt_plcInfo
|
|
//
|
|
this.txt_plcInfo.Name = "txt_plcInfo";
|
|
this.txt_plcInfo.Size = new System.Drawing.Size(60, 17);
|
|
this.txt_plcInfo.Text = "PLCType:";
|
|
//
|
|
// Form1
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(800, 415);
|
|
this.Controls.Add(this.statusStrip1);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.treeView1);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Name = "Form1";
|
|
this.Text = "S7CommPlusGUIBrowser";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.statusStrip1.ResumeLayout(false);
|
|
this.statusStrip1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.TextBox tbIpAddress;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox tbPassword;
|
|
private System.Windows.Forms.Button btnDisconnect;
|
|
private System.Windows.Forms.Button btnConnect;
|
|
private System.Windows.Forms.TreeView treeView1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.TextBox tbValue;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox tbSymbolicAddress;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox tbSymbol;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label lbStatus;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.Button btnRead;
|
|
private System.Windows.Forms.ImageList imageListTreeIcons;
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
private System.Windows.Forms.ToolStripStatusLabel txt_plcInfo;
|
|
}
|
|
}
|
|
|