예제 #1
0
 private static bool IsNewOrPreliminaryComments(CaseState state)
 {
     return state.StateKind == CaseStateKind.New || state.StateKind == CaseStateKind.PriliminaryComments;
 }
예제 #2
0
 private ComplaintComments.StatusKind GetStatus(CaseState status)
 {
     if (status.StateKind == CaseStateKind.New || status.StateKind == CaseStateKind.PriliminaryComments)
         return ComplaintComments.StatusKind.PreliminaryComments;
     if (status.StateKind == CaseStateKind.PriliminaryDecision)
         return ComplaintComments.StatusKind.PreliminaryDecisionComments;
     if (status.StateKind == CaseStateKind.WaitingForPartyComments)
         return ComplaintComments.StatusKind.PreliminaryDecisionWaiting;
     if (status.StateKind == CaseStateKind.FinalDecision)
         return ComplaintComments.StatusKind.FinalDecisionComments;
     if (status.StateKind == CaseStateKind.Locked)
         return ComplaintComments.StatusKind.FinalDecisionLocked;
     return ComplaintComments.StatusKind.Complete;
 }