|
@@ -304,7 +304,7 @@ namespace EfemDualSchedulerLib.Schedulers
|
|
|
{
|
|
|
ModuleName module = ModuleHelper.Converter(casseteModule);
|
|
|
|
|
|
- int count = pj.SlotWafers.Count;
|
|
|
+ int count = CalculateModuleWaferCount(module);
|
|
|
EV.Notify(PortJobFinished, new SerializableDictionary<string, string>()
|
|
|
{
|
|
|
{DataVariables.LotID, pj.LotName},
|
|
@@ -317,10 +317,10 @@ namespace EfemDualSchedulerLib.Schedulers
|
|
|
OP.DoOperation(E94ControlJobStateChanged, cj.Name, cj.State);
|
|
|
}
|
|
|
|
|
|
- private int CalculateProcessJobWaferCount(ProcessJobInfo pj)
|
|
|
+ private int CalculateModuleWaferCount(ModuleName module)
|
|
|
{
|
|
|
int count = 0;
|
|
|
- WaferInfo[] wafers= WaferManager.Instance.GetWaferByProcessJob(pj.Name);
|
|
|
+ WaferInfo[] wafers= WaferManager.Instance.GetWafers(module);
|
|
|
if(wafers!=null)
|
|
|
{
|
|
|
for(int i=0;i<wafers.Length;i++)
|