public TrashIncinerator AddTrashIncinerator(int size) { var element = new TrashIncinerator(Guid.NewGuid(), size, this.consumptionDataBlock); this.trashConsumer.Link(element.TrashConsumer); element.Start(); this.AddElement(element); return(element); }
public TrashIncinerator AddTrashIncinerator(int size) { var element = new TrashIncinerator(Guid.NewGuid(), size, this.consumptionDataBlock); this.trashConsumer.Link(element.TrashConsumer); element.Start(); this.AddElement(element); return element; }