枚举 SteeringMode
- 所有已实现的接口:
Serializable,Comparable<SteeringMode>,java.lang.constant.Constable
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ł
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明Input of commanded heading to steer is from external device and the system works as a remotely controlled heading controller.The main steering system is in use.Input of commanded rudder angle and direction from an external device.The system works as a stand-alone heading controller.The system wokrs as a track controller by correcting a course received in field "Commanded track". -
方法概要
修饰符和类型方法说明chartoChar()Returns the character used in NMEA sentences to indicate the status.static SteeringModevalueOf(char ch) Returns the SteeringMode enum for status char used in sentences.static SteeringMode返回带有指定名称的该类型的枚举常量。static SteeringMode[]values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
-
枚举常量详细资料
-
MANUAL
The main steering system is in use. -
STANDALONE
The system works as a stand-alone heading controller. Field "Commanded heading to steer" is not accepted as an input. -
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
-
RUDDER_CONTROL
-
-
方法详细资料
-
values
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
toChar
public char toChar()Returns the character used in NMEA sentences to indicate the status.- 返回:
- Char indicator for SteeringMode
-
valueOf
Returns the SteeringMode enum for status char used in sentences.- 参数:
ch- Status char- 返回:
- SteeringMode
-