public enum MasterName extends Enum<MasterName>
AxisName| Enum Constant and Description |
|---|
MASTER0 |
MASTER1 |
MASTER2 |
MASTER3 |
MASTER4 |
MASTER5 |
MASTER6 |
MASTER7 |
| Modifier and Type | Method and Description |
|---|---|
int |
index()
Gets the motor controller's index number of the master.
|
String |
reference()
Gets the string used to refer to the master in AcroBasic.
|
static MasterName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MasterName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterName MASTER0
public static final MasterName MASTER1
public static final MasterName MASTER2
public static final MasterName MASTER3
public static final MasterName MASTER4
public static final MasterName MASTER5
public static final MasterName MASTER6
public static final MasterName MASTER7
public static MasterName[] values()
for (MasterName c : MasterName.values()) System.out.println(c);
public static MasterName 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 int index()
public String reference()
Copyright © 2017 LSST. All rights reserved.