private void _processCirculatingCases() { while (_circulatingCases.Count > 0) { AppealCase appealCase = _circulatingCases.Dequeue(); Allocation allocation = _activeCases[appealCase]; Member nextWorker = allocation.Enqueue(appealCase); if (nextWorker == null) { appealCase.AdvanceState(); Hour opStartHour = _scheduleOP(appealCase); Hour opEndHour = opStartHour.Add(OPDURATION); allocation.NotifyOPSchedule(appealCase, opStartHour, opEndHour); } } }
internal BoardLog GetForHour(Hour h) { return(_log[h]); }
internal SimulationTimeSpan(Hour start, Hour end) { _start = start; _end = end; }
internal static void Reset() { Current = new Hour(0); }
internal static void Increment() { Current = Current.Next(); }
static SimulationTime() { Current = new Hour(0); }