Exemple #1
0
 public void ProcessEvent(BoxJob mainBox, Event newEvent)
 {
     if (newEvent == Event.ForceStartJob)
     {
         mainBox.Status = Status.Running;
         SetStatusRecursive(mainBox.ChildJobs, Status.Activated);
     }
 }
Exemple #2
0
 public SimpleConditionExpression(Condition condition, BoxJob job)
 {
     Condition = condition;
     Job       = job;
 }