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.判断是否需要从料仓取料; + + } } }