310 lines
14 KiB
C#
310 lines
14 KiB
C#
|
namespace epickHost
|
|||
|
{
|
|||
|
partial class OPCForm
|
|||
|
{
|
|||
|
/// <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();
|
|||
|
this.listServers = new System.Windows.Forms.ListBox();
|
|||
|
this.btnConnect = new System.Windows.Forms.Button();
|
|||
|
this.listItems = new System.Windows.Forms.ListBox();
|
|||
|
this.lbMsg = new System.Windows.Forms.Label();
|
|||
|
this.btnDisconnect = new System.Windows.Forms.Button();
|
|||
|
this.btnAddItems = new System.Windows.Forms.Button();
|
|||
|
this.listMoreBoxes = new System.Windows.Forms.ListBox();
|
|||
|
this.btnWriteMoreBoxes = new System.Windows.Forms.Button();
|
|||
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|||
|
this.btnReadBarcode = new System.Windows.Forms.Button();
|
|||
|
this.lbResult = new System.Windows.Forms.Label();
|
|||
|
this.lbCycle = new System.Windows.Forms.Label();
|
|||
|
this.listBoxBarcode = new System.Windows.Forms.ListBox();
|
|||
|
this.btnBarcode = new System.Windows.Forms.Button();
|
|||
|
this.listBoxTerminal = new System.Windows.Forms.ListBox();
|
|||
|
this.btnTerminal = new System.Windows.Forms.Button();
|
|||
|
this.btnWriteTerminal = new System.Windows.Forms.Button();
|
|||
|
this.chkBoxMoreboxes = new System.Windows.Forms.CheckBox();
|
|||
|
this.lbMoreBoxes = new System.Windows.Forms.Label();
|
|||
|
this.lbBarcode = new System.Windows.Forms.Label();
|
|||
|
this.lbTerminal = new System.Windows.Forms.Label();
|
|||
|
this.txtTerminal = new System.Windows.Forms.TextBox();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// listServers
|
|||
|
//
|
|||
|
this.listServers.FormattingEnabled = true;
|
|||
|
this.listServers.ItemHeight = 18;
|
|||
|
this.listServers.Location = new System.Drawing.Point(108, 97);
|
|||
|
this.listServers.Name = "listServers";
|
|||
|
this.listServers.Size = new System.Drawing.Size(328, 112);
|
|||
|
this.listServers.TabIndex = 0;
|
|||
|
//
|
|||
|
// btnConnect
|
|||
|
//
|
|||
|
this.btnConnect.Location = new System.Drawing.Point(505, 97);
|
|||
|
this.btnConnect.Name = "btnConnect";
|
|||
|
this.btnConnect.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnConnect.TabIndex = 1;
|
|||
|
this.btnConnect.Text = "建立连接";
|
|||
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|||
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|||
|
//
|
|||
|
// listItems
|
|||
|
//
|
|||
|
this.listItems.FormattingEnabled = true;
|
|||
|
this.listItems.ItemHeight = 18;
|
|||
|
this.listItems.Location = new System.Drawing.Point(708, 97);
|
|||
|
this.listItems.Name = "listItems";
|
|||
|
this.listItems.Size = new System.Drawing.Size(328, 184);
|
|||
|
this.listItems.TabIndex = 2;
|
|||
|
//
|
|||
|
// lbMsg
|
|||
|
//
|
|||
|
this.lbMsg.AutoSize = true;
|
|||
|
this.lbMsg.Location = new System.Drawing.Point(116, 33);
|
|||
|
this.lbMsg.Name = "lbMsg";
|
|||
|
this.lbMsg.Size = new System.Drawing.Size(80, 18);
|
|||
|
this.lbMsg.TabIndex = 3;
|
|||
|
this.lbMsg.Text = "执行动作";
|
|||
|
//
|
|||
|
// btnDisconnect
|
|||
|
//
|
|||
|
this.btnDisconnect.Location = new System.Drawing.Point(505, 170);
|
|||
|
this.btnDisconnect.Name = "btnDisconnect";
|
|||
|
this.btnDisconnect.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnDisconnect.TabIndex = 4;
|
|||
|
this.btnDisconnect.Text = "断开连接";
|
|||
|
this.btnDisconnect.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// btnAddItems
|
|||
|
//
|
|||
|
this.btnAddItems.Location = new System.Drawing.Point(708, 314);
|
|||
|
this.btnAddItems.Name = "btnAddItems";
|
|||
|
this.btnAddItems.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnAddItems.TabIndex = 5;
|
|||
|
this.btnAddItems.Text = "送箱子变量";
|
|||
|
this.btnAddItems.UseVisualStyleBackColor = true;
|
|||
|
this.btnAddItems.Click += new System.EventHandler(this.btnAddItems_Click);
|
|||
|
//
|
|||
|
// listMoreBoxes
|
|||
|
//
|
|||
|
this.listMoreBoxes.FormattingEnabled = true;
|
|||
|
this.listMoreBoxes.ItemHeight = 18;
|
|||
|
this.listMoreBoxes.Location = new System.Drawing.Point(708, 359);
|
|||
|
this.listMoreBoxes.Name = "listMoreBoxes";
|
|||
|
this.listMoreBoxes.Size = new System.Drawing.Size(328, 76);
|
|||
|
this.listMoreBoxes.TabIndex = 6;
|
|||
|
//
|
|||
|
// btnWriteMoreBoxes
|
|||
|
//
|
|||
|
this.btnWriteMoreBoxes.Location = new System.Drawing.Point(301, 314);
|
|||
|
this.btnWriteMoreBoxes.Name = "btnWriteMoreBoxes";
|
|||
|
this.btnWriteMoreBoxes.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnWriteMoreBoxes.TabIndex = 7;
|
|||
|
this.btnWriteMoreBoxes.Text = "写送箱子指令";
|
|||
|
this.btnWriteMoreBoxes.UseVisualStyleBackColor = true;
|
|||
|
this.btnWriteMoreBoxes.Click += new System.EventHandler(this.btnWriteMoreBoxes_Click);
|
|||
|
//
|
|||
|
// btnReadBarcode
|
|||
|
//
|
|||
|
this.btnReadBarcode.Location = new System.Drawing.Point(301, 458);
|
|||
|
this.btnReadBarcode.Name = "btnReadBarcode";
|
|||
|
this.btnReadBarcode.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnReadBarcode.TabIndex = 8;
|
|||
|
this.btnReadBarcode.Text = "读箱子条码";
|
|||
|
this.btnReadBarcode.UseVisualStyleBackColor = true;
|
|||
|
this.btnReadBarcode.Click += new System.EventHandler(this.btnReadBarcode_Click);
|
|||
|
//
|
|||
|
// lbResult
|
|||
|
//
|
|||
|
this.lbResult.AutoSize = true;
|
|||
|
this.lbResult.Location = new System.Drawing.Point(116, 62);
|
|||
|
this.lbResult.Name = "lbResult";
|
|||
|
this.lbResult.Size = new System.Drawing.Size(44, 18);
|
|||
|
this.lbResult.TabIndex = 9;
|
|||
|
this.lbResult.Text = "结果";
|
|||
|
//
|
|||
|
// lbCycle
|
|||
|
//
|
|||
|
this.lbCycle.AutoSize = true;
|
|||
|
this.lbCycle.Location = new System.Drawing.Point(502, 33);
|
|||
|
this.lbCycle.Name = "lbCycle";
|
|||
|
this.lbCycle.Size = new System.Drawing.Size(80, 18);
|
|||
|
this.lbCycle.TabIndex = 10;
|
|||
|
this.lbCycle.Text = "执行次数";
|
|||
|
//
|
|||
|
// listBoxBarcode
|
|||
|
//
|
|||
|
this.listBoxBarcode.FormattingEnabled = true;
|
|||
|
this.listBoxBarcode.ItemHeight = 18;
|
|||
|
this.listBoxBarcode.Location = new System.Drawing.Point(708, 503);
|
|||
|
this.listBoxBarcode.Name = "listBoxBarcode";
|
|||
|
this.listBoxBarcode.Size = new System.Drawing.Size(328, 76);
|
|||
|
this.listBoxBarcode.TabIndex = 12;
|
|||
|
//
|
|||
|
// btnBarcode
|
|||
|
//
|
|||
|
this.btnBarcode.Location = new System.Drawing.Point(708, 458);
|
|||
|
this.btnBarcode.Name = "btnBarcode";
|
|||
|
this.btnBarcode.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnBarcode.TabIndex = 11;
|
|||
|
this.btnBarcode.Text = "箱子条码变量";
|
|||
|
this.btnBarcode.UseVisualStyleBackColor = true;
|
|||
|
this.btnBarcode.Click += new System.EventHandler(this.btnBarcode_Click);
|
|||
|
//
|
|||
|
// listBoxTerminal
|
|||
|
//
|
|||
|
this.listBoxTerminal.FormattingEnabled = true;
|
|||
|
this.listBoxTerminal.ItemHeight = 18;
|
|||
|
this.listBoxTerminal.Location = new System.Drawing.Point(708, 655);
|
|||
|
this.listBoxTerminal.Name = "listBoxTerminal";
|
|||
|
this.listBoxTerminal.Size = new System.Drawing.Size(328, 76);
|
|||
|
this.listBoxTerminal.TabIndex = 14;
|
|||
|
//
|
|||
|
// btnTerminal
|
|||
|
//
|
|||
|
this.btnTerminal.Location = new System.Drawing.Point(708, 610);
|
|||
|
this.btnTerminal.Name = "btnTerminal";
|
|||
|
this.btnTerminal.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnTerminal.TabIndex = 13;
|
|||
|
this.btnTerminal.Text = "弹出口变量";
|
|||
|
this.btnTerminal.UseVisualStyleBackColor = true;
|
|||
|
this.btnTerminal.Click += new System.EventHandler(this.btnTerminal_Click);
|
|||
|
//
|
|||
|
// btnWriteTerminal
|
|||
|
//
|
|||
|
this.btnWriteTerminal.Location = new System.Drawing.Point(301, 610);
|
|||
|
this.btnWriteTerminal.Name = "btnWriteTerminal";
|
|||
|
this.btnWriteTerminal.Size = new System.Drawing.Size(135, 39);
|
|||
|
this.btnWriteTerminal.TabIndex = 15;
|
|||
|
this.btnWriteTerminal.Text = "写箱子弹出口";
|
|||
|
this.btnWriteTerminal.UseVisualStyleBackColor = true;
|
|||
|
this.btnWriteTerminal.Click += new System.EventHandler(this.btnWriteTerminal_Click);
|
|||
|
//
|
|||
|
// chkBoxMoreboxes
|
|||
|
//
|
|||
|
this.chkBoxMoreboxes.AutoSize = true;
|
|||
|
this.chkBoxMoreboxes.Location = new System.Drawing.Point(476, 323);
|
|||
|
this.chkBoxMoreboxes.Name = "chkBoxMoreboxes";
|
|||
|
this.chkBoxMoreboxes.Size = new System.Drawing.Size(106, 22);
|
|||
|
this.chkBoxMoreboxes.TabIndex = 16;
|
|||
|
this.chkBoxMoreboxes.Text = "需要更多";
|
|||
|
this.chkBoxMoreboxes.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// lbMoreBoxes
|
|||
|
//
|
|||
|
this.lbMoreBoxes.AutoSize = true;
|
|||
|
this.lbMoreBoxes.Location = new System.Drawing.Point(324, 373);
|
|||
|
this.lbMoreBoxes.Name = "lbMoreBoxes";
|
|||
|
this.lbMoreBoxes.Size = new System.Drawing.Size(80, 18);
|
|||
|
this.lbMoreBoxes.TabIndex = 17;
|
|||
|
this.lbMoreBoxes.Text = "执行结果";
|
|||
|
//
|
|||
|
// lbBarcode
|
|||
|
//
|
|||
|
this.lbBarcode.AutoSize = true;
|
|||
|
this.lbBarcode.Location = new System.Drawing.Point(324, 515);
|
|||
|
this.lbBarcode.Name = "lbBarcode";
|
|||
|
this.lbBarcode.Size = new System.Drawing.Size(80, 18);
|
|||
|
this.lbBarcode.TabIndex = 18;
|
|||
|
this.lbBarcode.Text = "执行结果";
|
|||
|
//
|
|||
|
// lbTerminal
|
|||
|
//
|
|||
|
this.lbTerminal.AutoSize = true;
|
|||
|
this.lbTerminal.Location = new System.Drawing.Point(324, 664);
|
|||
|
this.lbTerminal.Name = "lbTerminal";
|
|||
|
this.lbTerminal.Size = new System.Drawing.Size(80, 18);
|
|||
|
this.lbTerminal.TabIndex = 19;
|
|||
|
this.lbTerminal.Text = "执行结果";
|
|||
|
//
|
|||
|
// txtTerminal
|
|||
|
//
|
|||
|
this.txtTerminal.Location = new System.Drawing.Point(452, 617);
|
|||
|
this.txtTerminal.Name = "txtTerminal";
|
|||
|
this.txtTerminal.Size = new System.Drawing.Size(155, 28);
|
|||
|
this.txtTerminal.TabIndex = 20;
|
|||
|
this.txtTerminal.Text = "12340607";
|
|||
|
//
|
|||
|
// OPCForm
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.ClientSize = new System.Drawing.Size(1171, 924);
|
|||
|
this.Controls.Add(this.txtTerminal);
|
|||
|
this.Controls.Add(this.lbTerminal);
|
|||
|
this.Controls.Add(this.lbBarcode);
|
|||
|
this.Controls.Add(this.lbMoreBoxes);
|
|||
|
this.Controls.Add(this.chkBoxMoreboxes);
|
|||
|
this.Controls.Add(this.btnWriteTerminal);
|
|||
|
this.Controls.Add(this.listBoxTerminal);
|
|||
|
this.Controls.Add(this.btnTerminal);
|
|||
|
this.Controls.Add(this.listBoxBarcode);
|
|||
|
this.Controls.Add(this.btnBarcode);
|
|||
|
this.Controls.Add(this.lbCycle);
|
|||
|
this.Controls.Add(this.lbResult);
|
|||
|
this.Controls.Add(this.btnReadBarcode);
|
|||
|
this.Controls.Add(this.btnWriteMoreBoxes);
|
|||
|
this.Controls.Add(this.listMoreBoxes);
|
|||
|
this.Controls.Add(this.btnAddItems);
|
|||
|
this.Controls.Add(this.btnDisconnect);
|
|||
|
this.Controls.Add(this.lbMsg);
|
|||
|
this.Controls.Add(this.listItems);
|
|||
|
this.Controls.Add(this.btnConnect);
|
|||
|
this.Controls.Add(this.listServers);
|
|||
|
this.Name = "OPCForm";
|
|||
|
this.Text = "OPC";
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.ListBox listServers;
|
|||
|
private System.Windows.Forms.Button btnConnect;
|
|||
|
private System.Windows.Forms.ListBox listItems;
|
|||
|
private System.Windows.Forms.Label lbMsg;
|
|||
|
private System.Windows.Forms.Button btnDisconnect;
|
|||
|
private System.Windows.Forms.Button btnAddItems;
|
|||
|
private System.Windows.Forms.ListBox listMoreBoxes;
|
|||
|
private System.Windows.Forms.Button btnWriteMoreBoxes;
|
|||
|
private System.Windows.Forms.Timer timer1;
|
|||
|
private System.Windows.Forms.Button btnReadBarcode;
|
|||
|
private System.Windows.Forms.Label lbResult;
|
|||
|
private System.Windows.Forms.Label lbCycle;
|
|||
|
private System.Windows.Forms.ListBox listBoxBarcode;
|
|||
|
private System.Windows.Forms.Button btnBarcode;
|
|||
|
private System.Windows.Forms.ListBox listBoxTerminal;
|
|||
|
private System.Windows.Forms.Button btnTerminal;
|
|||
|
private System.Windows.Forms.Button btnWriteTerminal;
|
|||
|
private System.Windows.Forms.CheckBox chkBoxMoreboxes;
|
|||
|
private System.Windows.Forms.Label lbMoreBoxes;
|
|||
|
private System.Windows.Forms.Label lbBarcode;
|
|||
|
private System.Windows.Forms.Label lbTerminal;
|
|||
|
private System.Windows.Forms.TextBox txtTerminal;
|
|||
|
}
|
|||
|
}
|