|
@@ -2,6 +2,7 @@
|
|
|
using Aitex.Core.RT.Routine;
|
|
|
using Aitex.Core.RT.SCCore;
|
|
|
using Aitex.Core.Util;
|
|
|
+using Caliburn.Micro.Core;
|
|
|
using FurnaceRT.Equipments.PMs;
|
|
|
using FurnaceRT.Equipments.Systems;
|
|
|
using MECF.Framework.Common.Equipment;
|
|
@@ -58,6 +59,18 @@ namespace FurnaceRT.Equipments.FIMSs
|
|
|
return Result.FAIL;
|
|
|
}
|
|
|
}
|
|
|
+ if (_isNeedN2Purge)
|
|
|
+ {
|
|
|
+ if (!(Singleton<EquipmentManager>.Instance.Modules[ModuleName.PM1] as PMModule).FIMSLoadCheckLAO2(out string reason))
|
|
|
+ {
|
|
|
+ _fimsModule.LoadFailAlarm.Set(reason);
|
|
|
+ return Result.FAIL;
|
|
|
+ }
|
|
|
+ _pmModule?.SetN2PurgeParameters();
|
|
|
+ }
|
|
|
+
|
|
|
+ _pmModule?.SetN2PurgeProcess(_isNeedN2Purge);
|
|
|
+
|
|
|
if (_fimsModule.FIMSDevice.IsLoadCompleted)
|
|
|
{
|
|
|
EV.PostInfoLog(Module, $"{Module} already at load position");
|
|
@@ -70,18 +83,14 @@ namespace FurnaceRT.Equipments.FIMSs
|
|
|
{
|
|
|
_timeout = (int)SC.GetValue<double>("PM1.N2Purge.FOUPOpenerStableWaitTime");
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
- Notify($"{_fimsModule.Name} {Name} start");
|
|
|
_fimsModule.FIMSDevice.IsLoadCompleted = false;
|
|
|
_fimsModule.FIMSDevice.IsUnloadCompleted = false;
|
|
|
|
|
|
|
|
|
- if (_isNeedN2Purge)
|
|
|
- {
|
|
|
- _pmModule?.SetN2PurgeParameters();
|
|
|
- }
|
|
|
- _pmModule?.SetN2PurgeProcess(_isNeedN2Purge);
|
|
|
+
|
|
|
+
|
|
|
+ Notify($"{_fimsModule.Name} {Name} start");
|
|
|
+
|
|
|
|
|
|
|
|
|
return Result.RUN;
|