load伺服配置不隐藏
删除tm控制v124代码
This commit is contained in:
@@ -12,7 +12,8 @@ namespace SicModules.LLs.Routines
|
||||
{
|
||||
CloseV79,
|
||||
CloseV83,
|
||||
CloseV84
|
||||
CloseV84,
|
||||
CloseV85
|
||||
}
|
||||
|
||||
private int _homeTimeout;
|
||||
@@ -41,6 +42,7 @@ namespace SicModules.LLs.Routines
|
||||
CloseLoadVent((int)RoutineStep.CloseV79);
|
||||
CloseFastPump((int)RoutineStep.CloseV83);
|
||||
CloseSlowPump((int)RoutineStep.CloseV84);
|
||||
CloseBalanceValve((int)RoutineStep.CloseV85);
|
||||
|
||||
LoadLockDevice.AutoCreatWafer();
|
||||
}
|
||||
@@ -59,84 +61,6 @@ namespace SicModules.LLs.Routines
|
||||
return Result.DONE;
|
||||
}
|
||||
|
||||
public void CloseLoadVent(int id)
|
||||
{
|
||||
Tuple<bool, Result> ret = Execute(id, () =>
|
||||
{
|
||||
Notify($"Close Load vent valve");
|
||||
|
||||
if (!LoadLockDevice.SetFastVentValve(false, out string reason))
|
||||
{
|
||||
Stop(reason);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
if (ret.Item1)
|
||||
{
|
||||
if (ret.Item2 == Result.FAIL)
|
||||
{
|
||||
throw (new RoutineFaildException());
|
||||
}
|
||||
else
|
||||
throw (new RoutineBreakException());
|
||||
}
|
||||
}
|
||||
|
||||
public void CloseFastPump(int id)
|
||||
{
|
||||
Tuple<bool, Result> ret = Execute(id, () =>
|
||||
{
|
||||
Notify($"Close Load fast pump valve");
|
||||
|
||||
if (!LoadLockDevice.SetFastPumpValve(false, out string reason))
|
||||
{
|
||||
Stop(reason);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
if (ret.Item1)
|
||||
{
|
||||
if (ret.Item2 == Result.FAIL)
|
||||
{
|
||||
throw (new RoutineFaildException());
|
||||
}
|
||||
else
|
||||
throw (new RoutineBreakException());
|
||||
}
|
||||
}
|
||||
|
||||
public void CloseSlowPump(int id)
|
||||
{
|
||||
Tuple<bool, Result> ret = Execute(id, () =>
|
||||
{
|
||||
Notify($"Close slow pump valve");
|
||||
|
||||
if (!LoadLockDevice.SetSlowPumpValve(false, out string reason))
|
||||
{
|
||||
Stop(reason);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
if (ret.Item1)
|
||||
{
|
||||
if (ret.Item2 == Result.FAIL)
|
||||
{
|
||||
throw (new RoutineFaildException());
|
||||
}
|
||||
else
|
||||
throw (new RoutineBreakException());
|
||||
}
|
||||
}
|
||||
|
||||
public override void Abort()
|
||||
{
|
||||
base.Abort();
|
||||
|
||||
Reference in New Issue
Block a user