2021-06-05 14:17:30 +08:00
|
|
|
|
namespace CleanMachineHMI.frmChild
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class frmAddPlcItem
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <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();
|
2021-12-26 21:30:02 +08:00
|
|
|
|
this.kryptonManager = new Krypton.Toolkit.KryptonManager(this.components);
|
|
|
|
|
|
this.kryptonPanel1 = new Krypton.Toolkit.KryptonPanel();
|
|
|
|
|
|
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
|
|
|
|
|
|
this.knud_plcItemDeviationAddress = new Krypton.Toolkit.KryptonNumericUpDown();
|
|
|
|
|
|
this.knud_plcItemPriAddress = new Krypton.Toolkit.KryptonNumericUpDown();
|
|
|
|
|
|
this.kcmb_plcItemDataType = new Krypton.Toolkit.KryptonComboBox();
|
|
|
|
|
|
this.kcmb_plcItemType = new Krypton.Toolkit.KryptonComboBox();
|
|
|
|
|
|
this.ktb_plcItemName = new Krypton.Toolkit.KryptonTextBox();
|
|
|
|
|
|
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.kryptonLabel4 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.kryptonLabel6 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.kryptonLabel3 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.ktb_plcItemCode = new Krypton.Toolkit.KryptonTextBox();
|
|
|
|
|
|
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
|
|
|
|
|
|
this.kryptonButton2 = new Krypton.Toolkit.KryptonButton();
|
2021-06-05 14:17:30 +08:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).BeginInit();
|
|
|
|
|
|
this.kryptonPanel1.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kcmb_plcItemDataType)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kcmb_plcItemType)).BeginInit();
|
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonManager
|
|
|
|
|
|
//
|
2021-12-26 21:30:02 +08:00
|
|
|
|
this.kryptonManager.GlobalPaletteMode = Krypton.Toolkit.PaletteModeManager.Office2007Blue;
|
2021-06-05 14:17:30 +08:00
|
|
|
|
//
|
|
|
|
|
|
// kryptonPanel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonButton2);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonButton1);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.knud_plcItemDeviationAddress);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.knud_plcItemPriAddress);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kcmb_plcItemDataType);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kcmb_plcItemType);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.ktb_plcItemName);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel5);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel4);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel6);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel3);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel2);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.ktb_plcItemCode);
|
|
|
|
|
|
this.kryptonPanel1.Controls.Add(this.kryptonLabel1);
|
|
|
|
|
|
this.kryptonPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
|
|
|
|
this.kryptonPanel1.Location = new System.Drawing.Point(0, 0);
|
|
|
|
|
|
this.kryptonPanel1.Name = "kryptonPanel1";
|
|
|
|
|
|
this.kryptonPanel1.Size = new System.Drawing.Size(273, 401);
|
|
|
|
|
|
this.kryptonPanel1.TabIndex = 5;
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonButton1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonButton1.Location = new System.Drawing.Point(21, 340);
|
|
|
|
|
|
this.kryptonButton1.Name = "kryptonButton1";
|
|
|
|
|
|
this.kryptonButton1.Size = new System.Drawing.Size(90, 36);
|
|
|
|
|
|
this.kryptonButton1.TabIndex = 15;
|
|
|
|
|
|
this.kryptonButton1.Values.Text = "确认";
|
|
|
|
|
|
this.kryptonButton1.Click += new System.EventHandler(this.kryptonButton1_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// knud_plcItemDeviationAddress
|
|
|
|
|
|
//
|
|
|
|
|
|
this.knud_plcItemDeviationAddress.Location = new System.Drawing.Point(21, 299);
|
|
|
|
|
|
this.knud_plcItemDeviationAddress.Maximum = new decimal(new int[] {
|
|
|
|
|
|
50,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0});
|
|
|
|
|
|
this.knud_plcItemDeviationAddress.Name = "knud_plcItemDeviationAddress";
|
|
|
|
|
|
this.knud_plcItemDeviationAddress.Size = new System.Drawing.Size(228, 22);
|
|
|
|
|
|
this.knud_plcItemDeviationAddress.TabIndex = 14;
|
|
|
|
|
|
//
|
|
|
|
|
|
// knud_plcItemPriAddress
|
|
|
|
|
|
//
|
|
|
|
|
|
this.knud_plcItemPriAddress.Location = new System.Drawing.Point(21, 245);
|
|
|
|
|
|
this.knud_plcItemPriAddress.Maximum = new decimal(new int[] {
|
|
|
|
|
|
9999,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0,
|
|
|
|
|
|
0});
|
|
|
|
|
|
this.knud_plcItemPriAddress.Name = "knud_plcItemPriAddress";
|
|
|
|
|
|
this.knud_plcItemPriAddress.Size = new System.Drawing.Size(228, 22);
|
|
|
|
|
|
this.knud_plcItemPriAddress.TabIndex = 14;
|
|
|
|
|
|
//
|
|
|
|
|
|
// kcmb_plcItemDataType
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kcmb_plcItemDataType.DropDownWidth = 207;
|
|
|
|
|
|
this.kcmb_plcItemDataType.Items.AddRange(new object[] {
|
|
|
|
|
|
"M 布尔类型",
|
|
|
|
|
|
"D 整数类型",
|
|
|
|
|
|
"X 布尔类型",
|
|
|
|
|
|
"Y 布尔类型"});
|
|
|
|
|
|
this.kcmb_plcItemDataType.Location = new System.Drawing.Point(21, 193);
|
|
|
|
|
|
this.kcmb_plcItemDataType.Name = "kcmb_plcItemDataType";
|
|
|
|
|
|
this.kcmb_plcItemDataType.Size = new System.Drawing.Size(228, 21);
|
|
|
|
|
|
this.kcmb_plcItemDataType.TabIndex = 12;
|
|
|
|
|
|
this.kcmb_plcItemDataType.SelectionChangeCommitted += new System.EventHandler(this.kcmb_plcItemDataType_SelectionChangeCommitted);
|
|
|
|
|
|
//
|
|
|
|
|
|
// kcmb_plcItemType
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kcmb_plcItemType.DropDownWidth = 207;
|
|
|
|
|
|
this.kcmb_plcItemType.Items.AddRange(new object[] {
|
|
|
|
|
|
"写入变量",
|
|
|
|
|
|
"读取变量",
|
|
|
|
|
|
"可读可写"});
|
|
|
|
|
|
this.kcmb_plcItemType.Location = new System.Drawing.Point(21, 140);
|
|
|
|
|
|
this.kcmb_plcItemType.Name = "kcmb_plcItemType";
|
|
|
|
|
|
this.kcmb_plcItemType.Size = new System.Drawing.Size(228, 21);
|
|
|
|
|
|
this.kcmb_plcItemType.TabIndex = 13;
|
|
|
|
|
|
//
|
|
|
|
|
|
// ktb_plcItemName
|
|
|
|
|
|
//
|
|
|
|
|
|
this.ktb_plcItemName.Location = new System.Drawing.Point(21, 85);
|
|
|
|
|
|
this.ktb_plcItemName.Name = "ktb_plcItemName";
|
|
|
|
|
|
this.ktb_plcItemName.Size = new System.Drawing.Size(228, 23);
|
|
|
|
|
|
this.ktb_plcItemName.TabIndex = 10;
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel5
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel5.Location = new System.Drawing.Point(24, 219);
|
|
|
|
|
|
this.kryptonLabel5.Name = "kryptonLabel5";
|
|
|
|
|
|
this.kryptonLabel5.Size = new System.Drawing.Size(134, 20);
|
|
|
|
|
|
this.kryptonLabel5.TabIndex = 5;
|
|
|
|
|
|
this.kryptonLabel5.Values.Text = "PLC变量寄存器地址:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel4
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel4.Location = new System.Drawing.Point(24, 167);
|
|
|
|
|
|
this.kryptonLabel4.Name = "kryptonLabel4";
|
|
|
|
|
|
this.kryptonLabel4.Size = new System.Drawing.Size(121, 20);
|
|
|
|
|
|
this.kryptonLabel4.TabIndex = 6;
|
|
|
|
|
|
this.kryptonLabel4.Values.Text = "PLC变量数据类型:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel6
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel6.Location = new System.Drawing.Point(24, 273);
|
|
|
|
|
|
this.kryptonLabel6.Name = "kryptonLabel6";
|
|
|
|
|
|
this.kryptonLabel6.Size = new System.Drawing.Size(121, 20);
|
|
|
|
|
|
this.kryptonLabel6.TabIndex = 8;
|
|
|
|
|
|
this.kryptonLabel6.Values.Text = "PLC变量偏移位置:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel3
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel3.Location = new System.Drawing.Point(24, 114);
|
|
|
|
|
|
this.kryptonLabel3.Name = "kryptonLabel3";
|
|
|
|
|
|
this.kryptonLabel3.Size = new System.Drawing.Size(95, 20);
|
|
|
|
|
|
this.kryptonLabel3.TabIndex = 7;
|
|
|
|
|
|
this.kryptonLabel3.Values.Text = "PLC变量类型:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel2.Location = new System.Drawing.Point(24, 63);
|
|
|
|
|
|
this.kryptonLabel2.Name = "kryptonLabel2";
|
|
|
|
|
|
this.kryptonLabel2.Size = new System.Drawing.Size(95, 20);
|
|
|
|
|
|
this.kryptonLabel2.TabIndex = 8;
|
|
|
|
|
|
this.kryptonLabel2.Values.Text = "PLC变量名称:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// ktb_plcItemCode
|
|
|
|
|
|
//
|
|
|
|
|
|
this.ktb_plcItemCode.Location = new System.Drawing.Point(21, 34);
|
|
|
|
|
|
this.ktb_plcItemCode.Name = "ktb_plcItemCode";
|
|
|
|
|
|
this.ktb_plcItemCode.Size = new System.Drawing.Size(228, 23);
|
|
|
|
|
|
this.ktb_plcItemCode.TabIndex = 11;
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonLabel1
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonLabel1.Location = new System.Drawing.Point(24, 12);
|
|
|
|
|
|
this.kryptonLabel1.Name = "kryptonLabel1";
|
|
|
|
|
|
this.kryptonLabel1.Size = new System.Drawing.Size(95, 20);
|
|
|
|
|
|
this.kryptonLabel1.TabIndex = 9;
|
|
|
|
|
|
this.kryptonLabel1.Values.Text = "PLC变量编码:";
|
|
|
|
|
|
//
|
|
|
|
|
|
// kryptonButton2
|
|
|
|
|
|
//
|
|
|
|
|
|
this.kryptonButton2.Location = new System.Drawing.Point(159, 340);
|
|
|
|
|
|
this.kryptonButton2.Name = "kryptonButton2";
|
|
|
|
|
|
this.kryptonButton2.Size = new System.Drawing.Size(90, 36);
|
|
|
|
|
|
this.kryptonButton2.TabIndex = 15;
|
|
|
|
|
|
this.kryptonButton2.Values.Text = "取消";
|
|
|
|
|
|
this.kryptonButton2.Click += new System.EventHandler(this.kryptonButton2_Click);
|
|
|
|
|
|
//
|
|
|
|
|
|
// frmAddPlcItem
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(273, 401);
|
|
|
|
|
|
this.Controls.Add(this.kryptonPanel1);
|
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
|
|
this.Name = "frmAddPlcItem";
|
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
|
|
this.Text = "Add PLC variable";
|
|
|
|
|
|
this.Load += new System.EventHandler(this.frmAddPlcItem_Load);
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel1)).EndInit();
|
|
|
|
|
|
this.kryptonPanel1.ResumeLayout(false);
|
|
|
|
|
|
this.kryptonPanel1.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kcmb_plcItemDataType)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.kcmb_plcItemType)).EndInit();
|
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
2021-12-26 21:30:02 +08:00
|
|
|
|
public Krypton.Toolkit.KryptonManager kryptonManager;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonPanel kryptonPanel1;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonButton kryptonButton1;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonNumericUpDown knud_plcItemPriAddress;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonComboBox kcmb_plcItemDataType;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonComboBox kcmb_plcItemType;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonTextBox ktb_plcItemName;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel4;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel3;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel2;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonTextBox ktb_plcItemCode;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel1;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonLabel kryptonLabel6;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonNumericUpDown knud_plcItemDeviationAddress;
|
|
|
|
|
|
private Krypton.Toolkit.KryptonButton kryptonButton2;
|
2021-06-05 14:17:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|