public static enum Bx5GScreenRS.BaudRate extends Enum<Bx5GScreenRS.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 Bx5GScreenRS.BaudRate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bx5GScreenRS.BaudRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bx5GScreenRS.BaudRate RATE_57600
public static final Bx5GScreenRS.BaudRate RATE_9600
public static Bx5GScreenRS.BaudRate[] values()
for (Bx5GScreenRS.BaudRate c : Bx5GScreenRS.BaudRate.values()) System.out.println(c);
public static Bx5GScreenRS.BaudRate 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 nullCopyright © 2020 onbon4j. All rights reserved.