public class FuelLevel extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
FuelLevel() |
FuelLevel(float value,
float confidence,
java.lang.String opmodes) |
FuelLevel(IMCDefinition defs) |
FuelLevel(IMCMessage msg) |
Modifier and Type | Method and Description |
---|---|
static FuelLevel |
clone(IMCMessage msg) |
static FuelLevel |
create(java.lang.Object... values) |
double |
getConfidence() |
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
getOpmodes() |
double |
getValue() |
FuelLevel |
setConfidence(double confidence) |
FuelLevel |
setOpmodes(java.util.LinkedHashMap<java.lang.String,?> opmodes) |
FuelLevel |
setOpmodes(java.lang.String opmodes) |
FuelLevel |
setValue(double value) |
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 FuelLevel()
public FuelLevel(IMCMessage msg)
public FuelLevel(IMCDefinition defs)
public FuelLevel(float value, float confidence, java.lang.String opmodes)
public static FuelLevel create(java.lang.Object... values)
public static FuelLevel clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getValue()
public FuelLevel setValue(double value)
value
- Value (%)public double getConfidence()
public FuelLevel setConfidence(double confidence)
confidence
- Confidence Level (%)public java.util.LinkedHashMap<java.lang.String,java.lang.String> getOpmodes()
public FuelLevel setOpmodes(java.util.LinkedHashMap<java.lang.String,?> opmodes)
opmodes
- Operation Modes (tuplelist)public FuelLevel setOpmodes(java.lang.String opmodes)