From 16ee029dcce494e149447557fd2c09a243f252c8 Mon Sep 17 00:00:00 2001 From: lhiven Date: Sun, 28 Jul 2024 07:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=BB=E5=85=B7=E5=8F=96=E6=96=99=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E5=A2=9E=E5=8A=A0=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/SubFlow/FixtureTakeFlow.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Rs.DeweyTester/Flow/SubFlow/FixtureTakeFlow.cs b/Rs.DeweyTester/Flow/SubFlow/FixtureTakeFlow.cs index 1586ca5..9e39f72 100644 --- a/Rs.DeweyTester/Flow/SubFlow/FixtureTakeFlow.cs +++ b/Rs.DeweyTester/Flow/SubFlow/FixtureTakeFlow.cs @@ -234,7 +234,17 @@ namespace Rs.MotionPlat.Flow.SubFlow else { alarmEntity = AlarmCollection.Get(AlarmConstID.治具取料失败真空报警).Transform(curNozzle.NozzleIndex, curFixture.Index); - Msgbox.ShowDialog(alarmEntity, EButtonType.Recheck, true); + EButtonType buttonSelect = Msgbox.ShowDialog(alarmEntity, EButtonType.Recheck | EButtonType.Skip, true); + if(buttonSelect== EButtonType.Skip) + { + curNozzle.VacSuction(EIoOperate.Close, GetClassName()); + curNozzle.Product = null; + curNozzle.Status = ENozzleStatus.IDLE; + curFixture.Clear(); + GlobalTray.NozzleTray.ChangeStatus(curNozzle.NozzleIndex, ESlotStatus.NotHave); + finished = true; + flowStep = EFixtureTakeFlowStep.待触发; + } //Msgbox.ShowTipDialog(EButtonType.Recheck, $"吸嘴{curNozzle.NozzleIndex}从治具{curFixture.Index}取料时真空检测异常,请处理","vac error",true); }