From fb6e8bf702f124579540c8839162fb1b37ba829e Mon Sep 17 00:00:00 2001 From: lhiven <2366881222@qq.com> Date: Tue, 16 Jan 2024 09:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=99=E4=BB=93=E6=96=99=E7=9B=98=E6=9C=89?= =?UTF-8?q?=E6=97=A0=E6=A3=80=E6=B5=8B=E5=90=88=E5=B9=B6=E5=88=B0=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.SkyLine/Recipe/StockTrayHaveOrNot.cs | 4 ++++ 1 file changed, 4 insertions(+) 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);