|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.aplu.ftcontroller.Lamp
public class Lamp
Class to handle the 8 lamps (or other devices) at output ports O1..O8.
Method Summary | |
---|---|
int |
getNumber()
Returns number of lamp (1..8). |
Lamp |
off()
Turns the lamp off. |
Lamp |
on()
Turns the lamp on with current intensity. |
Lamp |
setIntensity(int intensity)
Sets the intensity of the lamp. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getNumber()
public Lamp setIntensity(int intensity)
intensity
- the intensity value 1..8 (0 is lowest)
public Lamp on()
public Lamp off()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |