コード例 #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)
 {
 }
コード例 #5
0
 public Panel(Kontrol ctlr, Staff staff)
 {
     MyController = ctlr;
     MyStaff      = staff;
 }