Commit d59bfec6 张东亮

更改跑位界面只能打开一个

1 个父辈 e0bb3e8e
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
<add key="Box_ConfigPath" value="\StoreConfig\BoxConfig.csv" /> <add key="Box_ConfigPath" value="\StoreConfig\BoxConfig.csv" />
<add key="Store_Type" value="RC_AC_SA" /> <add key="Store_Type" value="RC_AC_SA" />
<add key="Store_CID" value="D1" /> <add key="Store_CID" value="D1" />
<add key="Store_CID_1" value="line-ac-01" /> <add key="Store_CID_1" value="line-ac-05" />
<add key="Store_CID_2" value="line-ac-02" /> <add key="Store_CID_2" value="line-ac-06" />
<!--end one store config--> <!--end one store config-->
<add key="ACBaudRate" value="115200" /> <add key="ACBaudRate" value="115200" />
<add key="InOutDefaultPosition" value="5000" /> <add key="InOutDefaultPosition" value="5000" />
......
...@@ -314,7 +314,7 @@ ...@@ -314,7 +314,7 @@
this.groupBox1.Controls.Add(this.label43); this.groupBox1.Controls.Add(this.label43);
this.groupBox1.Controls.Add(this.label42); this.groupBox1.Controls.Add(this.label42);
this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.groupBox1.Location = new System.Drawing.Point(11, 436); this.groupBox1.Location = new System.Drawing.Point(11, 440);
this.groupBox1.Name = "groupBox1"; this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(476, 136); this.groupBox1.Size = new System.Drawing.Size(476, 136);
this.groupBox1.TabIndex = 217; this.groupBox1.TabIndex = 217;
...@@ -493,7 +493,7 @@ ...@@ -493,7 +493,7 @@
this.groupBox2.Controls.Add(this.button6); this.groupBox2.Controls.Add(this.button6);
this.groupBox2.Controls.Add(this.button3); this.groupBox2.Controls.Add(this.button3);
this.groupBox2.Controls.Add(this.button5); this.groupBox2.Controls.Add(this.button5);
this.groupBox2.Location = new System.Drawing.Point(11, 352); this.groupBox2.Location = new System.Drawing.Point(11, 356);
this.groupBox2.Name = "groupBox2"; this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(476, 78); this.groupBox2.Size = new System.Drawing.Size(476, 78);
this.groupBox2.TabIndex = 276; this.groupBox2.TabIndex = 276;
......
...@@ -1110,11 +1110,20 @@ namespace OnlineStore.ACSingleStore ...@@ -1110,11 +1110,20 @@ namespace OnlineStore.ACSingleStore
{ {
} }
FrmInOutStore frmInOutStore = null;
private void btnInOutTest_Click(object sender, EventArgs e) private void btnInOutTest_Click(object sender, EventArgs e)
{ {
FrmInOutStore frmInOutStore = new FrmInOutStore(boxBean); if (frmInOutStore == null)
{
frmInOutStore = new FrmInOutStore(boxBean);
}
frmInOutStore.Show(); frmInOutStore.Show();
frmInOutStore.FormClosed += frmInOutStore_FormClosed;
frmInOutStore.Focus();
}
private void frmInOutStore_FormClosed(object sender, FormClosedEventArgs e)
{
frmInOutStore = null;
} }
} }
} }
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!