예제 #1
0
파일: Lot.cs 프로젝트: nitman118/CSSL
        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++;

                nextWorkCenter.HandleArrival(this);
            }
            else
            {
                EndTime = GetCurrentWorkCenter.GetTime;
            }
        }
예제 #2
0
파일: LotStep.cs 프로젝트: nitman118/CSSL
 public void SetWorkCenter(WorkCenter workCenter)
 {
     WorkCenter = workCenter;
 }
예제 #3
0
 public void AddWorkCenter(string name, WorkCenter workCenter)
 {
     WorkCenters.Add(name, workCenter);
 }