首次上传

This commit is contained in:
hanqiangqiang
2026-06-15 10:56:30 +08:00
commit b0213b94d6
4160 changed files with 736101 additions and 0 deletions
@@ -0,0 +1,56 @@
using Aitex.Core.RT.Routine;
using Aitex.Core.RT.SCCore;
namespace SicModules.Aligners.Routines
{
public class AlignerHomeRoutine : AlignerBaseRoutine
{
enum RoutineStep
{
Home,
SME,
MsgCheckWafer,
TimeDelay1,
}
public AlignerHomeRoutine()
{
Name = "Home";
}
public override Result Start(params object[] objs)
{
Reset();
Notify("Start");
return Result.RUN;
}
public override Result Monitor()
{
try
{
if (SC.GetValue<bool>($"System.IsSimulatorMode"))
{
TimeDelay((int)RoutineStep.TimeDelay1, 3);
return Result.DONE;
}
Home((int)RoutineStep.Home, 40);
AlignerSME((int)RoutineStep.SME, 30);
MsgCheckHaveWafer((int)RoutineStep.MsgCheckWafer, 30);
}
catch (RoutineBreakException)
{
return Result.RUN;
}
catch (RoutineFaildException)
{
return Result.FAIL;
}
return Result.DONE;
}
}
}