public enum FaultLampState extends Enum<FaultLampState> implements HasName
| Enum Constant and Description |
|---|
MALFUNCTION
Malfunction lamp is active.
|
NONE
Fault lamp is off, no active fault state.
|
PROTECT
Protect lamp is active.
|
STOP
Red stop lamp is active.
|
WARNING
Amber warning lamp is active.
|
| Modifier and Type | Method and Description |
|---|---|
static FaultLampState |
findOrDefault(String name) |
String |
getName() |
static FaultLampState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FaultLampState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultLampState NONE
public static final FaultLampState MALFUNCTION
public static final FaultLampState WARNING
public static final FaultLampState STOP
public static final FaultLampState PROTECT
public static FaultLampState[] values()
for (FaultLampState c : FaultLampState.values()) System.out.println(c);
public static FaultLampState 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 FaultLampState findOrDefault(String name)
Copyright © 2023. All rights reserved.