治具取料失败增加跳过功能

master
lhiven 10 months ago
parent dc89002b77
commit 16ee029dcc

@ -234,7 +234,17 @@ namespace Rs.MotionPlat.Flow.SubFlow
else else
{ {
alarmEntity = AlarmCollection.Get(AlarmConstID.).Transform(curNozzle.NozzleIndex, curFixture.Index); 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); //Msgbox.ShowTipDialog(EButtonType.Recheck, $"吸嘴{curNozzle.NozzleIndex}从治具{curFixture.Index}取料时真空检测异常,请处理","vac error",true);
} }

Loading…
Cancel
Save