示例#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);