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