public bool AddJob(string Slot, Job Job) { bool result = false; //lock (JobList) //{ if (!JobList.ContainsKey(Slot)) { JobList.TryAdd(Slot, Job); result = true; } //} return(result); }