public class PlanControlState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PlanControlState.LAST_OUTCOME |
static class |
PlanControlState.STATE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PlanControlState() |
PlanControlState(IMCDefinition defs) |
PlanControlState(IMCMessage msg) |
PlanControlState(PlanControlState.STATE state,
java.lang.String plan_id,
int plan_eta,
float plan_progress,
java.lang.String man_id,
int man_type,
int man_eta,
PlanControlState.LAST_OUTCOME last_outcome) |
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 PlanControlState()
public PlanControlState(IMCMessage msg)
public PlanControlState(IMCDefinition defs)
public PlanControlState(PlanControlState.STATE state, java.lang.String plan_id, int plan_eta, float plan_progress, java.lang.String man_id, int man_type, int man_eta, PlanControlState.LAST_OUTCOME last_outcome)
public static PlanControlState create(java.lang.Object... values)
public static PlanControlState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public PlanControlState.STATE getState()
public java.lang.String getStateStr()
public short getStateVal()
public PlanControlState setState(PlanControlState.STATE state)
state
- State (enumerated)public PlanControlState setStateStr(java.lang.String state)
state
- State (as a String)public PlanControlState setStateVal(short state)
state
- State (integer value)public java.lang.String getPlanId()
public PlanControlState setPlanId(java.lang.String plan_id)
plan_id
- Plan -- IDpublic int getPlanEta()
public PlanControlState setPlanEta(int plan_eta)
plan_eta
- Plan -- ETA (s)public double getPlanProgress()
public PlanControlState setPlanProgress(double plan_progress)
plan_progress
- Plan -- Progress (%)public java.lang.String getManId()
public PlanControlState setManId(java.lang.String man_id)
man_id
- Maneuver -- IDpublic int getManType()
public PlanControlState setManType(int man_type)
man_type
- Maneuver -- Typepublic int getManEta()
public PlanControlState setManEta(int man_eta)
man_eta
- Maneuver -- ETA (s)public PlanControlState.LAST_OUTCOME getLastOutcome()
public java.lang.String getLastOutcomeStr()
public short getLastOutcomeVal()
public PlanControlState setLastOutcome(PlanControlState.LAST_OUTCOME last_outcome)
last_outcome
- Last Plan Outcome (enumerated)public PlanControlState setLastOutcomeStr(java.lang.String last_outcome)
last_outcome
- Last Plan Outcome (as a String)public PlanControlState setLastOutcomeVal(short last_outcome)
last_outcome
- Last Plan Outcome (integer value)