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);
     }
 }
示例#2
0
 public int ProcessChecklist(Checklist checklist)
 {
     checklist.SetStamp(StampIndex);
     checklist.EraseStamp(EraseIndex);
     return(NextDepartmentIndex);
 }