public class PowerChannelState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
PowerChannelState.STATE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
PowerChannelState() |
PowerChannelState(IMCDefinition defs) |
PowerChannelState(IMCMessage msg) |
PowerChannelState(java.lang.String name,
PowerChannelState.STATE state) |
Modifier and Type | Method and Description |
---|---|
static PowerChannelState |
clone(IMCMessage msg) |
static PowerChannelState |
create(java.lang.Object... values) |
java.lang.String |
getName() |
PowerChannelState.STATE |
getState() |
java.lang.String |
getStateStr() |
short |
getStateVal() |
PowerChannelState |
setName(java.lang.String name) |
PowerChannelState |
setState(PowerChannelState.STATE state) |
PowerChannelState |
setStateStr(java.lang.String state) |
PowerChannelState |
setStateVal(short state) |
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 PowerChannelState()
public PowerChannelState(IMCMessage msg)
public PowerChannelState(IMCDefinition defs)
public PowerChannelState(java.lang.String name, PowerChannelState.STATE state)
public static PowerChannelState create(java.lang.Object... values)
public static PowerChannelState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public java.lang.String getName()
public PowerChannelState setName(java.lang.String name)
name
- Namepublic PowerChannelState.STATE getState()
public java.lang.String getStateStr()
public short getStateVal()
public PowerChannelState setState(PowerChannelState.STATE state)
state
- State (enumerated)public PowerChannelState setStateStr(java.lang.String state)
state
- State (as a String)public PowerChannelState setStateVal(short state)
state
- State (integer value)