Meter function can measure metering information. The function
provides these properties:
PROPERTY_CURRENT - eventable property accessible with
getCurrent() getter;PROPERTY_TOTAL - eventable property accessible with
getTotal() getter.The sensor type can be:
Types#PRESSURETypes#GASTypes#POWERTypes#WATERTypes#HEATTypes#COLDTypesLevelData
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FLOW_IN
Represents the metering consumption flow. |
| public static final String | FLOW_OUT
Represents the metering production flow. |
| public static final String | PROPERTY_CURRENT
Specifies the current consumption or production property name. |
| public static final String | PROPERTY_TOTAL
Specifies the total consumption or production property name. |
| public static final String | SERVICE_FLOW
The service property value contains the metering flow. |
| FLOW_IN | back to summary |
|---|---|
| public static final String FLOW_IN Represents the metering consumption flow. It can be used as
| |
| FLOW_OUT | back to summary |
|---|---|
| public static final String FLOW_OUT Represents the metering production flow. It can be used as
| |
| PROPERTY_CURRENT | back to summary |
|---|---|
| public static final String PROPERTY_CURRENT Specifies the current consumption or production property name. The
eventable property can be read with | |
| PROPERTY_TOTAL | back to summary |
|---|---|
| public static final String PROPERTY_TOTAL Specifies the total consumption or production property name. The
eventable property can be read with | |
| SERVICE_FLOW | back to summary |
|---|---|
| public static final String SERVICE_FLOW The service property value contains the metering flow. It's an optional
property and available only if it's supported by the meter. The value
type is | |
| getCurrent | back to summary |
|---|---|
| public LevelData getCurrent() throws DeviceException Returns the current metering info. It's a getter method for
| |
| getTotal | back to summary |
|---|---|
| public LevelData getTotal() throws DeviceException Returns the total metering info. It's a getter method for
| |