|
|
|
@ -249,7 +249,7 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
undealTasks = LoadAndUnloadTask.Instance.GetTurnoverToTestTasks(ETaskDealStatus.Undeal);
|
|
|
|
|
TurnoverDumpFlow.Instance.Dump(ETrayType.Turnover, undealTasks.Select(t => t.FromIndex + 1).ToList());
|
|
|
|
|
TurnoverDumpFlow.Instance.Dump(ETrayType.Turnover, undealTasks.Select(t => ((t.FromIndex + 1) > 8 ? (t.FromIndex + 1) - 8 : (t.FromIndex + 1))).ToList());
|
|
|
|
|
TurnoverDumpFlow.Instance.Wait();
|
|
|
|
|
Step = ETurnoverFlowStep.取料异常报警;
|
|
|
|
|
}
|
|
|
|
@ -265,7 +265,7 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
while (!exit)
|
|
|
|
|
{
|
|
|
|
|
//alarmInfo = GetClassName() + $"周转盘{string.Join(",", untestSlots.Select(s => s.Index))}号穴位产品未取出,请处理";
|
|
|
|
|
alarmInfo = string.Format(AlarmCollection.GetAlarm(AlarmConstID.周转吸头在周转盘取料失败报警), untestSlots.Select(s => s.Index).ToJoinString(), untestSlots.Select(s => s.Index).ToJoinString());
|
|
|
|
|
alarmInfo = string.Format(AlarmCollection.GetAlarm(AlarmConstID.周转吸头在周转盘取料失败报警), untestSlots.Select(s => (s.Index>8?s.Index-8:s.Index)).ToJoinString(), untestSlots.Select(s => s.Index).ToJoinString());
|
|
|
|
|
//TestCenterMessageBox.Show(AlarmConstID.TurnoverTakeFailAlarm, alarmInfo, MessageButtonManager.GetRetry_Skip_MoveToSafe_Button(),
|
|
|
|
|
//MessageButtonManager.GetRetry_Skip_MoveToSafe_ButtonText());
|
|
|
|
|
msgBox = MsgBox.ShowDialog(AlarmConstID.周转吸头在周转盘取料失败报警, alarmInfo, MessageButtonManager.GetRetry_Skip_MoveToSafe_Button(),MessageButtonManager.GetRetry_Skip_MoveToSafe_ButtonText());// TestCenterMessageBox.WaitResult(AlarmConstID.TurnoverTakeFailAlarm);
|
|
|
|
@ -287,7 +287,7 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
{
|
|
|
|
|
WarningSuckerNgFlow.Instance.DealNgProduct(ETrayType.Turnover, slot.Index);
|
|
|
|
|
slot.ClearProduct();
|
|
|
|
|
VacManager.TurnoverTrayVacSuction(EVacOperator.Close,true, slot.Index);
|
|
|
|
|
VacManager.TurnoverTrayVacSuction(EVacOperator.Close, true, slot.Index > 8 ? slot.Index - 8 : slot.Index);
|
|
|
|
|
GlobalTray.TurnoverTray.ChangeStatus(slot.Index, ESlotStatus.NotHave);
|
|
|
|
|
}
|
|
|
|
|
exit = true;
|
|
|
|
@ -490,7 +490,7 @@ namespace Rs.MotionPlat.Flow
|
|
|
|
|
undealTasks = LoadAndUnloadTask.Instance.GetTurnoverToTestTasks(ETaskDealStatus.Undeal);
|
|
|
|
|
if(undealTasks.Count > 0 )
|
|
|
|
|
{
|
|
|
|
|
TurnoverDumpFlow.Instance.Dump(ETrayType.Turnover, undealTasks.Select(t => t.FromIndex + 1).ToList());
|
|
|
|
|
TurnoverDumpFlow.Instance.Dump(ETrayType.Turnover, undealTasks.Select(t => ((t.FromIndex + 1) > 8 ? (t.FromIndex + 1 - 8) : (t.FromIndex + 1))).ToList());
|
|
|
|
|
TurnoverDumpFlow.Instance.Wait();
|
|
|
|
|
}
|
|
|
|
|
Step = ETurnoverFlowStep.到测试放料位上方;
|
|
|
|
|