diff --git a/Rs.SkyLine/Recipe/TurnoverTrayHaveOrNot.cs b/Rs.SkyLine/Recipe/TurnoverTrayHaveOrNot.cs index a2abfc6..4af0e6a 100644 --- a/Rs.SkyLine/Recipe/TurnoverTrayHaveOrNot.cs +++ b/Rs.SkyLine/Recipe/TurnoverTrayHaveOrNot.cs @@ -6,6 +6,8 @@ using Rs.DataAccess; using Rs.Framework; using Rs.MotionPlat.Commom; using Rs.MotionPlat.Flow; +using Rs.MotionPlat.Flow.Camera; +using Rs.MotionPlat.Flow.SubFlow; using System; using System.Collections.Generic; using System.ComponentModel; @@ -160,6 +162,8 @@ namespace Rs.MotionPlat.Recipe { if (searchRegion != null && searchRegion.IsInitialized()) { + SlotProductHasOrNotResult result = UpCameraCheckFlow.Instance.CheckTurnoverTrayHasProduct(null, 1, false); + return; hWindow_Final1.ClearWindow(); hWindow_Final1.HobjectToHimage(showImage); HOperatorSet.ReduceDomain(showImage, searchRegion, out HObject imageReduced);