public double GetTaskEnd(Asset asset) { double time; TaskEnds.TryGetValue(asset, out time); return(time); }
public void SetTaskEnd(Asset asset, double te) { if (TaskEnds.ContainsKey(asset)) { TaskEnds.Remove(asset); } TaskEnds.Add(asset, te); }