@Override
  public List<Runaway> getAllRunaways() {
    List<Runaway> runawaysResult = airportRunaways.getAllRunAways();
    Collections.sort(runawaysResult, (Runaway o1, Runaway o2) -> o1.getId() - o2.getId());

    return runawaysResult;
  }
  @Override
  public boolean delFlight(Flight flight, int runawayId) {
    boolean result = airportRunaways.removeFlight(flight, runawayId);

    if (result) {
      distributor.addTask(flight.getFlightNumber(), Distributor.ACTION_REMOVE_AIRPLANE);
    }

    if (LOG.isInfoEnabled()) {
      LOG.info("delete flight. Flight : " + flight);
    }

    return result;
  }
  @Override
  public void addFlight(Flight flight) {
    airportRunaways.addFlight(flight);
    distributor.addTask(flight, Distributor.ACTION_ADD_AIRPLANE);

    if (flight.getFlightState().equals("Ожидает")) {
      serviceStatistics.incAmountReadyTakenOffPlane();
    } else {
      serviceStatistics.incAmountFlewPlane();
    }

    if (LOG.isInfoEnabled()) {
      LOG.info("add flight. Flight : " + flight);
    }
  }