public enum InputId extends Enum<InputId>
Inputs 1-4 are passive, they read the resistence of the sensor connected to them. They are colored yellow on the control lab.
Inputs 5-8 are active, they supply power to the connected sensor in order for it to work. They are colored blue on the control lab.
Enum Constant and Description |
---|
I1
Input 1.
|
I2
Input 2.
|
I3
Input 3.
|
I4
Input 4.
|
I5
Input 5.
|
I6
Input 6.
|
I7
Input 7.
|
I8
Input 8.
|
Modifier and Type | Method and Description |
---|---|
InputType |
getInputType()
|
static InputId |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputId I1
public static final InputId I2
public static final InputId I3
public static final InputId I4
public static final InputId I5
public static final InputId I6
public static final InputId I7
public static final InputId I8
public static InputId[] values()
for (InputId c : InputId.values()) System.out.println(c);
public static InputId 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 InputType getInputType()
Copyright © 2016–2023. All rights reserved.