예제 #1
0
 public Elevator(int id, ILift lift, IFloorManager floorManager, int maxFloorcount, int currentFloor)
 {
     this.id            = id;
     this.lift          = lift;
     this.floorManager  = floorManager;
     this.currentFloor  = currentFloor;
     this.maxFloorcount = maxFloorcount;
 }
예제 #2
0
 public FloorController(IFloorManager floorManager)
 {
     this._floorManager = floorManager;
 }
예제 #3
0
 public RoomController(IRoomManager roomManager, IFloorManager floorManager, IRoomTypeManager roomTypeManager)
 {
     this._roomManager = roomManager;
     _floorManager     = floorManager;
     _roomTypeManager  = roomTypeManager;
 }