protected override void OnReplicationStart() { //// Load stocker with reticles //for (int i = 0; i <= 10000; i++) //{ // if (i == 4106) // { // ReticleDictionary.Add($"{i}_a", "Stocker"); // ReticleDictionary.Add($"{i}_b", "Stocker"); // } // else // { // ReticleDictionary.Add($"{i}", "Stocker"); // } //} ScheduledLotsPerMachine.Clear(); foreach (Machine machine in LithographyArea.Machines) { ScheduledLotsPerMachine.Add(machine.Name, new List <Lot>()); } ScheduleEvent(GetTime + 3600, TriggerMachinesWaitingEvent); }
protected override void OnReplicationStart() { base.OnReplicationStart(); ScheduledLotsPerMachine.Clear(); foreach (Machine machine in LithographyArea.Machines) { ScheduledLotsPerMachine.Add(machine.Name, new List <Lot>()); } FirstScheduleGenerated = false; if (LithographyArea.Dynamic) { ScheduleEvent(GetTime + 1 * 3600, RescheduleEvent); // TODO: Determine interval } }