public enum IoReturn extends java.lang.Enum<IoReturn>
Return values of the LucidControl Modules.
All methods accessing a function of the Module return this enum.
The value can be evaluated by the application. All values except IO_RETURN_OK refer to an error.
Enum Constant and Description |
---|
IO_RETURN_ERR_EXEC |
IO_RETURN_ERR_INTERNAL |
IO_RETURN_INV_DATA |
IO_RETURN_INV_IOCH |
IO_RETURN_INV_LENGTH |
IO_RETURN_INV_P1 |
IO_RETURN_INV_P2 |
IO_RETURN_INV_PARAM |
IO_RETURN_INV_VALUE |
IO_RETURN_NSUP |
IO_RETURN_OK |
Modifier and Type | Method and Description |
---|---|
static IoReturn |
getIoReturn(byte value) |
byte |
getIoReturnValue() |
static IoReturn |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IoReturn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IoReturn IO_RETURN_OK
public static final IoReturn IO_RETURN_NSUP
public static final IoReturn IO_RETURN_INV_LENGTH
public static final IoReturn IO_RETURN_INV_P1
public static final IoReturn IO_RETURN_INV_P2
public static final IoReturn IO_RETURN_INV_VALUE
public static final IoReturn IO_RETURN_INV_IOCH
public static final IoReturn IO_RETURN_INV_PARAM
public static final IoReturn IO_RETURN_INV_DATA
public static final IoReturn IO_RETURN_ERR_EXEC
public static final IoReturn IO_RETURN_ERR_INTERNAL
public static IoReturn[] values()
for (IoReturn c : IoReturn.values()) System.out.println(c);
public static IoReturn valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static IoReturn getIoReturn(byte value)
public byte getIoReturnValue()