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