public int ProcessChecklist(Checklist checklist) { if (!checklist.GetStamp(ConditionIndex)) { checklist.SetStamp(FirstStampIndex); checklist.EraseStamp(FirstEraseIndex); return(FirstNextDepartmentIndex); } else { checklist.SetStamp(SecondStampIndex); checklist.EraseStamp(SecondEraseIndex); return(SecondNextDepartmentIndex); } }
public int ProcessChecklist(Checklist checklist) { checklist.SetStamp(StampIndex); checklist.EraseStamp(EraseIndex); return(NextDepartmentIndex); }