org.openmuc.jmbus
public class VariableDataBlock extends java.lang.Object
getScaledDataValue()
returns the result of the data value multiplied with the multiplier.Modifier and Type | Class and Description |
---|---|
static class |
VariableDataBlock.DataType |
static class |
VariableDataBlock.Description
Data description stored in the VIF
|
static class |
VariableDataBlock.FunctionField
Function coded in the DIF
|
Modifier and Type | Method and Description |
---|---|
void |
decode() |
byte |
getDataField() |
java.lang.Object |
getDataValue()
Returns the decoded data field of the Variable Data Block as an Object.
|
byte[] |
getDataValueBytes()
Returns the data field of the Variable Data Block as a byte array.
|
VariableDataBlock.DataType |
getDataValueType() |
VariableDataBlock.Description |
getDescription() |
byte[] |
getDIB()
Returns a byte array containing the DIB (i.e.
|
VariableDataBlock.FunctionField |
getFunctionField() |
java.lang.Integer |
getLvar() |
int |
getMultiplierExponent()
The multiplier is coded in the VIF.
|
java.lang.Double |
getScaledDataValue()
Returns the data (value) multiplied by the multiplier as a Double.
|
long |
getStorageNumber() |
short |
getSubunit() |
int |
getTariff() |
DlmsUnit |
getUnit() |
byte[] |
getVIB()
Returns a byte array containing the VIB (i.e.
|
public java.lang.Integer getLvar()
public byte[] getDIB()
public byte[] getVIB()
public byte[] getDataValueBytes()
public java.lang.Object getDataValue()
public VariableDataBlock.DataType getDataValueType()
public java.lang.Double getScaledDataValue()
public VariableDataBlock.FunctionField getFunctionField()
public byte getDataField()
public long getStorageNumber()
public int getTariff()
public short getSubunit()
public VariableDataBlock.Description getDescription()
public int getMultiplierExponent()
public DlmsUnit getUnit()
public void decode() throws DecodingException
DecodingException