Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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;
        }