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; } }
public void SetWorkCenter(WorkCenter workCenter) { WorkCenter = workCenter; }
public void AddWorkCenter(string name, WorkCenter workCenter) { WorkCenters.Add(name, workCenter); }