public enum DiagnosticsSubFunctionCode extends Enum<DiagnosticsSubFunctionCode>
| Modifier and Type | Method and Description |
|---|---|
static DiagnosticsSubFunctionCode |
get(int value) |
int |
toInt() |
String |
toString() |
static DiagnosticsSubFunctionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticsSubFunctionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticsSubFunctionCode RETURN_QUERY_DATA
public static final DiagnosticsSubFunctionCode RESTART_COMMUNICATIONS_OPTION
public static final DiagnosticsSubFunctionCode RETURN_DIAGNOSTIC_REGISTER
public static final DiagnosticsSubFunctionCode CHANGE_ASCII_INPUT_DELIMITER
public static final DiagnosticsSubFunctionCode FORCE_LISTEN_ONLY_MODE
public static final DiagnosticsSubFunctionCode CLEAR_COUNTERS_AND_DIAGNOSTIC_REGISTER
public static final DiagnosticsSubFunctionCode RETURN_BUS_MESSAGE_COUNT
public static final DiagnosticsSubFunctionCode RETURN_BUS_COMMUNICATION_ERROR_COUNT
public static final DiagnosticsSubFunctionCode RETURN_BUS_EXCEPTION_ERROR_COUNT
public static final DiagnosticsSubFunctionCode RETURN_SLAVE_MESSAGE_COUNT
public static final DiagnosticsSubFunctionCode RETURN_SLAVE_NO_RESPONSE_COUNT
public static final DiagnosticsSubFunctionCode RETURN_SLAVE_NAK_COUNT
public static final DiagnosticsSubFunctionCode RETURN_SLAVE_BUSY_COUNT
public static final DiagnosticsSubFunctionCode RETURN_BUS_CHARACTER_OVERRUN_COUNT
public static final DiagnosticsSubFunctionCode CLEAR_OVERRUN_COUNTER_AND_FLAG
public static final DiagnosticsSubFunctionCode RESERVED
public static DiagnosticsSubFunctionCode[] values()
for (DiagnosticsSubFunctionCode c : DiagnosticsSubFunctionCode.values()) System.out.println(c);
public static DiagnosticsSubFunctionCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static DiagnosticsSubFunctionCode get(int value)
public int toInt()
public String toString()
toString in class Enum<DiagnosticsSubFunctionCode>Copyright © 2018. All rights reserved.