예제 #1
0
 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);
     }
 }
예제 #2
0
 internal void LogFinished(Hour hour, WorkCase workCase, CaseWorker worker)
 { }
예제 #3
0
 internal void LogStarted(Hour hour, WorkCase workCase, CaseWorker worker)
 { }
예제 #4
0
 internal void LogEnqueued(Hour hour, WorkCase workCase, CaseWorker worker)
 {  }
예제 #5
0
 internal override void AddToDecisionCirculation(WorkCase decisionCase)
 {
     _circulatingDecisions.Enqueue(decisionCase);
 }
예제 #6
0
 internal override void ProcessNewSummons(WorkCase summonsCase)
 {
     _addToSummonsCirculation(summonsCase);
 }
예제 #7
0
 internal abstract void AddToDecisionCirculation(WorkCase decisionCase);
예제 #8
0
 internal abstract void ProcessNewSummons(WorkCase summonsCase);
예제 #9
0
 private void _addToSummonsCirculation(WorkCase summonsCase)
 {
     _circulatingSummonses.Enqueue(summonsCase);
 }
예제 #10
0
 internal abstract void Add(Hour hour, WorkCase WorkCase);