|
@@ -2808,7 +2808,6 @@ namespace Venus_RT.Modules
|
|
|
return;
|
|
|
|
|
|
bool allControlJobComplete = true;
|
|
|
- bool bRefreshTroughput = false;
|
|
|
List<ControlJobInfo> cjRemoveList = new List<ControlJobInfo>();
|
|
|
foreach (var cj in _lstControlJobs)
|
|
|
{
|
|
@@ -2908,7 +2907,6 @@ namespace Venus_RT.Modules
|
|
|
(Singleton<TransferModule>.Instance.GetScheduler(ModuleHelper.Converter(cj.Module)) as SchedulerLoadPort).NoteJobComplete();
|
|
|
|
|
|
_lpCycleCount[ModuleHelper.Converter(cj.Module)]++;
|
|
|
- bRefreshTroughput = true;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2954,7 +2952,7 @@ namespace Venus_RT.Modules
|
|
|
if (_isCycleMode && _cycledCount < (_isCycleMode ? _cycleSetPoint : 0))
|
|
|
{
|
|
|
int totolCycleWafer = _lpCycleWafer.Sum(item => item.Value);
|
|
|
- if (totolCycleWafer != _cycledWafer || bRefreshTroughput) // refresh _throughput in time
|
|
|
+ if (totolCycleWafer != _cycledWafer || _lpCycleCount.Sum(item => item.Value) > 0 && _throughput < 0.01) // refresh _throughput in time
|
|
|
{
|
|
|
_cycledWafer = totolCycleWafer;
|
|
|
if (_cycledCount > 0)
|