private WorkReport(AppealCase ac, CaseStage stage, WorkerRole role, WorkState state) { Case = ac; Stage = stage; Role = role; State = state; }
internal int HourForStage(CaseStage stage) { switch (stage) { case CaseStage.Summons: return(HoursForSummons); case CaseStage.OP: return(HoursOPPreparation); case CaseStage.Decision: return(HoursForDecision); case CaseStage.Finished: case CaseStage.Undefined: default: return(0); } }
internal static WorkReport MakeReport(AppealCase ac, CaseStage stage, WorkerRole role, WorkState state) { return(new WorkReport(ac, stage, role, state)); }