public static class CapabilityEnergyMetering.GetConsumption extends Command<CapabilityEnergyMetering.CommandId>
Capability.sendResourceCommand(buzz.getcoco.iot.Command<T>, buzz.getcoco.iot.Capability.CommandStatusListener<T>)
while sending get consumption command.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
scale
Scale defines to fetch the value in kW,MW etc.
|
| Constructor and Description |
|---|
GetConsumption(int scale)
A constructor used to create
GetConsumption command. |
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString