diff --git a/Rs.SkyLine/Recipe/StockTrayHaveOrNot.cs b/Rs.SkyLine/Recipe/StockTrayHaveOrNot.cs index 768d4c4..c9cc8f3 100644 --- a/Rs.SkyLine/Recipe/StockTrayHaveOrNot.cs +++ b/Rs.SkyLine/Recipe/StockTrayHaveOrNot.cs @@ -7,6 +7,7 @@ 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; @@ -136,6 +137,9 @@ namespace Rs.MotionPlat.Recipe { if(searchRegion!=null && searchRegion.IsInitialized()) { + + SlotProductHasOrNotResult reslut = UpCameraCheckFlow.Instance.CheckStockTrayHasProduct(ETrayType.Input); + return; hWindow_Final1.ClearWindow(); hWindow_Final1.HobjectToHimage(showImage); hWindow_Final1.DispObj(searchRegion);