org.openmuc.jmbus
Class VariableDataResponse

java.lang.Object
  extended by org.openmuc.jmbus.VariableDataResponse

public class VariableDataResponse
extends java.lang.Object

Representation of the RESP-UD message. Will be returned by MBusASAP.readMeter().


Field Summary
 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 Summary
VariableDataResponse()
           
VariableDataResponse(byte address, byte[] meterID, short manufacturerID, byte version, byte deviceType, byte accessNumber, byte status)
           
 
Method Summary
 byte getAccessNumber()
           
 byte getAddress()
           
 byte getDeviceType()
           
 byte[] getManufacturerData()
           
 short getManufacturerID()
           
 byte[] getMeterID()
           
 byte getStatus()
           
 java.util.List<VariableDataBlock> getVariableDataBlocks()
           
 byte getVersion()
           
 VariableDataResponse parse(java.nio.ByteBuffer buf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OTHER

public static final byte OTHER
See Also:
Constant Field Values

OIL

public static final byte OIL
See Also:
Constant Field Values

ELECTRICITY

public static final byte ELECTRICITY
See Also:
Constant Field Values

GAS

public static final byte GAS
See Also:
Constant Field Values

HEAT

public static final byte HEAT
See Also:
Constant Field Values

STEAM

public static final byte STEAM
See Also:
Constant Field Values

WARM_WATER

public static final byte WARM_WATER
See Also:
Constant Field Values

WATER

public static final byte WATER
See Also:
Constant Field Values

HEAT_COST_ALLOCATOR

public static final byte HEAT_COST_ALLOCATOR
See Also:
Constant Field Values

address

public byte address

meterID

public byte[] meterID

manufacturerID

public short manufacturerID

version

public byte version

deviceType

public byte deviceType

accessNumber

public byte accessNumber

status

public byte status

variableDataBlocks

public java.util.List<VariableDataBlock> variableDataBlocks

manufacturerData

public byte[] manufacturerData
Constructor Detail

VariableDataResponse

public VariableDataResponse(byte address,
                            byte[] meterID,
                            short manufacturerID,
                            byte version,
                            byte deviceType,
                            byte accessNumber,
                            byte status)

VariableDataResponse

public VariableDataResponse()
Method Detail

getAddress

public byte getAddress()

getMeterID

public byte[] getMeterID()

getManufacturerID

public short getManufacturerID()

getVersion

public byte getVersion()

getDeviceType

public byte getDeviceType()

getAccessNumber

public byte getAccessNumber()

getStatus

public byte getStatus()

getVariableDataBlocks

public java.util.List<VariableDataBlock> getVariableDataBlocks()

getManufacturerData

public byte[] getManufacturerData()

parse

public VariableDataResponse parse(java.nio.ByteBuffer buf)
                           throws java.io.IOException
Throws:
java.io.IOException