Package aero.t2s.modes.constants
Enum SelectedAltitudeSource
- java.lang.Object
-
- java.lang.Enum<SelectedAltitudeSource>
-
- aero.t2s.modes.constants.SelectedAltitudeSource
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SelectedAltitudeSource>
public enum SelectedAltitudeSource extends java.lang.Enum<SelectedAltitudeSource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRCRAFT01 = Aircraft Altitude - could indicate the aircraft is not equipped with an autopilot or the flight directors are disabled, manual flying.FMS11 = FMS managed selected altitude - The FMS is control of the selected altitudeMCP10 = MCP/FCU managed altitude - the aircraft is controlling the selected altitude through the MCP/FCU on the autopilotUNKNOWN00 = Unknown - no information on the source of the information is available.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SelectedAltitudeSourcefind(int source)static SelectedAltitudeSourcevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SelectedAltitudeSource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SelectedAltitudeSource UNKNOWN
00 = Unknown - no information on the source of the information is available.
-
AIRCRAFT
public static final SelectedAltitudeSource AIRCRAFT
01 = Aircraft Altitude - could indicate the aircraft is not equipped with an autopilot or the flight directors are disabled, manual flying.
-
MCP
public static final SelectedAltitudeSource MCP
10 = MCP/FCU managed altitude - the aircraft is controlling the selected altitude through the MCP/FCU on the autopilot
-
FMS
public static final SelectedAltitudeSource FMS
11 = FMS managed selected altitude - The FMS is control of the selected altitude
-
-
Method Detail
-
values
public static SelectedAltitudeSource[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SelectedAltitudeSource c : SelectedAltitudeSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SelectedAltitudeSource valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
find
public static SelectedAltitudeSource find(int source)
-
-