|
|
|
@ -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);
|
|
|
|
|