public void remove(BaseSystemProcess proc) { proc.kill(); processes.Remove(proc); }
public void assign(BaseSystemProcess process) { assignedTo = process; }
public void add(BaseSystemProcess proc) { processes.Add(proc); }
public List <Resource> getProcessResources(BaseSystemProcess process) { return(resourceList .Where(res => res.assignedTo == process) .ToList()); }