289 lines
11 KiB
C#
289 lines
11 KiB
C#
namespace Test_S7
|
|
{
|
|
partial class TestMainForm
|
|
{
|
|
/// <summary>
|
|
/// Variabile di progettazione necessaria.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Pulire le risorse in uso.
|
|
/// </summary>
|
|
/// <param name="disposing">ha valore true se le risorse gestite devono essere eliminate, false in caso contrario.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Codice generato da Progettazione Windows Form
|
|
|
|
/// <summary>
|
|
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
|
|
/// il contenuto del metodo con l'editor di codice.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.txtIP = new System.Windows.Forms.TextBox();
|
|
this.lblIP = new System.Windows.Forms.Label();
|
|
this.cbCpuType = new System.Windows.Forms.ComboBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtMemArea = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtMemSize = new System.Windows.Forms.TextBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.txtOut = new System.Windows.Forms.TextBox();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtSlot = new System.Windows.Forms.TextBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtRack = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// txtIP
|
|
//
|
|
this.txtIP.Location = new System.Drawing.Point(85, 24);
|
|
this.txtIP.Name = "txtIP";
|
|
this.txtIP.Size = new System.Drawing.Size(109, 22);
|
|
this.txtIP.TabIndex = 0;
|
|
this.txtIP.Text = "127.0.0.1";
|
|
//
|
|
// lblIP
|
|
//
|
|
this.lblIP.AutoSize = true;
|
|
this.lblIP.Location = new System.Drawing.Point(16, 27);
|
|
this.lblIP.Name = "lblIP";
|
|
this.lblIP.Size = new System.Drawing.Size(63, 17);
|
|
this.lblIP.TabIndex = 1;
|
|
this.lblIP.Text = "IP ADDR";
|
|
//
|
|
// cbCpuType
|
|
//
|
|
this.cbCpuType.FormattingEnabled = true;
|
|
this.cbCpuType.Items.AddRange(new object[] {
|
|
"S7200",
|
|
"S7300",
|
|
"S7400",
|
|
"S71200",
|
|
"S71500"});
|
|
this.cbCpuType.Location = new System.Drawing.Point(85, 61);
|
|
this.cbCpuType.Name = "cbCpuType";
|
|
this.cbCpuType.Size = new System.Drawing.Size(109, 24);
|
|
this.cbCpuType.TabIndex = 2;
|
|
this.cbCpuType.Text = "S71200";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(7, 64);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(72, 17);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "CPU Type";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(9, 24);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(80, 17);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "MEM AREA";
|
|
//
|
|
// txtMemArea
|
|
//
|
|
this.txtMemArea.Location = new System.Drawing.Point(95, 21);
|
|
this.txtMemArea.Name = "txtMemArea";
|
|
this.txtMemArea.Size = new System.Drawing.Size(107, 22);
|
|
this.txtMemArea.TabIndex = 4;
|
|
this.txtMemArea.Text = "DB241.DBD0.0";
|
|
this.txtMemArea.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(9, 61);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(73, 17);
|
|
this.label3.TabIndex = 7;
|
|
this.label3.Text = "MEM SIZE";
|
|
//
|
|
// txtMemSize
|
|
//
|
|
this.txtMemSize.Location = new System.Drawing.Point(104, 59);
|
|
this.txtMemSize.Name = "txtMemSize";
|
|
this.txtMemSize.Size = new System.Drawing.Size(98, 22);
|
|
this.txtMemSize.TabIndex = 6;
|
|
this.txtMemSize.Text = "16";
|
|
this.txtMemSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.groupBox1.Controls.Add(this.txtMemArea);
|
|
this.groupBox1.Controls.Add(this.txtMemSize);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.label2);
|
|
this.groupBox1.Location = new System.Drawing.Point(535, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(208, 100);
|
|
this.groupBox1.TabIndex = 8;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Memoria: parametri lettura";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.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.groupBox2.AutoSize = true;
|
|
this.groupBox2.Controls.Add(this.txtOut);
|
|
this.groupBox2.Location = new System.Drawing.Point(12, 118);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(731, 240);
|
|
this.groupBox2.TabIndex = 9;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Risultati";
|
|
//
|
|
// txtOut
|
|
//
|
|
this.txtOut.BackColor = System.Drawing.SystemColors.Desktop;
|
|
this.txtOut.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.txtOut.ForeColor = System.Drawing.SystemColors.ControlLightLight;
|
|
this.txtOut.Location = new System.Drawing.Point(3, 18);
|
|
this.txtOut.Multiline = true;
|
|
this.txtOut.Name = "txtOut";
|
|
this.txtOut.Size = new System.Drawing.Size(725, 219);
|
|
this.txtOut.TabIndex = 0;
|
|
this.txtOut.Text = "...";
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.textBox2);
|
|
this.groupBox3.Controls.Add(this.label6);
|
|
this.groupBox3.Controls.Add(this.txtSlot);
|
|
this.groupBox3.Controls.Add(this.label5);
|
|
this.groupBox3.Controls.Add(this.txtRack);
|
|
this.groupBox3.Controls.Add(this.label4);
|
|
this.groupBox3.Controls.Add(this.cbCpuType);
|
|
this.groupBox3.Controls.Add(this.txtIP);
|
|
this.groupBox3.Controls.Add(this.lblIP);
|
|
this.groupBox3.Controls.Add(this.label1);
|
|
this.groupBox3.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(448, 100);
|
|
this.groupBox3.TabIndex = 10;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "Parametri PLC";
|
|
//
|
|
// textBox2
|
|
//
|
|
this.textBox2.BackColor = System.Drawing.SystemColors.Menu;
|
|
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.textBox2.Location = new System.Drawing.Point(302, 38);
|
|
this.textBox2.Multiline = true;
|
|
this.textBox2.Name = "textBox2";
|
|
this.textBox2.Size = new System.Drawing.Size(140, 54);
|
|
this.textBox2.TabIndex = 7;
|
|
this.textBox2.Text = "S7-1200/S7-1500: 0/0\r\nS7-300/S7-400: 0/2\r\nSlot > 0 se eth ext";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(302, 14);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(114, 17);
|
|
this.label6.TabIndex = 6;
|
|
this.label6.Text = "Note Rack / Slot:";
|
|
//
|
|
// txtSlot
|
|
//
|
|
this.txtSlot.Location = new System.Drawing.Point(254, 61);
|
|
this.txtSlot.Name = "txtSlot";
|
|
this.txtSlot.Size = new System.Drawing.Size(41, 22);
|
|
this.txtSlot.TabIndex = 5;
|
|
this.txtSlot.Text = "0";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(208, 64);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(32, 17);
|
|
this.label5.TabIndex = 4;
|
|
this.label5.Text = "Slot";
|
|
//
|
|
// txtRack
|
|
//
|
|
this.txtRack.Location = new System.Drawing.Point(254, 24);
|
|
this.txtRack.Name = "txtRack";
|
|
this.txtRack.Size = new System.Drawing.Size(41, 22);
|
|
this.txtRack.TabIndex = 5;
|
|
this.txtRack.Text = "0";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(208, 27);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(40, 17);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "Rack";
|
|
//
|
|
// TestMainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(755, 370);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Name = "TestMainForm";
|
|
this.Text = "SIEMENS S7 TEST";
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox txtIP;
|
|
private System.Windows.Forms.Label lblIP;
|
|
private System.Windows.Forms.ComboBox cbCpuType;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtMemArea;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.TextBox txtMemSize;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.TextBox txtOut;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.TextBox txtSlot;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.TextBox txtRack;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.TextBox textBox2;
|
|
private System.Windows.Forms.Label label6;
|
|
}
|
|
}
|
|
|