using System; using System.Collections.Generic; using System.Linq; using System.Text; using HeuristicLab.Hive.Contracts.Interfaces; using HeuristicLab.Hive.Contracts.BusinessObjects; namespace HeuristicLab.Hive.Server.Core { class JobManager: IJobManager { List jobs; #region IJobManager Members public JobManager() { jobs = new List(); jobs.Add(new Job { JobId = 1, State = State.idle }); jobs.Add(new Job { JobId = 2, State = State.idle }); jobs.Add(new Job { JobId = 3, State = State.idle }); } public List GetAllJobs() { return jobs; } #endregion } }