org.openmuc.jmbus
public class DataRecord extends java.lang.Object
getScaledDataValue()
returns the result of the data value multiplied with the multiplier.Modifier and Type | Class and Description |
---|---|
static class |
DataRecord.DataValueType
The data value type
|
static class |
DataRecord.Description
Data description stored in the VIB
|
static class |
DataRecord.FunctionField
Function coded in the DIB
|
Modifier and Type | Method and Description |
---|---|
void |
decode() |
byte |
getDataField() |
java.lang.Object |
getDataValue()
Returns the decoded data field of the data record as an Object.
|
byte[] |
getDataValueBytes()
Returns the data field of the data record as a byte array.
|
DataRecord.DataValueType |
getDataValueType() |
DataRecord.Description |
getDescription() |
byte[] |
getDIB()
Returns a byte array containing the DIB (i.e.
|
DataRecord.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() |
java.lang.String |
getUserDefinedDescription() |
byte[] |
getVIB()
Returns a byte array containing the VIB (i.e.
|
java.lang.String |
toString() |
public java.lang.Integer getLvar()
public byte[] getDIB()
public byte[] getVIB()
public byte[] getDataValueBytes()
public java.lang.Object getDataValue()
public DataRecord.DataValueType getDataValueType()
public java.lang.Double getScaledDataValue()
public DataRecord.FunctionField getFunctionField()
public byte getDataField()
public long getStorageNumber()
public int getTariff()
public short getSubunit()
public DataRecord.Description getDescription()
public java.lang.String getUserDefinedDescription()
public int getMultiplierExponent()
public DlmsUnit getUnit()
public void decode() throws DecodingException
DecodingException
public java.lang.String toString()
toString
in class java.lang.Object