Exemplo n.º 1
0
 public ProcessUnexpectedIndicator GetProcessUnexpectedIndicator()
 {
     if (TrakNewFlag.Equals('C') && TempStatus.Equals("PFI"))
     {
         return(ProcessUnexpectedIndicator.Reactivated);
     }
     else if (Status.Equals("CON"))
     {
         return(ProcessUnexpectedIndicator.ChargedOn);
     }
     else if (TrakNewFlag.Equals('N'))
     {
         return(ProcessUnexpectedIndicator.Unscanned);
     }
     return(ProcessUnexpectedIndicator.Unexpected);
 }
Exemplo n.º 2
0
 public ProcessMissingIndicator GetProcessMissingIndicator()
 {
     if (TrakNewFlag.Equals(TrakFlagConstants.FOUND))
     {
         if (string.IsNullOrWhiteSpace(TempStatus))
         {
             return(ProcessMissingIndicator.Found);
         }
         else
         {
             return(ProcessMissingIndicator.Reconciled);
         }
     }
     else if (TempStatus.Equals("COFF"))
     {
         return(ProcessMissingIndicator.ChargedOff);
     }
     else
     {
         return(ProcessMissingIndicator.Missing);
     }
 }