Class ACARSRouteEntry
java.lang.Object
org.deltava.beans.DatabaseBean
org.deltava.beans.acars.ACARSMapEntry
org.deltava.beans.acars.RouteEntry
org.deltava.beans.acars.ACARSRouteEntry
- All Implemented Interfaces:
- Serializable,- Comparable<Object>,- FuelChecker,- CalendarEntry,- GeoLocation,- GeospaceLocation,- IDBean,- MapEntry,- MarkerMapEntry,- Cacheable
- Direct Known Subclasses:
- MapRouteEntry
A bean to store a snapshot of an ACARS-logged flight.
- Since:
- 1.0
- Version:
- 11.6
- Author:
- Luke, Rahul
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.deltava.beans.acars.ACARSMapEntryACARSMapEntry.EntryType
- 
Field SummaryFields inherited from class org.deltava.beans.acars.ACARSMapEntry_betaBuild, _busy, _clientBuild, _pos, _usrFields inherited from interface org.deltava.beans.GeoLocationALL, DEGREE_FEET, DEGREE_MILES, FEET_MILES, LAT_DIRECTIONS, LATITUDE, LON_DIRECTIONS, LONGITUDE, RADIAN_MILES
- 
Constructor SummaryConstructorsConstructorDescriptionACARSRouteEntry(Instant dt, GeoLocation loc) Creates a new ACARS Route Entry bean.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns if the client is connected to the ACARS server.getADF1()Returns the ADF1 frequency.intReturns the value reported by the aircraft's altimeter.doublegetAOA()Returns the aircraft's Angle of Attack.getATC1()Returns the Controller on COM1.getATC2()Returns the Controller on COM2.doublegetBank()Returns the aircraft's bank angle.doublegetCG()Returns the center of gravity of the aircraft.getCOM1()Returns the COM1 frequency.getCOM2()Returns the COM2 frequency.intReturns the number of engines.intgetFlaps()Returns the flap detent position.intReturns the Flight Simulator frame rate.intReturns the aircraft's fuel flow for all engines.doublegetG()Returns the G forces acting on the aircraft.intReturns the ground operations flag(s).Returns the icon color for this entry if displayed in a Google Map.Returns the text to display in this marker's infobox if displayed in a Google Map.doublegetN1()Returns the average N1 speed (propellor RPM for piston engines) of all engines.doublegetN1(int eng) Returns an individual engine's N1 speed (propellor RPM for piston engines).doublegetN2()Returns the average N2 speed (throttle position for piston enginers) of all engines.doublegetN2(int eng) Returns an individual engine's N2 speed (throttle position for piston enginers).getNAV1()Returns the NAV1 frequency.getNAV2()Returns the NAV2 frequency.booleanReturns if the client is connected to an Online Network.doublegetPitch()Returns the aircraft's pitch angle.intReturns the ambient air pressure.intReturns the aircraft's altitude above ground level, if implemented.intRerturns the number of times an ACARS flight restore had been performed thus far.intReturns the simulator time acceleration rate.Returns the UTC time in the simulator.intReturns the ambient air temperature.intReturns the amount of simulator free memory.intReturns the aircraft's vertical speed.doubleReturns the visibility.Returns the warning message.intReturns the aircraft weight.booleanReturns whether an engine is not running.voidsetACARSConnected(boolean isConnected) Updates whether the user is connected to the ACARS server.voidSets the ADF1 radio frequency.voidsetAltimeter(int alt) Updates the altitude reported on the aircraft's altimeter.voidsetAOA(double aoa) Updates the aircraft's Angle of Attack.voidsetATC1(Controller atc) Sets the controller on COM1.voidsetATC2(Controller atc) Sets the controller on COM2.voidUpdates the aircraft autopilot type.voidsetBank(double b) Updates the aircraft's bank angle.voidsetCG(double cg) Sets the aircraft's center of gravity.voidSets the COM1 radio frequency.voidSets the COM2 radio frequency.voidsetDisplayPerEngineNX(boolean isDisplay) Sets whether to display per-engine N1/N2 values in the info box.voidsetEngineCount(int cnt) Updates the number of engines.voidsetFlaps(int flapDetent) Updates the aircraft's flap detent position.voidsetFrameRate(int rate) Updates the Flight Simulator frame rate.voidsetFuelFlow(int flow) Updates the aircraft's total fuel flow.voidsetG(double gForce) Updates the G forces acting on the aircraft.voidsetGroundOperations(int ops) Updates the Ground Operations flag(s).voidsetN1(double nn1) Updates the aircraft's average N1 speed.voidsetN1(int eng, double nn1) Updates an aircraft's individual engine N1 speed.voidsetN2(double nn2) Updates the aircraft's average N2 speed.voidsetN2(int eng, double nn2) Updates an aircraft's individual engine N2 speed.voidSets the NAV1 radio frequency.voidSets the NAV2 radio frequency.voidsetNetworkConnected(boolean isConnected) Updates whether the user is connected to an Online Network.voidsetPitch(double p) Updates the aircraft's pitch angle.voidsetPressure(int p) Sets the ambient air pressure.voidsetRadarAltitude(int alt) Updates the aircraft's altitude above ground level.voidsetRestoreCount(int cnt) Updates the number of times ACARS has restored the flight thus far.voidsetSimRate(int rate) Updates the simulator time acceleration rate.voidUpdates the UTC time in the simulatorvoidsetTemperature(int t) Sets the ambient temperature.voidsetVASFree(int kb) Updates the amount of simulator free memory.voidsetVerticalSpeed(int speed) Updates the aircraft's vertical speed.voidsetVisibility(double viz) Sets the visibility.voidsetWeight(int w) Updates the aircraft weight.Methods inherited from class org.deltava.beans.acars.RouteEntrycompareTo, getAirspace, getAirSpeed, getAltitude, getDate, getFlags, getFuelRemaining, getGroundSpeed, getHeading, getMach, getPhase, getType, getWindHeading, getWindSpeed, isFlagSet, isWarning, setAirspace, setAirSpeed, setAltitude, setFlag, setFlags, setFuelRemaining, setGroundSpeed, setHeading, setMach, setPhase, setWindHeading, setWindSpeedMethods inherited from class org.deltava.beans.acars.ACARSMapEntrygetLatitude, getLocation, getLongitude, getPilot, isBusy, setBusy, setClientBuildMethods inherited from class org.deltava.beans.DatabaseBeancacheKey, equals, getHexID, getID, hashCode, setID, validateID, validateIDMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.deltava.beans.GeoLocationdistanceFeet, distanceTo, getLatitude, getLongitude
- 
Constructor Details- 
ACARSRouteEntryCreates a new ACARS Route Entry bean.- Parameters:
- dt- the date/time of this entry
- loc- the aircraft's location
- See Also:
 
 
- 
- 
Method Details- 
getRadarAltitudepublic int getRadarAltitude()Description copied from class:RouteEntryReturns the aircraft's altitude above ground level, if implemented. Subclasses that do not implement this may return a negative number.- Specified by:
- getRadarAltitudein class- RouteEntry
- Returns:
- the altitude in feet AGL, or a negative number
 
- 
getAltimeterpublic int getAltimeter()Returns the value reported by the aircraft's altimeter.- Returns:
- the altitude in feet MSL
- See Also:
 
- 
getAOApublic double getAOA()Returns the aircraft's Angle of Attack.- Returns:
- the angle of attack in degrees
- See Also:
 
- 
getGpublic double getG()Returns the G forces acting on the aircraft.- Returns:
- the force in Gs
- See Also:
 
- 
getPitchpublic double getPitch()Returns the aircraft's pitch angle.- Returns:
- the pitch in degrees
- See Also:
 
- 
getBankpublic double getBank()Returns the aircraft's bank angle.- Returns:
- the bank in degrees
- See Also:
 
- 
getFuelFlowpublic int getFuelFlow()Returns the aircraft's fuel flow for all engines.- Returns:
- the flow in pounds per hour
- See Also:
 
- 
getWeightpublic int getWeight()Returns the aircraft weight.- Returns:
- the weight in pounds
- See Also:
 
- 
getFrameRatepublic int getFrameRate()Returns the Flight Simulator frame rate.- Returns:
- the number of rendered frames per second
- See Also:
 
- 
getFlapspublic int getFlaps()Returns the flap detent position.- Returns:
- the flap detent
- See Also:
 
- 
getVisibilitypublic double getVisibility()Returns the visibility.- Returns:
- the visibility in miles
 
- 
getTemperaturepublic int getTemperature()Returns the ambient air temperature.- Returns:
- the temperature in degrees Celsius
 
- 
getPressurepublic int getPressure()Returns the ambient air pressure.- Returns:
- the pressure in pascals
 
- 
getCGpublic double getCG()Returns the center of gravity of the aircraft.- Returns:
- the CG as percent MAC
 
- 
getVerticalSpeedpublic int getVerticalSpeed()Returns the aircraft's vertical speed.- Returns:
- the vertical speed in feet/minute
- See Also:
 
- 
getEngineCountpublic int getEngineCount()Returns the number of engines.- Returns:
- the engine count
- See Also:
 
- 
getN1public double getN1()Returns the average N1 speed (propellor RPM for piston engines) of all engines.- Returns:
- the average N1 percentage or propellor RPM
- See Also:
 
- 
getN1public double getN1(int eng) Returns an individual engine's N1 speed (propellor RPM for piston engines).- Parameters:
- eng- the zero-offset engine number
- Returns:
- the N1 percentage or propellor RPM
 
- 
getN2public double getN2()Returns the average N2 speed (throttle position for piston enginers) of all engines.- Returns:
- the average N2 percentage or throttle position
- See Also:
 
- 
getN2public double getN2(int eng) Returns an individual engine's N2 speed (throttle position for piston enginers).- Parameters:
- eng- the zero-offset engine number
- Returns:
- the N2 percentage or throttle position
 
- 
isEngineOutpublic boolean isEngineOut()Returns whether an engine is not running.- Returns:
- TRUE if at least one engine is not running, otherwise FALSE
 
- 
getSimRatepublic int getSimRate()Returns the simulator time acceleration rate.- Returns:
- the acceleration rate
- See Also:
 
- 
getSimUTC
- 
getNAV1
- 
getNAV2
- 
getCOM1
- 
getCOM2
- 
getADF1
- 
getATC1Returns the Controller on COM1.- Returns:
- a Controller bean, or null if none
- See Also:
 
- 
getATC2Returns the Controller on COM2.- Returns:
- a Controller bean, or null if none
- See Also:
 
- 
getVASFreepublic int getVASFree()Returns the amount of simulator free memory. This will only return a valid value on 32-bit version of FSX/P3D.- Returns:
- the amount of free memory, in kilobytes
- See Also:
 
- 
getGroundOperationspublic int getGroundOperations()Returns the ground operations flag(s).- Returns:
- the GroundOperations flags
- See Also:
 
- 
getNetworkConnectedpublic boolean getNetworkConnected()Returns if the client is connected to an Online Network.- Returns:
- TRUE if connected, otherwise FALSE
- See Also:
 
- 
getACARSConnectedpublic boolean getACARSConnected()Returns if the client is connected to the ACARS server.- Returns:
- TRUE if connected, otherwise FALSE
- See Also:
 
- 
getRestoreCountpublic int getRestoreCount()Rerturns the number of times an ACARS flight restore had been performed thus far.- Returns:
- the numer of flight restores
- See Also:
 
- 
setDisplayPerEngineNXpublic void setDisplayPerEngineNX(boolean isDisplay) Sets whether to display per-engine N1/N2 values in the info box.- Parameters:
- isDisplay- TRUE to display per-engine N1/N2 values, otherwise FALSE
- See Also:
 
- 
setRadarAltitudepublic void setRadarAltitude(int alt) Updates the aircraft's altitude above ground level.- Parameters:
- alt- the altitude in feet AGL
- See Also:
 
- 
setAltimeterpublic void setAltimeter(int alt) Updates the altitude reported on the aircraft's altimeter.- Parameters:
- alt- the altitude in feet MSL
- See Also:
 
- 
setAOApublic void setAOA(double aoa) Updates the aircraft's Angle of Attack.- Parameters:
- aoa- the angle of attack in degrees
- See Also:
 
- 
setGpublic void setG(double gForce) Updates the G forces acting on the aircraft.- Parameters:
- gForce- the force in Gs
- See Also:
 
- 
setPitchpublic void setPitch(double p) Updates the aircraft's pitch angle.- Parameters:
- p- the pitch in degrees
- See Also:
 
- 
setBankpublic void setBank(double b) Updates the aircraft's bank angle.- Parameters:
- b- the bank in degrees
- See Also:
 
- 
setVerticalSpeedpublic void setVerticalSpeed(int speed) Updates the aircraft's vertical speed.- Parameters:
- speed- the speed in feet per minute
- See Also:
 
- 
setEngineCountpublic void setEngineCount(int cnt) Updates the number of engines.- Parameters:
- cnt- the engine count
- See Also:
 
- 
setN1public void setN1(double nn1) Updates the aircraft's average N1 speed.- Parameters:
- nn1- the N1 speed as a percentage
- See Also:
 
- 
setN1public void setN1(int eng, double nn1) Updates an aircraft's individual engine N1 speed.- Parameters:
- eng- the zero-offset engine number
- nn1- the N1 speed as a percentage
- See Also:
 
- 
setN2public void setN2(double nn2) Updates the aircraft's average N2 speed.- Parameters:
- nn2- the N2 speed as a percentage
- See Also:
 
- 
setN2public void setN2(int eng, double nn2) Updates an aircraft's individual engine N2 speed.- Parameters:
- eng- the zero-offset engine number
- nn2- the N2 speed as a percentage
- See Also:
 
- 
setFuelFlowpublic void setFuelFlow(int flow) Updates the aircraft's total fuel flow.- Parameters:
- flow- the flow in pounds per hour
- See Also:
 
- 
setWeightpublic void setWeight(int w) Updates the aircraft weight.- Parameters:
- w- the weight in pounds
- See Also:
 
- 
setFrameRatepublic void setFrameRate(int rate) Updates the Flight Simulator frame rate.- Parameters:
- rate- the rendered frames per second
- See Also:
 
- 
setSimRatepublic void setSimRate(int rate) Updates the simulator time acceleration rate.- Parameters:
- rate- the rate
- See Also:
 
- 
setSimUTC
- 
setFlapspublic void setFlaps(int flapDetent) Updates the aircraft's flap detent position.- Parameters:
- flapDetent- the detent position
- See Also:
 
- 
setVisibilitypublic void setVisibility(double viz) Sets the visibility.- Parameters:
- viz- the visibility in miles
 
- 
setPressurepublic void setPressure(int p) Sets the ambient air pressure.- Parameters:
- p- the pressure in pascals
 
- 
setCGpublic void setCG(double cg) Sets the aircraft's center of gravity.- Parameters:
- cg- the CG as percent MAC
 
- 
setTemperaturepublic void setTemperature(int t) Sets the ambient temperature.- Parameters:
- t- the temperature in degrees celsius
 
- 
setCOM1Sets the COM1 radio frequency.- Parameters:
- freq- the frequency
- See Also:
 
- 
setCOM2Sets the COM2 radio frequency.- Parameters:
- freq- the frequency
- See Also:
 
- 
setNAV1Sets the NAV1 radio frequency.- Parameters:
- freq- the frequency
- See Also:
 
- 
setNAV2Sets the NAV2 radio frequency.- Parameters:
- freq- the frequency
- See Also:
 
- 
setADF1Sets the ADF1 radio frequency.- Parameters:
- freq- the frequency
- See Also:
 
- 
setATC1Sets the controller on COM1.- Parameters:
- atc- a Controller bean
- See Also:
 
- 
setATC2Sets the controller on COM2.- Parameters:
- atc- a Controller bean
- See Also:
 
- 
setVASFreepublic void setVASFree(int kb) Updates the amount of simulator free memory.- Parameters:
- kb- the amount of free memory in kilobytes
- See Also:
 
- 
setGroundOperationspublic void setGroundOperations(int ops) Updates the Ground Operations flag(s).- Parameters:
- ops- a flags bitmask
- See Also:
 
- 
setNetworkConnectedpublic void setNetworkConnected(boolean isConnected) Updates whether the user is connected to an Online Network.- Parameters:
- isConnected- TRUE if connected, otherwise FALSE
- See Also:
 
- 
setACARSConnectedpublic void setACARSConnected(boolean isConnected) Updates whether the user is connected to the ACARS server.- Parameters:
- isConnected- TRUE if connected, otherwise FALSE
- See Also:
 
- 
setAutopilotTypeUpdates the aircraft autopilot type.- Parameters:
- ap- the AutopilotType
 
- 
setRestoreCountpublic void setRestoreCount(int cnt) Updates the number of times ACARS has restored the flight thus far.- Parameters:
- cnt- the number of flight restores
 
- 
getWarningsDescription copied from class:RouteEntryReturns the warning message.- Specified by:
- getWarningsin class- RouteEntry
- Returns:
- the warning
 
- 
getIconColorDescription copied from interface:MarkerMapEntryReturns the icon color for this entry if displayed in a Google Map.- Specified by:
- getIconColorin interface- MarkerMapEntry
- Overrides:
- getIconColorin class- RouteEntry
- Returns:
- the icon color
 
- 
getInfoBoxDescription copied from interface:MapEntryReturns the text to display in this marker's infobox if displayed in a Google Map.- Specified by:
- getInfoBoxin interface- MapEntry
- Overrides:
- getInfoBoxin class- RouteEntry
- Returns:
- the infobox HTML text, or null if no infobox to be displayed
 
 
-