public enum SensorControl extends Enum<SensorControl>
| Enum Constant and Description |
|---|
EXTERNAL |
INTERNAL |
INTERNAL_TEMP_EXTERNAL_LIMIT |
| Modifier and Type | Method and Description |
|---|---|
static SensorControl |
fromValue(byte val) |
byte |
getValue() |
static SensorControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SensorControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorControl INTERNAL
public static final SensorControl EXTERNAL
public static final SensorControl INTERNAL_TEMP_EXTERNAL_LIMIT
public static SensorControl[] values()
for (SensorControl c : SensorControl.values()) System.out.println(c);
public static SensorControl 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 byte getValue()
public static SensorControl fromValue(byte val)
Copyright © 2018. All rights reserved.