Переглянути джерело

fix the slot exceeds limit bug.

sangwq 1 рік тому
батько
коміт
0e0a0459a5
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      Venus/Venus_RT/Modules/AutoCycle.cs

+ 3 - 0
Venus/Venus_RT/Modules/AutoCycle.cs

@@ -1219,6 +1219,9 @@ namespace Venus_RT.Modules
             var slots =(_vacSchedulers[ll] as SchedulerLoadLock).GetOrderedOutSlot();
             foreach(var slot in slots)
             {
+                if (slot >= (ll == ModuleName.LLA ? _LLASlotNumber : _LLBSlotNumber))
+                    continue;
+
                 if (inWaferCount >= 2)
                     break;