public void Add(IAcceptWorkorders workcenter) { Locations.Add(workcenter.Name, new VirtualWorkcenter(workcenter.Name, workcenter.ListOfValidTypes())); LocationInventories.Add(workcenter.Name, new List <IWork>()); }
// Pure Methods // Impure Methods public void Add(IPlant plant) { Locations.Add(plant.Name, new VirtualPlant(plant.Name, plant)); LocationInventories.Add(plant.Name, new List <VirtualWorkorder>()); }