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, asXml, cloneMessage, cloneMessage, compareTo, copyFrom, 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, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseXml, payloadMD5, serialize, serialize, setBitMask, setDst, setDstEnt, setHeader, 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 getPlanId()
public int getPlanEta()
public double getPlanProgress()
public java.lang.String getManId()
public int getManType()
public int getManEta()
public PlanControlState.LAST_OUTCOME getLastOutcome()
public PlanControlState setState(PlanControlState.STATE state)
state
- State (enumerated)public PlanControlState setState(java.lang.String state)
state
- State (as a String)public PlanControlState setState(short state)
state
- State (integer value)public PlanControlState setPlanId(java.lang.String plan_id)
plan_id
- Plan -- IDpublic PlanControlState setPlanEta(int plan_eta)
plan_eta
- Plan -- ETA (s)public PlanControlState setPlanProgress(double plan_progress)
plan_progress
- Plan -- Progress (%)public PlanControlState setManId(java.lang.String man_id)
man_id
- Maneuver -- IDpublic PlanControlState setManType(int man_type)
man_type
- Maneuver -- Typepublic PlanControlState setManEta(int man_eta)
man_eta
- Maneuver -- ETA (s)public PlanControlState setLastOutcome(PlanControlState.LAST_OUTCOME last_outcome)
last_outcome
- Last Plan Outcome (enumerated)public PlanControlState setLastOutcome(java.lang.String last_outcome)
last_outcome
- Last Plan Outcome (as a String)public PlanControlState setLastOutcome(short last_outcome)
last_outcome
- Last Plan Outcome (integer value)