public static enum Bx6GScreenRS.BaudRate extends java.lang.Enum<Bx6GScreenRS.BaudRate>
| Enum Constant and Description |
|---|
RATE_57600
波特率 57600。
|
RATE_9600
波特率 9600。
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Bx6GScreenRS.BaudRate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bx6GScreenRS.BaudRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bx6GScreenRS.BaudRate RATE_57600
public static final Bx6GScreenRS.BaudRate RATE_9600
public static Bx6GScreenRS.BaudRate 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 Bx6GScreenRS.BaudRate[] values()
for (Bx6GScreenRS.BaudRate c : Bx6GScreenRS.BaudRate.values()) System.out.println(c);