|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amx.duet.tools.util.Pulser
This class was created to be a NetLinxDevice
pulse manager. It allows the user
to set the delay between channel on and off commands. It also queues up each pulse command
sent to it, so that no commands are dropped.
Constructor Summary | |
Pulser(int nTime)
Constructs a new Pulser object with the timer set to time passed in. |
Method Summary | |
int |
getPulseTime()
Retrieve the value of the time between the on/off pulse. |
void |
pulse(com.amx.duet.da.NetLinxDevice dev,
int nChannel)
Creates a channel on and off event for a specified amount of time. |
void |
setPulseTime(int nTime)
Change the delay between the on/off pulse time. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pulser(int nTime)
Pulser
object with the timer set to time passed in.
nTime
- Method Detail |
public void setPulseTime(int nTime)
nTime
- intpublic int getPulseTime()
public void pulse(com.amx.duet.da.NetLinxDevice dev, int nChannel)
dev
- NetLinxDevice
nChannel
- int
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |