Exemple #1
0
        public void SendToNextWorkCenter()
        {
            // If has next step, send to next work station. Otherwise, do nothing and lot will dissapear from system.
            if (Sequence.HasNextStep(CurrentStepCount))
            {
                WorkCenter nextWorkCenter = GetNextWorkCenter;

                CurrentStepCount++;

                if (CurrentStepCount == 0)
                { // Means it is the first step, it is now released in fab so start time can be saved.
                    StartTime     = nextWorkCenter.GetTime;
                    StartTimeReal = nextWorkCenter.GetDateTime;
                }

                nextWorkCenter.HandleArrival(this);
            }
            else
            {
                EndTime = GetCurrentWorkCenter.GetTime;
            }
        }
Exemple #2
0
 public void SetWorkCenter(WorkCenter workCenter)
 {
     WorkCenter = workCenter;
 }
Exemple #3
0
 public void AddWorkCenter(string name, WorkCenter workCenter)
 {
     WorkCenters.Add(name, workCenter);
 }