com.neuron.app.tonto
Class CCFIRCode
java.lang.Object
com.neuron.app.tonto.CCFNode
com.neuron.app.tonto.CCFIRCode
- All Implemented Interfaces:
- com.neuron.irdb.impl.ProntoConstants, java.lang.Cloneable
public class CCFIRCode
- extends CCFNode
- implements com.neuron.irdb.impl.ProntoConstants
An abstraction for IRCodes sent by the Pronto.
Fields inherited from interface com.neuron.irdb.impl.ProntoConstants |
ENC_PULSE_POS, ENC_PULSE_WIDTH, ENC_RC5, ENC_RC51, ENC_RC6, ENC_RC61, ENC_RC7, ENC_RC8, ENC_RC9 |
Constructor Summary |
CCFIRCode(com.neuron.app.tonto.CCFHeader header)
|
CCFIRCode(com.neuron.app.tonto.CCFHeader header,
java.lang.String code)
|
CCFIRCode(com.neuron.app.tonto.CCFHeader header,
java.lang.String name,
java.lang.String code)
|
Method Summary |
void |
checkVersion()
|
java.lang.String |
getCode()
Get the Pronto ASCII Hex representation of this code. |
java.lang.String |
getName()
Get the name associated with this code. |
void |
postDecode(com.neuron.app.tonto.CCFNodeState zs)
|
void |
preDecode(com.neuron.app.tonto.CCFNodeState zs)
|
void |
preEncode(com.neuron.app.tonto.CCFNodeState zs)
|
void |
setCode(java.lang.String hex)
Set the Pronto ASCII Hex representation of this code. |
void |
setName(java.lang.String name)
Set the name associated with this code. |
void |
setUDB(boolean udb)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CCFIRCode
public CCFIRCode(com.neuron.app.tonto.CCFHeader header)
CCFIRCode
public CCFIRCode(com.neuron.app.tonto.CCFHeader header,
java.lang.String code)
CCFIRCode
public CCFIRCode(com.neuron.app.tonto.CCFHeader header,
java.lang.String name,
java.lang.String code)
getName
public java.lang.String getName()
- Get the name associated with this code.
setName
public void setName(java.lang.String name)
- Set the name associated with this code.
setUDB
public void setUDB(boolean udb)
getCode
public java.lang.String getCode()
- Get the Pronto ASCII Hex representation of this code.
setCode
public void setCode(java.lang.String hex)
- Set the Pronto ASCII Hex representation of this code.
- Parameters:
hex
- new IRCode
checkVersion
public void checkVersion()
preEncode
public void preEncode(com.neuron.app.tonto.CCFNodeState zs)
preDecode
public void preDecode(com.neuron.app.tonto.CCFNodeState zs)
postDecode
public void postDecode(com.neuron.app.tonto.CCFNodeState zs)