public ElevatorPoolService( IElevatorEventLogService elevatorEventLogService, IBuildingConfigurationService buildingConfigurationService, IRouteValidationService routeValidationService) { var numberOfElevators = buildingConfigurationService.GetNumberOfElevators(); InitializeElevators(numberOfElevators); this.elevatorEventLogService = elevatorEventLogService; this.routeValidationService = routeValidationService; }
public ElevatorController(ILogger <ElevatorController> logger, IElevatorRouteService elevatorRouteService, IElevatorPoolService elevatorPoolService, IElevatorEventLogService elevatorEventLogService, IElevatorStatusService elevatorStatusService) { this.logger = logger; this.elevatorRouteService = elevatorRouteService; this.elevatorPoolService = elevatorPoolService; this.elevatorEventLogService = elevatorEventLogService; this.elevatorStatusService = elevatorStatusService; }
public ElevatorControlService(IElevatorEventLogService elevatorEventLogService, IRouteValidationService routeValidationService) { this.elevatorEventLogService = elevatorEventLogService; this.routeValidationService = routeValidationService; }