예제 #1
0
 public Program()
 {
     elevator = new Elevator();
     kontrol  = new Kontrol();
     flor     = new Flor(kontrol, staff, numberOfFlors);
     staff    = new Staff(numberOfStaff);
 }
예제 #2
0
        public Flor(Kontrol ctlr, Staff staff, int numberOfFlors)
        {
            Myscanner       = new Scanner(ctlr);
            MyPanel         = new Panel(ctlr, staff);
            MyCeilingTruret = new CeilingTruret(ctlr);

            FlorNumber         = numberOfFlors;
            SecurityLevel      = numberOfFlors + 1;
            Myscanner.ID       = numberOfFlors;
            MyPanel.ID         = numberOfFlors;
            MyCeilingTruret.ID = numberOfFlors;
        }
예제 #3
0
 public CeilingTruret(Kontrol ctlr)
 {
 }
예제 #4
0
 public Scanner(Kontrol ctlr)
 {
 }
 public Panel(Kontrol ctlr, Staff staff)
 {
     MyController = ctlr;
     MyStaff      = staff;
 }