public enum IOValue extends Enum<IOValue>
IOLine
configured as digital
I/O.IOLine
Modifier and Type | Method and Description |
---|---|
int |
getID()
Returns the ID of the IO value.
|
static IOValue |
getIOValue(int valueID)
Returns the
IOValue associated to the provided value ID. |
String |
getName()
Returns the name of the IO value.
|
String |
toString() |
static IOValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public int getID()
public static IOValue getIOValue(int valueID)
IOValue
associated to the provided value ID.valueID
- The ID of the IOValue
to retrieve.IOValue
associated to the provided value ID.public String getName()
public static IOValue 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 IOValue[] values()
for (IOValue c : IOValue.values()) System.out.println(c);
© Copyright 2014–2014 Digi International Inc. All rights reserved.