private void _circulateFromQueue( Queue <WorkCase> inqueue, Dictionary <Member, Queue <WorkCase> > outqueues, Hour currentHour) { while (inqueue.Count > 0) { WorkCase workCase = inqueue.Dequeue(); Member workingMember = workCase.GetCurrentMember(); outqueues[workingMember].Enqueue(workCase); workCase.LogEnqueued(currentHour); } }
internal void LogFinished(Hour hour, WorkCase workCase, CaseWorker worker) { }
internal void LogStarted(Hour hour, WorkCase workCase, CaseWorker worker) { }
internal void LogEnqueued(Hour hour, WorkCase workCase, CaseWorker worker) { }
internal override void AddToDecisionCirculation(WorkCase decisionCase) { _circulatingDecisions.Enqueue(decisionCase); }
internal override void ProcessNewSummons(WorkCase summonsCase) { _addToSummonsCirculation(summonsCase); }
internal abstract void AddToDecisionCirculation(WorkCase decisionCase);
internal abstract void ProcessNewSummons(WorkCase summonsCase);
private void _addToSummonsCirculation(WorkCase summonsCase) { _circulatingSummonses.Enqueue(summonsCase); }
internal abstract void Add(Hour hour, WorkCase WorkCase);