org.openmuc.jmbus
public final class VariableDataResponse extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte |
accessNumber |
byte |
address |
byte |
deviceType |
static byte |
ELECTRICITY |
static byte |
GAS |
static byte |
HEAT |
static byte |
HEAT_COST_ALLOCATOR |
byte[] |
manufacturerData |
short |
manufacturerID |
byte[] |
meterID |
static byte |
OIL |
static byte |
OTHER |
byte |
status |
static byte |
STEAM |
java.util.List<VariableDataBlock> |
variableDataBlocks |
byte |
version |
static byte |
WARM_WATER |
static byte |
WATER |
Constructor and Description |
---|
VariableDataResponse() |
VariableDataResponse(byte address,
byte[] meterID,
short manufacturerID,
byte version,
byte deviceType,
byte accessNumber,
byte status) |
Modifier and Type | Method and Description |
---|---|
byte |
getAccessNumber() |
byte |
getAddress() |
byte |
getDeviceType() |
byte[] |
getManufacturerData() |
java.lang.String |
getManufacturerID() |
byte[] |
getMeterID() |
byte |
getStatus() |
java.util.List<VariableDataBlock> |
getVariableDataBlocks() |
byte |
getVersion() |
boolean |
hasManufacturerData() |
VariableDataResponse |
parse(java.nio.ByteBuffer buf) |
public static final byte OTHER
public static final byte OIL
public static final byte ELECTRICITY
public static final byte GAS
public static final byte HEAT
public static final byte STEAM
public static final byte WARM_WATER
public static final byte WATER
public static final byte HEAT_COST_ALLOCATOR
public byte address
public byte[] meterID
public short manufacturerID
public byte version
public byte deviceType
public byte accessNumber
public byte status
public java.util.List<VariableDataBlock> variableDataBlocks
public byte[] manufacturerData
public VariableDataResponse(byte address, byte[] meterID, short manufacturerID, byte version, byte deviceType, byte accessNumber, byte status)
public VariableDataResponse()
public byte getAddress()
public byte[] getMeterID()
public java.lang.String getManufacturerID()
public byte getVersion()
public byte getDeviceType()
public byte getAccessNumber()
public byte getStatus()
public java.util.List<VariableDataBlock> getVariableDataBlocks()
public byte[] getManufacturerData()
public boolean hasManufacturerData()
public VariableDataResponse parse(java.nio.ByteBuffer buf) throws java.io.IOException
java.io.IOException