Преглед изворни кода

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;