231 lines
9.6 KiB
C#
231 lines
9.6 KiB
C#
namespace CowainHmi.UIEditor
|
|
{
|
|
partial class FrmTagEdit
|
|
{
|
|
/// <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.label1 = new System.Windows.Forms.Label();
|
|
this.udPLC = new System.Windows.Forms.NumericUpDown();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtAddress = new System.Windows.Forms.TextBox();
|
|
this.udDecimalPlaces = new System.Windows.Forms.NumericUpDown();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.udStringLength = new System.Windows.Forms.NumericUpDown();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.cbxType = new System.Windows.Forms.ComboBox();
|
|
this.btnOk = new System.Windows.Forms.Button();
|
|
this.txtVarName = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.txtVarDesc = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.udPLC)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.udDecimalPlaces)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.udStringLength)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(33, 96);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(23, 12);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "PLC";
|
|
//
|
|
// udPLC
|
|
//
|
|
this.udPLC.Location = new System.Drawing.Point(119, 92);
|
|
this.udPLC.Name = "udPLC";
|
|
this.udPLC.Size = new System.Drawing.Size(222, 21);
|
|
this.udPLC.TabIndex = 1;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(33, 136);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(29, 12);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "地址";
|
|
//
|
|
// txtAddress
|
|
//
|
|
this.txtAddress.Location = new System.Drawing.Point(119, 132);
|
|
this.txtAddress.Name = "txtAddress";
|
|
this.txtAddress.Size = new System.Drawing.Size(222, 21);
|
|
this.txtAddress.TabIndex = 3;
|
|
//
|
|
// udDecimalPlaces
|
|
//
|
|
this.udDecimalPlaces.Location = new System.Drawing.Point(119, 211);
|
|
this.udDecimalPlaces.Name = "udDecimalPlaces";
|
|
this.udDecimalPlaces.Size = new System.Drawing.Size(222, 21);
|
|
this.udDecimalPlaces.TabIndex = 5;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(33, 216);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(53, 12);
|
|
this.label3.TabIndex = 4;
|
|
this.label3.Text = "小数位数";
|
|
//
|
|
// udStringLength
|
|
//
|
|
this.udStringLength.Location = new System.Drawing.Point(119, 251);
|
|
this.udStringLength.Maximum = new decimal(new int[] {
|
|
256,
|
|
0,
|
|
0,
|
|
0});
|
|
this.udStringLength.Name = "udStringLength";
|
|
this.udStringLength.Size = new System.Drawing.Size(222, 21);
|
|
this.udStringLength.TabIndex = 7;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(33, 256);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(53, 12);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "字符长度";
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(33, 176);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(53, 12);
|
|
this.label5.TabIndex = 8;
|
|
this.label5.Text = "数据类型";
|
|
//
|
|
// cbxType
|
|
//
|
|
this.cbxType.FormattingEnabled = true;
|
|
this.cbxType.Location = new System.Drawing.Point(119, 172);
|
|
this.cbxType.Name = "cbxType";
|
|
this.cbxType.Size = new System.Drawing.Size(222, 20);
|
|
this.cbxType.TabIndex = 9;
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Location = new System.Drawing.Point(119, 298);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(110, 38);
|
|
this.btnOk.TabIndex = 10;
|
|
this.btnOk.Text = "确认";
|
|
this.btnOk.UseVisualStyleBackColor = true;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// txtVarName
|
|
//
|
|
this.txtVarName.Location = new System.Drawing.Point(119, 12);
|
|
this.txtVarName.Name = "txtVarName";
|
|
this.txtVarName.Size = new System.Drawing.Size(222, 21);
|
|
this.txtVarName.TabIndex = 12;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(33, 16);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(29, 12);
|
|
this.label6.TabIndex = 11;
|
|
this.label6.Text = "名称";
|
|
//
|
|
// txtVarDesc
|
|
//
|
|
this.txtVarDesc.Location = new System.Drawing.Point(119, 52);
|
|
this.txtVarDesc.Name = "txtVarDesc";
|
|
this.txtVarDesc.Size = new System.Drawing.Size(222, 21);
|
|
this.txtVarDesc.TabIndex = 14;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(33, 56);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(29, 12);
|
|
this.label7.TabIndex = 13;
|
|
this.label7.Text = "描述";
|
|
//
|
|
// FrmTagEdit
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(367, 359);
|
|
this.Controls.Add(this.txtVarDesc);
|
|
this.Controls.Add(this.label7);
|
|
this.Controls.Add(this.txtVarName);
|
|
this.Controls.Add(this.label6);
|
|
this.Controls.Add(this.btnOk);
|
|
this.Controls.Add(this.cbxType);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.udStringLength);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.udDecimalPlaces);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.txtAddress);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.udPLC);
|
|
this.Controls.Add(this.label1);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmTagEdit";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "标签设置";
|
|
((System.ComponentModel.ISupportInitialize)(this.udPLC)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.udDecimalPlaces)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.udStringLength)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.NumericUpDown udPLC;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.TextBox txtAddress;
|
|
private System.Windows.Forms.NumericUpDown udDecimalPlaces;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.NumericUpDown udStringLength;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.ComboBox cbxType;
|
|
private System.Windows.Forms.Button btnOk;
|
|
private System.Windows.Forms.TextBox txtVarName;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TextBox txtVarDesc;
|
|
private System.Windows.Forms.Label label7;
|
|
}
|
|
} |