Esempio n. 1
0
 public bool Remove(BaseJob job)
 {
     return(_predecesorJobs.Remove(job));
 }
Esempio n. 2
0
 public bool Contains(BaseJob job)
 {
     return(_predecesorJobs.Contains(job));
 }
Esempio n. 3
0
 public void Add(BaseJob job)
 {
     _predecesorJobs.Add(job);
 }
 /// <summary>
 /// Each job added must be the predesor of the previous job added.
 /// Except for the first job added which should have not predecesors
 /// </summary>
 /// <param name="job"></param>
 public void AddJob(BaseJob job)
 {
     _toScheduleChain.Insert(0, job);
     endIndex = 1;
 }