1、GRR模式去掉产品二维码长度的检测。

develop
lhiven 3 months ago
parent 2d7f1dcfb0
commit 1378ca2d25

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

Loading…
Cancel
Save