Exemple #1
0
 public void Add(IAcceptWorkorders workcenter)
 {
     Locations.Add(workcenter.Name, new VirtualWorkcenter(workcenter.Name, workcenter.ListOfValidTypes()));
     LocationInventories.Add(workcenter.Name, new List <IWork>());
 }
Exemple #2
0
// 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>());
        }