枚举 SteeringMode

java.lang.Object
java.lang.Enum<SteeringMode>
net.sf.marineapi.nmea.util.SteeringMode
所有已实现的接口:
Serializable, Comparable<SteeringMode>, java.lang.constant.Constable

public enum SteeringMode extends Enum<SteeringMode>
Defines the steering mode reported in HTC sentence. Steering modes represent steering as selected by a steering selector switch or by a preceding HTC sentence. Priority levels of these inputs and usage/acceptance of related fields are to be defined and documented by the manufacturer.
作者:
Paweł Kozioł
另请参阅:
  • 枚举常量详细资料

    • MANUAL

      public static final SteeringMode MANUAL
      The main steering system is in use.
    • STANDALONE

      public static final SteeringMode STANDALONE
      The system works as a stand-alone heading controller. Field "Commanded heading to steer" is not accepted as an input.
    • HEADING_CONTROL

      public static final SteeringMode HEADING_CONTROL
      Input of commanded heading to steer is from external device and the system works as a remotely controlled heading controller. Field "Commanded heading to steer" is accepted as an input.
    • TRACK_CONTROL

      public static final SteeringMode TRACK_CONTROL
      The system wokrs as a track controller by correcting a course received in field "Commanded track". Corrections are made based on additionally received track errors (e.g. from sentence XTE, APB).
    • RUDDER_CONTROL

      public static final SteeringMode RUDDER_CONTROL
      Input of commanded rudder angle and direction from an external device. The system accepts values given in fields "Commanded rudder angle" and "Commanded rudder direction" and controls the steering by the same electronic means as used in modes S, H or T.
  • 方法详细资料

    • values

      public static SteeringMode[] values()
      按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
      返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    • valueOf

      public static SteeringMode valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • toChar

      public char toChar()
      Returns the character used in NMEA sentences to indicate the status.
      返回:
      Char indicator for SteeringMode
    • valueOf

      public static SteeringMode valueOf(char ch)
      Returns the SteeringMode enum for status char used in sentences.
      参数:
      ch - Status char
      返回:
      SteeringMode