Class ACARSGenerator


public class ACARSGenerator extends MSFSGenerator
A flight plan generator for ACARS dispatch sheets.
Since:
10.0
Version:
11.0
Author:
Luke
  • Constructor Details

    • ACARSGenerator

      public ACARSGenerator()
  • Method Details

    • setPassengerCount

      public void setPassengerCount(int pax)
      Updates the passenger count.
      Parameters:
      pax - the number of passengers
    • setAircraft

      public void setAircraft(Aircraft a)
      Updates the Aircraft used.
      Parameters:
      a - the Aircraft
    • setAirportL

      public void setAirportL(Airport a)
      Updates the destination alternate airport.
      Parameters:
      a - the Airport
    • setGateD

      public void setGateD(Gate g)
      Description copied from class: MSFSGenerator
      Sets the departure Gate.
      Overrides:
      setGateD in class MSFSGenerator
      Parameters:
      g - the departure Gate
    • setGateA

      public void setGateA(Gate g)
      Updates the arrival Gate.
      Parameters:
      g - the Gate
    • setRunwayD

      public void setRunwayD(Runway r)
      Updates the departure Runway.
      Parameters:
      r - the Runway
    • setSimulator

      public void setSimulator(Simulator s)
      Updates the simulator used.
      Parameters:
      s - the Simulator
    • generate

      public String generate(Collection<NavigationDataBean> waypoints)
      Description copied from class: FlightPlanGenerator
      Generates a flight plan between two airports.
      Specified by:
      generate in class FlightPlanGenerator
      Parameters:
      waypoints - a Collection of waypoints
      Returns:
      the generated flight plan file
    • getExtension

      public final String getExtension()
      Description copied from class: FlightPlanGenerator
      Returns the file extension of flight plans generated by this Generator.
      Overrides:
      getExtension in class FlightPlanGenerator
      Returns:
      the file extension
    • getMimeType

      public final String getMimeType()
      Description copied from class: FlightPlanGenerator
      Returns the MIME type of flight plans generated by this Generator.
      Overrides:
      getMimeType in class FlightPlanGenerator
      Returns:
      the MIME type