示例#1
0
 private WorkReport(AppealCase ac, CaseStage stage, WorkerRole role, WorkState state)
 {
     Case  = ac;
     Stage = stage;
     Role  = role;
     State = state;
 }
示例#2
0
        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);
            }
        }
示例#3
0
 internal static WorkReport MakeReport(AppealCase ac, CaseStage stage, WorkerRole role, WorkState state)
 {
     return(new WorkReport(ac, stage, role, state));
 }