public class SelRecord
extends java.lang.Object
Constructor and Description |
---|
SelRecord() |
Modifier and Type | Method and Description |
---|---|
ReadingType |
getEvent() |
EventDirection |
getEventDirection() |
byte |
getReading()
Reading that triggered event.
|
int |
getRecordId() |
SelRecordType |
getRecordType() |
int |
getSensorNumber() |
SensorType |
getSensorType() |
java.util.Date |
getTimestamp() |
static SelRecord |
populateSelRecord(byte[] data) |
void |
setEvent(ReadingType event) |
void |
setEventDirection(EventDirection eventDirection) |
void |
setReading(byte reading) |
void |
setRecordId(int recordId) |
void |
setRecordType(SelRecordType recordType) |
void |
setSensorNumber(int sensorNumber) |
void |
setSensorType(SensorType sensorType) |
void |
setTimestamp(java.util.Date timestamp) |
public static SelRecord populateSelRecord(byte[] data)
public void setRecordId(int recordId)
public int getRecordId()
public SelRecordType getRecordType()
public void setRecordType(SelRecordType recordType)
public java.util.Date getTimestamp()
public void setTimestamp(java.util.Date timestamp)
public SensorType getSensorType()
public void setSensorType(SensorType sensorType)
public int getSensorNumber()
public void setSensorNumber(int sensorNumber)
public EventDirection getEventDirection()
public void setEventDirection(EventDirection eventDirection)
public ReadingType getEvent()
public void setEvent(ReadingType event)
public byte getReading()
FullSensorRecord.calcFormula(int)
). Only for threshold sensors.public void setReading(byte reading)