Commit e371218f LN

1

1 个父辈 cb06f669
......@@ -65,6 +65,7 @@
this.btnNeedLeave = new System.Windows.Forms.Button();
this.btnDis = new System.Windows.Forms.Button();
this.btnInit = new System.Windows.Forms.Button();
this.txtShelfId = new System.Windows.Forms.TextBox();
this.groupBox3.SuspendLayout();
this.panel1.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
......@@ -488,6 +489,7 @@
//
this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox5.Controls.Add(this.txtShelfId);
this.groupBox5.Controls.Add(this.txtname);
this.groupBox5.Controls.Add(this.btnNeedEntry);
this.groupBox5.Controls.Add(this.btnNeedLeave);
......@@ -513,7 +515,7 @@
// btnNeedEntry
//
this.btnNeedEntry.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnNeedEntry.Location = new System.Drawing.Point(496, 24);
this.btnNeedEntry.Location = new System.Drawing.Point(548, 24);
this.btnNeedEntry.Name = "btnNeedEntry";
this.btnNeedEntry.Size = new System.Drawing.Size(132, 39);
this.btnNeedEntry.TabIndex = 4;
......@@ -524,7 +526,7 @@
// btnNeedLeave
//
this.btnNeedLeave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnNeedLeave.Location = new System.Drawing.Point(358, 24);
this.btnNeedLeave.Location = new System.Drawing.Point(410, 24);
this.btnNeedLeave.Name = "btnNeedLeave";
this.btnNeedLeave.Size = new System.Drawing.Size(132, 39);
this.btnNeedLeave.TabIndex = 3;
......@@ -554,6 +556,16 @@
this.btnInit.UseVisualStyleBackColor = true;
this.btnInit.Click += new System.EventHandler(this.btnInit_Click);
//
// txtShelfId
//
this.txtShelfId.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtShelfId.Location = new System.Drawing.Point(354, 31);
this.txtShelfId.MaxLength = 4;
this.txtShelfId.Name = "txtShelfId";
this.txtShelfId.Size = new System.Drawing.Size(53, 26);
this.txtShelfId.TabIndex = 6;
this.txtShelfId.Text = "000";
//
// FrmVMIClient
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
......@@ -631,6 +643,7 @@
private System.Windows.Forms.Button btnStopTDown;
private System.Windows.Forms.ComboBox cmbStopList;
private System.Windows.Forms.TextBox txtname;
private System.Windows.Forms.TextBox txtShelfId;
}
}
......@@ -367,13 +367,13 @@ namespace OnlineStore.VMILineClient
string agvName = "C2";
private void btnNeedLeave_Click(object sender, EventArgs e)
{
AgvClient.NeedLeave(agvName);
AgvClient.NeedLeave(txtname.Text, txtShelfId.Text);
}
private void btnNeedEntry_Click(object sender, EventArgs e)
{
AgvClient.NeedEnter(agvName);
AgvClient.NeedEnter(txtname.Text);
}
private void btnInit_Click(object sender, EventArgs e)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!