447 lines
21 KiB
C#
447 lines
21 KiB
C#
namespace LeatherApp
|
|
{
|
|
partial class Form2
|
|
{
|
|
/// <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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form2));
|
|
this.IPAdrees = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.ConnectButton = new System.Windows.Forms.Button();
|
|
this.DisConnectButton = new System.Windows.Forms.Button();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.txtResult = new System.Windows.Forms.TextBox();
|
|
this.BitSelect = new System.Windows.Forms.NumericUpDown();
|
|
this.DateType = new System.Windows.Forms.ComboBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.WriteText = new System.Windows.Forms.TextBox();
|
|
this.StartText = new System.Windows.Forms.NumericUpDown();
|
|
this.DBText = new System.Windows.Forms.NumericUpDown();
|
|
this.Writebutton = new System.Windows.Forms.Button();
|
|
this.Readbutton = new System.Windows.Forms.Button();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.PLCType = new System.Windows.Forms.ComboBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.ConnecteState = new System.Windows.Forms.Label();
|
|
this.Solt = new System.Windows.Forms.NumericUpDown();
|
|
this.rackN = new System.Windows.Forms.NumericUpDown();
|
|
this.groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.BitSelect)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.StartText)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.DBText)).BeginInit();
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.Solt)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.rackN)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// IPAdrees
|
|
//
|
|
this.IPAdrees.Location = new System.Drawing.Point(210, 58);
|
|
this.IPAdrees.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.IPAdrees.Name = "IPAdrees";
|
|
this.IPAdrees.Size = new System.Drawing.Size(185, 28);
|
|
this.IPAdrees.TabIndex = 0;
|
|
this.IPAdrees.Text = "192.168.0.10";
|
|
this.IPAdrees.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.IPAdrees_KeyPress);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(117, 61);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(80, 18);
|
|
this.label1.TabIndex = 3;
|
|
this.label1.Text = "IPAdress";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(117, 107);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(44, 18);
|
|
this.label2.TabIndex = 4;
|
|
this.label2.Text = "Rack";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(117, 150);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(44, 18);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Solt";
|
|
//
|
|
// ConnectButton
|
|
//
|
|
this.ConnectButton.Location = new System.Drawing.Point(140, 179);
|
|
this.ConnectButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.ConnectButton.Name = "ConnectButton";
|
|
this.ConnectButton.Size = new System.Drawing.Size(71, 47);
|
|
this.ConnectButton.TabIndex = 10;
|
|
this.ConnectButton.Text = "连接";
|
|
this.ConnectButton.UseVisualStyleBackColor = true;
|
|
this.ConnectButton.Click += new System.EventHandler(this.ConnectButton_Click);
|
|
//
|
|
// DisConnectButton
|
|
//
|
|
this.DisConnectButton.Location = new System.Drawing.Point(389, 179);
|
|
this.DisConnectButton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.DisConnectButton.Name = "DisConnectButton";
|
|
this.DisConnectButton.Size = new System.Drawing.Size(71, 47);
|
|
this.DisConnectButton.TabIndex = 11;
|
|
this.DisConnectButton.Text = "断开";
|
|
this.DisConnectButton.UseVisualStyleBackColor = true;
|
|
this.DisConnectButton.Click += new System.EventHandler(this.DisConnectButton_Click);
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.txtResult);
|
|
this.groupBox1.Controls.Add(this.BitSelect);
|
|
this.groupBox1.Controls.Add(this.DateType);
|
|
this.groupBox1.Controls.Add(this.label8);
|
|
this.groupBox1.Controls.Add(this.label9);
|
|
this.groupBox1.Controls.Add(this.label7);
|
|
this.groupBox1.Controls.Add(this.WriteText);
|
|
this.groupBox1.Controls.Add(this.StartText);
|
|
this.groupBox1.Controls.Add(this.DBText);
|
|
this.groupBox1.Controls.Add(this.Writebutton);
|
|
this.groupBox1.Controls.Add(this.Readbutton);
|
|
this.groupBox1.Controls.Add(this.label5);
|
|
this.groupBox1.Controls.Add(this.label6);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 258);
|
|
this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.groupBox1.Size = new System.Drawing.Size(583, 300);
|
|
this.groupBox1.TabIndex = 15;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "读写数据";
|
|
//
|
|
// txtResult
|
|
//
|
|
this.txtResult.Location = new System.Drawing.Point(49, 231);
|
|
this.txtResult.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.txtResult.Multiline = true;
|
|
this.txtResult.Name = "txtResult";
|
|
this.txtResult.Size = new System.Drawing.Size(514, 55);
|
|
this.txtResult.TabIndex = 26;
|
|
//
|
|
// BitSelect
|
|
//
|
|
this.BitSelect.Location = new System.Drawing.Point(405, 72);
|
|
this.BitSelect.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.BitSelect.Maximum = new decimal(new int[] {
|
|
7,
|
|
0,
|
|
0,
|
|
0});
|
|
this.BitSelect.Name = "BitSelect";
|
|
this.BitSelect.Size = new System.Drawing.Size(57, 28);
|
|
this.BitSelect.TabIndex = 25;
|
|
//
|
|
// DateType
|
|
//
|
|
this.DateType.FormattingEnabled = true;
|
|
this.DateType.Items.AddRange(new object[] {
|
|
"Bit",
|
|
"Byte",
|
|
"Word",
|
|
"DWord",
|
|
"Int",
|
|
"DInt",
|
|
"Real"});
|
|
this.DateType.Location = new System.Drawing.Point(210, 116);
|
|
this.DateType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.DateType.Name = "DateType";
|
|
this.DateType.Size = new System.Drawing.Size(185, 26);
|
|
this.DateType.TabIndex = 21;
|
|
this.DateType.Text = "Bit";
|
|
this.DateType.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(111, 120);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(80, 18);
|
|
this.label8.TabIndex = 24;
|
|
this.label8.Text = "数据类型";
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(6, 234);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(44, 18);
|
|
this.label9.TabIndex = 23;
|
|
this.label9.Text = "结果";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(111, 166);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(80, 18);
|
|
this.label7.TabIndex = 23;
|
|
this.label7.Text = "写入数据";
|
|
//
|
|
// WriteText
|
|
//
|
|
this.WriteText.Location = new System.Drawing.Point(210, 162);
|
|
this.WriteText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.WriteText.Name = "WriteText";
|
|
this.WriteText.Size = new System.Drawing.Size(185, 28);
|
|
this.WriteText.TabIndex = 21;
|
|
this.WriteText.Text = "0";
|
|
this.WriteText.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
|
|
//
|
|
// StartText
|
|
//
|
|
this.StartText.Location = new System.Drawing.Point(210, 72);
|
|
this.StartText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.StartText.Name = "StartText";
|
|
this.StartText.Size = new System.Drawing.Size(186, 28);
|
|
this.StartText.TabIndex = 22;
|
|
//
|
|
// DBText
|
|
//
|
|
this.DBText.Location = new System.Drawing.Point(210, 26);
|
|
this.DBText.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.DBText.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.DBText.Name = "DBText";
|
|
this.DBText.Size = new System.Drawing.Size(186, 28);
|
|
this.DBText.TabIndex = 21;
|
|
this.DBText.Value = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// Writebutton
|
|
//
|
|
this.Writebutton.Location = new System.Drawing.Point(405, 162);
|
|
this.Writebutton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.Writebutton.Name = "Writebutton";
|
|
this.Writebutton.Size = new System.Drawing.Size(71, 28);
|
|
this.Writebutton.TabIndex = 18;
|
|
this.Writebutton.Text = "写入";
|
|
this.Writebutton.UseVisualStyleBackColor = true;
|
|
this.Writebutton.Click += new System.EventHandler(this.Writebutton_Click);
|
|
//
|
|
// Readbutton
|
|
//
|
|
this.Readbutton.Location = new System.Drawing.Point(114, 203);
|
|
this.Readbutton.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.Readbutton.Name = "Readbutton";
|
|
this.Readbutton.Size = new System.Drawing.Size(71, 27);
|
|
this.Readbutton.TabIndex = 17;
|
|
this.Readbutton.Text = "读取";
|
|
this.Readbutton.UseVisualStyleBackColor = true;
|
|
this.Readbutton.Click += new System.EventHandler(this.Readbutton_Click);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(111, 74);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(53, 18);
|
|
this.label5.TabIndex = 20;
|
|
this.label5.Text = "Start";
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(111, 32);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(89, 18);
|
|
this.label6.TabIndex = 19;
|
|
this.label6.Text = "DB Number";
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.toolStripMenuItem1});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(256, 34);
|
|
//
|
|
// toolStripMenuItem1
|
|
//
|
|
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
|
|
this.toolStripMenuItem1.Size = new System.Drawing.Size(255, 30);
|
|
this.toolStripMenuItem1.Text = "toolStripMenuItem1";
|
|
//
|
|
// PLCType
|
|
//
|
|
this.PLCType.FormattingEnabled = true;
|
|
this.PLCType.Items.AddRange(new object[] {
|
|
"S7200",
|
|
"S7300",
|
|
"S7400",
|
|
"S71200",
|
|
"S71500"});
|
|
this.PLCType.Location = new System.Drawing.Point(210, 14);
|
|
this.PLCType.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.PLCType.Name = "PLCType";
|
|
this.PLCType.Size = new System.Drawing.Size(185, 26);
|
|
this.PLCType.TabIndex = 16;
|
|
this.PLCType.Text = "S7200";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(117, 18);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(71, 18);
|
|
this.label4.TabIndex = 17;
|
|
this.label4.Text = "PLC类型";
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.ConnecteState);
|
|
this.groupBox2.Controls.Add(this.Solt);
|
|
this.groupBox2.Controls.Add(this.rackN);
|
|
this.groupBox2.Controls.Add(this.ConnectButton);
|
|
this.groupBox2.Controls.Add(this.DisConnectButton);
|
|
this.groupBox2.Controls.Add(this.label4);
|
|
this.groupBox2.Controls.Add(this.IPAdrees);
|
|
this.groupBox2.Controls.Add(this.PLCType);
|
|
this.groupBox2.Controls.Add(this.label1);
|
|
this.groupBox2.Controls.Add(this.label2);
|
|
this.groupBox2.Controls.Add(this.label3);
|
|
this.groupBox2.Location = new System.Drawing.Point(12, 13);
|
|
this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.groupBox2.Size = new System.Drawing.Size(583, 238);
|
|
this.groupBox2.TabIndex = 18;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "连接参数";
|
|
//
|
|
// ConnecteState
|
|
//
|
|
this.ConnecteState.AutoSize = true;
|
|
this.ConnecteState.Location = new System.Drawing.Point(483, 22);
|
|
this.ConnecteState.Name = "ConnecteState";
|
|
this.ConnecteState.Size = new System.Drawing.Size(80, 18);
|
|
this.ConnecteState.TabIndex = 20;
|
|
this.ConnecteState.Text = "连接状态";
|
|
//
|
|
// Solt
|
|
//
|
|
this.Solt.Location = new System.Drawing.Point(210, 145);
|
|
this.Solt.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.Solt.Name = "Solt";
|
|
this.Solt.Size = new System.Drawing.Size(186, 28);
|
|
this.Solt.TabIndex = 19;
|
|
this.Solt.Value = new decimal(new int[] {
|
|
2,
|
|
0,
|
|
0,
|
|
0});
|
|
//
|
|
// rackN
|
|
//
|
|
this.rackN.Location = new System.Drawing.Point(210, 101);
|
|
this.rackN.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.rackN.Name = "rackN";
|
|
this.rackN.Size = new System.Drawing.Size(186, 28);
|
|
this.rackN.TabIndex = 18;
|
|
//
|
|
// Form2
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(1389, 670);
|
|
this.ControlBox = false;
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
|
|
this.Name = "Form2";
|
|
this.Text = "Form2";
|
|
this.Load += new System.EventHandler(this.Form2_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.BitSelect)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.StartText)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.DBText)).EndInit();
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.Solt)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.rackN)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox IPAdrees;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Button ConnectButton;
|
|
private System.Windows.Forms.Button DisConnectButton;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
|
|
private System.Windows.Forms.Button Writebutton;
|
|
private System.Windows.Forms.Button Readbutton;
|
|
private System.Windows.Forms.ComboBox PLCType;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.NumericUpDown Solt;
|
|
private System.Windows.Forms.NumericUpDown rackN;
|
|
private System.Windows.Forms.Label ConnecteState;
|
|
private System.Windows.Forms.NumericUpDown StartText;
|
|
private System.Windows.Forms.NumericUpDown DBText;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox WriteText;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.ComboBox DateType;
|
|
private System.Windows.Forms.NumericUpDown BitSelect;
|
|
private System.Windows.Forms.TextBox txtResult;
|
|
private System.Windows.Forms.Label label9;
|
|
}
|
|
} |