public class WindSpeed extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
WindSpeed() |
WindSpeed(float direction,
float speed) |
WindSpeed(IMCDefinition defs) |
Modifier and Type | Method and Description |
---|---|
static WindSpeed |
clone(IMCMessage msg) |
static WindSpeed |
create(java.lang.Object... values) |
double |
getDirection() |
double |
getSpeed() |
void |
setDirection(double direction) |
void |
setSpeed(double speed) |
asJSON, asXml, cloneMessage, cloneMessage, compareTo, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, setMessage, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public WindSpeed()
public WindSpeed(IMCDefinition defs)
public WindSpeed(float direction, float speed)
public static WindSpeed create(java.lang.Object... values)
public static WindSpeed clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public double getDirection()
public double getSpeed()
public void setDirection(double direction)
direction
- Direction (rad)public void setSpeed(double speed)
speed
- Speed (m/s)