Beispiel #1
0
 public bool includeJob(JobOccurance job, string jobsOrJobsets, string jobsetName, string jobname, string abortedOnly, string startDate, string endDate,
     string startTime, string endTime, string chartType, string chartSize, string yAxis)
 {
     if (!jobsetName.Equals("all"))
     {
         if (!job.jobset.Equals(jobsetName)) return false;
         if (!jobname.Equals("all"))
         {
             if (!job.jobname.Equals(jobname)) return false;
         }
     }
     return true;
 }
Beispiel #2
0
 public void addJobOccurance(JobOccurance job)
 {
     jobs.Add(job);
     if (DateTime.Compare(job.start_date, startTime) < 0) { startTime = job.start_date; }
     if (DateTime.Compare(job.end_date, endTime) > 0) { endTime = job.end_date; }
 }