Browse Source

fix the slot exceeds limit bug.

sangwq 1 year ago
parent
commit
0e0a0459a5
1 changed files with 3 additions and 0 deletions
  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;