public class SetPWM extends IMCMessage
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
SetPWM() |
SetPWM(IMCDefinition defs) |
SetPWM(IMCMessage msg) |
SetPWM(short id,
long period,
long duty_cycle) |
Modifier and Type | Method and Description |
---|---|
static SetPWM |
clone(IMCMessage msg) |
static SetPWM |
create(java.lang.Object... values) |
long |
getDutyCycle() |
short |
getId() |
long |
getPeriod() |
SetPWM |
setDutyCycle(long duty_cycle) |
SetPWM |
setId(short id) |
SetPWM |
setPeriod(long period) |
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 SetPWM()
public SetPWM(IMCMessage msg)
public SetPWM(IMCDefinition defs)
public SetPWM(short id, long period, long duty_cycle)
public static SetPWM create(java.lang.Object... values)
public static SetPWM clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public short getId()
public SetPWM setId(short id)
id
- Channel Identifierpublic long getPeriod()
public SetPWM setPeriod(long period)
period
- Period (µs)public long getDutyCycle()
public SetPWM setDutyCycle(long duty_cycle)
duty_cycle
- Duty Cycle (µs)