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
|
Constructor and Description |
---|
DataRecord() |
Modifier and Type | Method and Description |
---|---|
int |
getDataLength() |
java.lang.Object |
getDataValue()
Returns the decoded data field of the data record as an Object.
|
DataRecord.DataValueType |
getDataValueType() |
DataRecord.Description |
getDescription() |
byte[] |
getDib()
Returns a byte array containing the DIB (i.e. the DIF and the DIFEs) contained in the data record.
|
DataRecord.FunctionField |
getFunctionField() |
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. the VIF and the VIFEs) contained in the data record.
|
java.lang.String |
toString() |
public byte[] getDib()
public byte[] getVib()
public java.lang.Object getDataValue()
public DataRecord.DataValueType getDataValueType()
public java.lang.Double getScaledDataValue()
public DataRecord.FunctionField getFunctionField()
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 java.lang.String toString()
toString
in class java.lang.Object
public int getDataLength()