public enum PowerModeLevel extends java.lang.Enum<PowerModeLevel>
Enum Constant and Description |
---|
High |
HT730High
for HT730
|
HT730Low |
HT730Medium |
HT730VeryLow |
Low |
Medium |
Normal |
RG768BHigh
power > 31dBm for RG768
|
RG768BLow |
RG768BMedium |
RG768BVeryLow |
RG768SHigh
power <= 31dBm for RG768
|
RG768SLow |
RG768SMedium |
RG768SVeryLow |
VeryLow |
Modifier and Type | Method and Description |
---|---|
double |
dutyCycle()
Get the duty cycle value.
|
int |
idleTime()
Get the idle time value.
|
int |
inventoryTime()
Get the inventory time value.
|
int |
maxPercent()
Get the max percent value.
|
static java.lang.String[] |
names()
Returns an array containing the name of this enum type.
|
int |
percent()
Get the battery percent value.
|
int |
value()
Get the enum value
|
static PowerModeLevel |
valueOf(int code)
Returns the enum constant of this type with the specified code.
|
static PowerModeLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerModeLevel |
valueOfName(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PowerModeLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerModeLevel Normal
public static final PowerModeLevel High
public static final PowerModeLevel Medium
public static final PowerModeLevel Low
public static final PowerModeLevel VeryLow
public static final PowerModeLevel RG768BHigh
public static final PowerModeLevel RG768BMedium
public static final PowerModeLevel RG768BLow
public static final PowerModeLevel RG768BVeryLow
public static final PowerModeLevel RG768SHigh
public static final PowerModeLevel RG768SMedium
public static final PowerModeLevel RG768SLow
public static final PowerModeLevel RG768SVeryLow
public static final PowerModeLevel HT730High
public static final PowerModeLevel HT730Medium
public static final PowerModeLevel HT730Low
public static final PowerModeLevel HT730VeryLow
public static PowerModeLevel[] values()
for (PowerModeLevel c : PowerModeLevel.values()) System.out.println(c);
public static PowerModeLevel 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 int value()
public int percent()
public int maxPercent()
public double dutyCycle()
public int inventoryTime()
public int idleTime()
public static PowerModeLevel valueOf(int code)
code
- The code to checkpublic static PowerModeLevel valueOfName(java.lang.String name)
name
- The name to check.public static java.lang.String[] names()