|
|
|
@ -277,15 +277,15 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
vProductResult.Parse(msg);
|
|
|
|
|
if ((vProductResult != null && vProductResult.Result == EOneGrabSixteenResult.Ok) || GlobalVar.RunSpace)
|
|
|
|
|
{
|
|
|
|
|
if(vProductResult.SN.Length==GlobalVar.BarcodeLength)
|
|
|
|
|
//if(vProductResult.SN.Length==GlobalVar.BarcodeLength)
|
|
|
|
|
{
|
|
|
|
|
flowStep = EGrrFlowStep.到料仓取料位上方;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
alarmEntity = AlarmCollection.Get(AlarmConstID.二维码长度异常报警);
|
|
|
|
|
Msgbox.ShowDialog(alarmEntity, EButtonType.Retry, true);
|
|
|
|
|
}
|
|
|
|
|
//else
|
|
|
|
|
//{
|
|
|
|
|
// alarmEntity = AlarmCollection.Get(AlarmConstID.二维码长度异常报警);
|
|
|
|
|
// Msgbox.ShowDialog(alarmEntity, EButtonType.Retry, true);
|
|
|
|
|
//}
|
|
|
|
|
}
|
|
|
|
|
else if (vProductResult != null && vProductResult.Result == EOneGrabSixteenResult.LocationOkScanBarcodeFail)
|
|
|
|
|
{
|
|
|
|
|