public class HistoricSample extends RemoteData
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
HistoricSample() |
HistoricSample(IMCDefinition defs) |
HistoricSample(IMCMessage msg) |
HistoricSample(int sys_id,
byte priority,
short x,
short y,
short z,
short t,
IMCMessage sample) |
Modifier and Type | Method and Description |
---|---|
static HistoricSample |
clone(IMCMessage msg) |
static HistoricSample |
create(java.lang.Object... values) |
byte |
getPriority() |
IMCMessage |
getSample() |
<T extends IMCMessage> |
getSample(java.lang.Class<T> clazz) |
int |
getSysId() |
short |
getT() |
short |
getX() |
short |
getY() |
short |
getZ() |
HistoricSample |
setPriority(byte priority) |
HistoricSample |
setSample(IMCMessage sample) |
HistoricSample |
setSysId(int sys_id) |
HistoricSample |
setT(short t) |
HistoricSample |
setX(short x) |
HistoricSample |
setY(short y) |
HistoricSample |
setZ(short z) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, copyToClipoard, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, makeImmutable, parseJson, parseXml, pasteFromClipoard, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toByteArray, toByteArray, toString, validate
public static final int ID_STATIC
public HistoricSample()
public HistoricSample(IMCMessage msg)
public HistoricSample(IMCDefinition defs)
public HistoricSample(int sys_id, byte priority, short x, short y, short z, short t, IMCMessage sample)
public static HistoricSample create(java.lang.Object... values)
public static HistoricSample clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public int getSysId()
public HistoricSample setSysId(int sys_id)
sys_id
- Original System Idpublic byte getPriority()
public HistoricSample setPriority(byte priority)
priority
- Prioritypublic short getX()
public HistoricSample setX(short x)
x
- X offset (m)public short getY()
public HistoricSample setY(short y)
y
- Y offset (m)public short getZ()
public HistoricSample setZ(short z)
z
- Z offset (dm)public short getT()
public HistoricSample setT(short t)
t
- Time offset (s)public IMCMessage getSample()
public <T extends IMCMessage> T getSample(java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public HistoricSample setSample(IMCMessage sample)
sample
- Data Sample