public class PowerOperation extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PowerOperation.OP |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PowerOperation() |
PowerOperation(IMCDefinition defs) |
PowerOperation(IMCMessage msg) |
PowerOperation(PowerOperation.OP op,
float time_remain,
double sched_time) |
Modifier and Type | Method and Description |
---|---|
static PowerOperation |
clone(IMCMessage msg) |
static PowerOperation |
create(java.lang.Object... values) |
PowerOperation.OP |
getOp() |
java.lang.String |
getOpStr() |
short |
getOpVal() |
double |
getSchedTime() |
double |
getTimeRemain() |
PowerOperation |
setOp(PowerOperation.OP op) |
PowerOperation |
setOpStr(java.lang.String op) |
PowerOperation |
setOpVal(short op) |
PowerOperation |
setSchedTime(double sched_time) |
PowerOperation |
setTimeRemain(double time_remain) |
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 PowerOperation()
public PowerOperation(IMCMessage msg)
public PowerOperation(IMCDefinition defs)
public PowerOperation(PowerOperation.OP op, float time_remain, double sched_time)
public static PowerOperation create(java.lang.Object... values)
public static PowerOperation clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public PowerOperation.OP getOp()
public java.lang.String getOpStr()
public short getOpVal()
public PowerOperation setOp(PowerOperation.OP op)
op
- Operation (enumerated)public PowerOperation setOpStr(java.lang.String op)
op
- Operation (as a String)public PowerOperation setOpVal(short op)
op
- Operation (integer value)public double getTimeRemain()
public PowerOperation setTimeRemain(double time_remain)
time_remain
- Time Remaining (s)public double getSchedTime()
public PowerOperation setSchedTime(double sched_time)
sched_time
- Scheduled Time (s)