|
|
@@ -240,6 +240,7 @@ namespace UAS_LabelMachine
|
|
|
if (!FrontCheckFunction(msg, out ErrorMsg))
|
|
|
{
|
|
|
LogicHandler.SendDataToPLC(PLC1, PLCInstruct.FrontDataDelete);
|
|
|
+ BaseUtil.PlaySound("Scan.Error.wav");
|
|
|
MessageLog.AppendText(">>" + ErrorMsg + "\n", Color.Red);
|
|
|
}
|
|
|
else
|
|
|
@@ -258,6 +259,7 @@ namespace UAS_LabelMachine
|
|
|
}
|
|
|
}
|
|
|
LabelInf.Rows[CurrentRowIndex].Cells["pib_ifpick"].Value = true;
|
|
|
+ BaseUtil.PlaySound("Scan.Finish.wav");
|
|
|
//勾选了中盒自动打印
|
|
|
if (MidLabelAutoPrint.Checked)
|
|
|
AutoPrintMidLabel();
|
|
|
@@ -270,10 +272,12 @@ namespace UAS_LabelMachine
|
|
|
if (BackendCheckFunction(msg, pib_id, out ErrorMsg))
|
|
|
{
|
|
|
LogicHandler.SendDataToPLC(PLC1, PLCInstruct.BackDataPass);
|
|
|
+ BaseUtil.PlaySound("Confirm.Finish.wav");
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
LogicHandler.SendDataToPLC(PLC1, PLCInstruct.BackDataDelete);
|
|
|
+ BaseUtil.PlaySound("Confirm.Error.wav");
|
|
|
MessageLog.AppendText(">>" + ErrorMsg + "\n", Color.Red);
|
|
|
}
|
|
|
break;
|