示例#1
0
        internal override void ScheduleOP(Hour currentHour, AppealCase appealCase, CaseBoard workers)
        {
            WorkCase opCase = new OPCase(appealCase, workers);

            opCase.LogEnqueued(currentHour);
            _opSchedule.Schedule(currentHour, appealCase, workers);
        }
示例#2
0
 internal void LogEnqueued(Hour hour, OPCase workCase, CaseWorker worker)
 {
     _checkIsNotAlreadyLogged(OPEnqueuedChair);
     _checkIsNotAlreadyLogged(OPEnqueuedRapporteur);
     _checkIsNotAlreadyLogged(OPEnqueuedSecondMember);
     OPEnqueuedChair = hour;
     OPEnqueuedRapporteur = hour;
     OPEnqueuedSecondMember = hour;
 }        
示例#3
0
 internal void LogFinished(Hour hour, OPCase workCase, SecondWorker worker)
 {
     _checkIsNotAlreadyLogged(OPFinishedSecondMember);
     OPFinishedSecondMember = hour;
 }
示例#4
0
 internal void LogFinished(Hour hour, OPCase workCase, RapporteurWorker worker)
 {
     _checkIsNotAlreadyLogged(OPFinishedRapporteur);
     OPFinishedRapporteur = hour;
 }
示例#5
0
 internal void LogFinished(Hour hour, OPCase workCase, ChairWorker worker)
 {
     _checkIsNotAlreadyLogged(OPFinishedChair);
     OPFinishedChair = hour;
 }