From 47c4cdc762a268735af5a38941345dda6f39eb8a Mon Sep 17 00:00:00 2001 From: lhiven Date: Thu, 6 Mar 2025 15:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=86=E8=A7=89=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E5=88=B0=E6=B2=A1=E6=9C=89=E4=BA=A7=E5=93=81=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BF=87=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs index 2ff64ac..565c790 100644 --- a/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs +++ b/Rs.DeweyTester/Flow/NormalFlow/DischargeFlow.cs @@ -262,6 +262,8 @@ namespace Rs.MotionPlat.Flow case EDischargeFlowStep.工作前准备: if(!GlobalVar.RunSpace) { + //lot start + DevLog.EventTracker("Start", 0, "", "Start"); EnvironmentPrepareFlow.Instance.Prepare(); } flowStep = EDischargeFlowStep.判断是否需要从料仓取料; @@ -457,6 +459,15 @@ namespace Rs.MotionPlat.Flow flowStep = EDischargeFlowStep.判断是否需要从料仓取料; } } + else if(fixtureret.Result== EOneGrabSixteenResult.NoHaveProdut) + { + logInfo =GetClassName()+ $"视觉检测到穴位{ret.SlotIndex}无料,自动跳过"; + exit = true; + GlobalTray.InputTray.ChangeStatus(ret.SlotIndex, ESlotStatus.NotHave); + takeSlotIndex++; + flowStep = EDischargeFlowStep.判断是否需要从料仓取料; + + } } }