public class RemoteSensorInfo extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
RemoteSensorInfo() |
RemoteSensorInfo(IMCDefinition defs) |
RemoteSensorInfo(IMCMessage msg) |
RemoteSensorInfo(java.lang.String id,
java.lang.String sensor_class,
double lat,
double lon,
float alt,
float heading,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
static RemoteSensorInfo |
clone(IMCMessage msg) |
static RemoteSensorInfo |
create(java.lang.Object... values) |
double |
getAlt() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getData() |
double |
getHeading() |
java.lang.String |
getId() |
double |
getLat() |
double |
getLon() |
java.lang.String |
getSensorClass() |
RemoteSensorInfo |
setAlt(double alt) |
RemoteSensorInfo |
setData(java.util.LinkedHashMap<java.lang.String,?> data) |
RemoteSensorInfo |
setData(java.lang.String data) |
RemoteSensorInfo |
setHeading(double heading) |
RemoteSensorInfo |
setId(java.lang.String id) |
RemoteSensorInfo |
setLat(double lat) |
RemoteSensorInfo |
setLon(double lon) |
RemoteSensorInfo |
setSensorClass(java.lang.String sensor_class) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, 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, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public RemoteSensorInfo()
public RemoteSensorInfo(IMCMessage msg)
public RemoteSensorInfo(IMCDefinition defs)
public RemoteSensorInfo(java.lang.String id, java.lang.String sensor_class, double lat, double lon, float alt, float heading, java.lang.String data)
public static RemoteSensorInfo create(java.lang.Object... values)
public static RemoteSensorInfo clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getId()
public RemoteSensorInfo setId(java.lang.String id)
id
- Idpublic java.lang.String getSensorClass()
public RemoteSensorInfo setSensorClass(java.lang.String sensor_class)
sensor_class
- Classpublic double getLat()
public RemoteSensorInfo setLat(double lat)
lat
- Latitude (rad)public double getLon()
public RemoteSensorInfo setLon(double lon)
lon
- Longitude (rad)public double getAlt()
public RemoteSensorInfo setAlt(double alt)
alt
- Altitude (m)public double getHeading()
public RemoteSensorInfo setHeading(double heading)
heading
- Heading (rad)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getData()
public RemoteSensorInfo setData(java.util.LinkedHashMap<java.lang.String,?> data)
data
- Custom Data (tuplelist)public RemoteSensorInfo setData(java.lang.String data)