1.补全Gem 事件DV路径

This commit is contained in:
HCL 2024-06-19 16:06:45 +08:00
parent 3a3103fb3a
commit 6d0b44510a
2 changed files with 24 additions and 4 deletions

View File

@ -231,7 +231,11 @@ namespace SicModules.PMs.RecipeExecutions
_dbCallback.RecipeUpdateStatus(PmDevice.RecipeRunningInfo.InnerId.ToString(), "InProcess");
//手动工艺时LotID和SequenceID可能是string.Empty
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeStart", new string[] { "ChamberID", "RecipeID","LotID","SequenceID"}, new object[] {PmDevice.Module, PmDevice.RecipeRunningInfo.RecipeName, PmDevice.GetWaferLotID(), PmDevice.GetWaferSequenceID()});
//补全路径
string recipeID = PmDevice.RecipeRunningInfo.RecipeName + ".rcp";
string squenceID = $"Sequence\\{PmDevice.GetWaferSequenceID()}.seq";
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeStart", new string[] { "ChamberID", "RecipeID","LotID","SequenceID"}, new object[] {PmDevice.Module, recipeID, PmDevice.GetWaferLotID(), squenceID});
WaferManager.Instance.UpdateWaferProcessStatus(ModuleHelper.Converter(Module), 0,
WaferProcessStatus.InProcess);
@ -716,8 +720,13 @@ namespace SicModules.PMs.RecipeExecutions
Notify("Finished");
GrowCheck();
//手动工艺时LotID和SequenceID可能是string.Empty
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeComplete", new string[] { "ChamberID", "RecipeID", "LotID", "SequenceID" }, new object[] { PmDevice.Module, PmDevice.RecipeRunningInfo.RecipeName, PmDevice.GetWaferLotID(), PmDevice.GetWaferSequenceID() });
//补全路径
string recipeID = PmDevice.RecipeRunningInfo.RecipeName + ".rcp";
string squenceID = $"Sequence\\{PmDevice.GetWaferSequenceID()}.seq";
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeComplete", new string[] { "ChamberID", "RecipeID", "LotID", "SequenceID" }, new object[] { PmDevice.Module, recipeID, PmDevice.GetWaferLotID(), squenceID });
return Result.DONE;
}
@ -834,8 +843,13 @@ namespace SicModules.PMs.RecipeExecutions
PmDevice.RecipeRunningInfo.TotalTime = 0;
PmDevice.RecipeRunningInfo.TotalElapseTime = 0;
//手动工艺时LotID和SequenceID可能是string.Empty
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeAbort", new string[] { "ChamberID", "RecipeID", "LotID", "SequenceID" }, new object[] { PmDevice.Module, PmDevice.RecipeRunningInfo.RecipeName, PmDevice.GetWaferLotID(), PmDevice.GetWaferSequenceID() });
//补全路径
string recipeID = PmDevice.RecipeRunningInfo.RecipeName + ".rcp";
string squenceID = $"Sequence\\{PmDevice.GetWaferSequenceID()}.seq";
GemManager.Instance.Equipment?.TriggerEvent("PMRecipeAbort", new string[] { "ChamberID", "RecipeID", "LotID", "SequenceID" }, new object[] { PmDevice.Module, recipeID, PmDevice.GetWaferLotID(), squenceID });
//PMDevice.Rf.SetPowerOnOff(false, out _);
//PMDevice.Microwave.SetPowerOnOff(false, out _);

View File

@ -833,6 +833,8 @@ namespace SicRT.Modules
foreach (var cj in cjList)
{
string squenceID = cj.LotWafers != null ? cj.LotWafers[0].PPID : string.Empty;
//补全路径
squenceID = $"Sequence\\{squenceID}.seq";
GemManager.Instance.Equipment?.TriggerEvent("JobAbort", new string[] { "LotID", "SequenceID" }, new object[] { cj.LotName, squenceID });
}
}
@ -1006,6 +1008,8 @@ namespace SicRT.Modules
cj.SetState(EnumControlJobState.Executing);
string squenceID = cj.LotWafers != null ? cj.LotWafers[0].PPID : string.Empty;
//补全路径
squenceID = $"Sequence\\{squenceID}.seq";
GemManager.Instance.Equipment?.TriggerEvent("JobStart", new string[] { "LotID","SequenceID"}, new object[] { cj.LotName, squenceID});
}
}
@ -1689,8 +1693,10 @@ namespace SicRT.Modules
_loadWaferInfo.Remove(_load.GetWaferInfo(0).WaferInnerID.ToString());
//补全路径
string squenceID = $"Sequence\\{_load.GetWaferInfo(0).PPID}.seq";
GemManager.Instance.Equipment?.TriggerEvent("JobComplete", new string[] { "LotID", "SequenceID" },
new object[] { _load.GetWaferInfo(0).LotId,_load.GetWaferInfo(0).PPID });
new object[] { _load.GetWaferInfo(0).LotId, squenceID });
return;
}