예제 #1
0
 protected override void InitElements()
 {
     Motor    = new Motor();
     Conveyor = new Conveyor(Motor);
     Extruder = new Extruder();
     Stamper  = new Stamper();
     Oven     = new Oven();
 }
예제 #2
0
        private async Task StampBiscuit()
        {
            if (Conveyor.Slots[1] != null)
            {
                await Stamper.Activate();

                Conveyor.Slots[1] = Conveyor.Slots[1].Stamp();
            }
        }