public static enum NanotecPD4N.MotorErrors extends Enum<NanotecPD4N.MotorErrors>
| Enum Constant and Description |
|---|
COMPONENT |
EEPROM |
INTERNAL |
LOWVOLTAGE |
OVERCURRENT |
POSITION |
TEMPERATURE |
UNASSIGNED |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(int errorCode) |
static NanotecPD4N.MotorErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NanotecPD4N.MotorErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NanotecPD4N.MotorErrors LOWVOLTAGE
public static final NanotecPD4N.MotorErrors TEMPERATURE
public static final NanotecPD4N.MotorErrors OVERCURRENT
public static final NanotecPD4N.MotorErrors EEPROM
public static final NanotecPD4N.MotorErrors POSITION
public static final NanotecPD4N.MotorErrors INTERNAL
public static final NanotecPD4N.MotorErrors UNASSIGNED
public static final NanotecPD4N.MotorErrors COMPONENT
public static NanotecPD4N.MotorErrors[] values()
for (NanotecPD4N.MotorErrors c : NanotecPD4N.MotorErrors.values()) System.out.println(c);
public static NanotecPD4N.MotorErrors 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 String decode(int errorCode)
Copyright © 2023 LSST. All rights reserved.