internal override void Execute(BypassSheet sheet)
 {
     if (sheet.HaveStamp(conditionalStamp))
     {
         sheet.PutStamp(event1.PutStampId);
         sheet.CrossStamp(event1.CrossStampId);
         sheet.SendToDepartment(event1.NextDepartmentId);
     }
     else
     {
         sheet.PutStamp(event2.PutStampId);
         sheet.CrossStamp(event2.CrossStampId);
         sheet.SendToDepartment(event2.NextDepartmentId);
     }
 }
Exemple #2
0
 internal override void Execute(BypassSheet sheet)
 {
     sheet.PutStamp(_event.PutStampId);
     sheet.CrossStamp(_event.CrossStampId);
     sheet.SendToDepartment(_event.NextDepartmentId);
 }