|
|
@@ -434,7 +434,6 @@ namespace UAS_MES.Make
|
|
|
thread.Interrupt();
|
|
|
}
|
|
|
//thread.Abort();
|
|
|
- dh.Dispose();
|
|
|
}
|
|
|
|
|
|
private void Packing_Click(object sender, EventArgs e)
|
|
|
@@ -450,7 +449,7 @@ namespace UAS_MES.Make
|
|
|
pa_standardqty.Text = "";
|
|
|
LogicHandler.DoCommandLog(Tag.ToString(), User.UserCode, pa_makecode.Text, User.UserLineCode, User.UserSourceCode, "卡通箱采集", "封箱成功", pa_outboxcode.Text, "");
|
|
|
OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "封箱成功\n", Color.Green);
|
|
|
- if (PR_CHECKCARTONW != "0")
|
|
|
+ if (PR_CHECKCARTONW != "0"&& pa_standardqty.Text == pa_currentqty.Text)
|
|
|
{
|
|
|
float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
|
|
|
if (!(weigh > MinWeight && weigh < MaxWeight))
|