public static enum CapabilityEnergyMetering.AttributeId extends java.lang.Enum<CapabilityEnergyMetering.AttributeId> implements Capability.AttributeId
CapabilityEnergyMetering.| Enum Constant and Description |
|---|
CONS_PROD_FMT_DECIMALS
Deprecated.
|
CONS_PROD_FMT_DIGITS
Deprecated.
|
CONSUMPTION |
DEMAND_DECIMALS
Deprecated.
|
DEMAND_FMT_DIGITS
Deprecated.
|
DEMAND_WATT |
DIVISOR
Deprecated.
|
LAST_READ_TIME_ARR |
MULTIPLIER
Deprecated.
|
PRODUCTION |
UNIT_OF_MEASURE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Capability.CapabilityId |
getCapabilityId() |
static CapabilityEnergyMetering.AttributeId |
getEnum(int index) |
int |
getInt() |
static CapabilityEnergyMetering.AttributeId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityEnergyMetering.AttributeId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityEnergyMetering.AttributeId CONSUMPTION
public static final CapabilityEnergyMetering.AttributeId DEMAND_WATT
public static final CapabilityEnergyMetering.AttributeId LAST_READ_TIME_ARR
@Deprecated public static final CapabilityEnergyMetering.AttributeId MULTIPLIER
@Deprecated public static final CapabilityEnergyMetering.AttributeId DIVISOR
@Deprecated public static final CapabilityEnergyMetering.AttributeId CONS_PROD_FMT_DIGITS
@Deprecated public static final CapabilityEnergyMetering.AttributeId CONS_PROD_FMT_DECIMALS
@Deprecated public static final CapabilityEnergyMetering.AttributeId DEMAND_FMT_DIGITS
@Deprecated public static final CapabilityEnergyMetering.AttributeId DEMAND_DECIMALS
public static final CapabilityEnergyMetering.AttributeId PRODUCTION
@Deprecated public static final CapabilityEnergyMetering.AttributeId UNIT_OF_MEASURE
public static CapabilityEnergyMetering.AttributeId[] values()
for (CapabilityEnergyMetering.AttributeId c : CapabilityEnergyMetering.AttributeId.values()) System.out.println(c);
public static CapabilityEnergyMetering.AttributeId 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 CapabilityEnergyMetering.AttributeId getEnum(int index)
public int getInt()
getInt in interface CommandIdInterfacepublic Capability.CapabilityId getCapabilityId()
getCapabilityId in interface Capability.AttributeId