示例#1
0
        public Controller()
        {
            _ventilationAggregateRepository = new VentilationAggregateRepository();
            _customerRepository             = new CustomerRepository();
            _buildingRepository             = new BuildingRepository();
            _roomRepository  = new RoomRepository();
            _floorRepository = new FloorRepository();

            AllCustomers             = _customerRepository.GetAllCustomers();
            AllBuildings             = _buildingRepository.GetAllBuildings();
            AllVentilationAggregates = _ventilationAggregateRepository.GetAllVentilationAggregates();
            AllRooms  = _roomRepository.GetAllRooms();
            AllFloors = _floorRepository.GetAllFloors();
        }