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); }
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); } }