public static enum ToolIOInterface.OutputVoltage extends Enum<ToolIOInterface.OutputVoltage>
Enum Constant and Description |
---|
OUTPUT_VOLTAGE_0V |
OUTPUT_VOLTAGE_12V |
OUTPUT_VOLTAGE_24V |
Modifier and Type | Method and Description |
---|---|
static ToolIOInterface.OutputVoltage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToolIOInterface.OutputVoltage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToolIOInterface.OutputVoltage OUTPUT_VOLTAGE_0V
public static final ToolIOInterface.OutputVoltage OUTPUT_VOLTAGE_12V
public static final ToolIOInterface.OutputVoltage OUTPUT_VOLTAGE_24V
public static ToolIOInterface.OutputVoltage[] values()
for (ToolIOInterface.OutputVoltage c : ToolIOInterface.OutputVoltage.values()) System.out.println(c);
public static ToolIOInterface.OutputVoltage 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 nullCopyright © 2020. All rights reserved.