public class Output extends Object
ControlLab.getOutput(OutputId) or ControlLab.getOutput(Set).| Modifier and Type | Method and Description | 
|---|---|
| Set<OutputId> | getOutputIdSet() | 
| Output | reverseDirection()Reverses the  Directionof this output. | 
| Output | setDirection(Direction direction)Sets the  Directionof this output. | 
| Output | setPowerLevel(PowerLevel powerLevel)Sets the  PowerLevelof this output. | 
| String | toString() | 
| Output | turnOff()Stops sending power to this output. | 
| Output | turnOn()Starts sending power to this output. | 
public Set<OutputId> getOutputIdSet()
OutputIds this Output relates to. In normal
 usage, this is unlikely to be called as one would obtain the Output
 from ControlLab.getOutput(OutputId) and immediately chain one of the
 fluent method calls. But it can useful to inspect the OutputIds if the
 Output reference is retained and seperated from the creation site.public Output turnOff() throws IOException
IOException - if any number of possible communication issues occurspublic Output turnOn() throws IOException
IOException - if any number of possible communication issues occurspublic Output setDirection(Direction direction) throws IOException
Direction of this output. Direction may be changed
 while the output is powered or unpowered.direction - desired directionIOException - if any number of possible communication issues occurspublic Output reverseDirection() throws IOException
Direction of this output. This is a convenience method
 that is the same as
 setDirection(Direction.REVERSE).IOException - if any number of possible communication issues occurspublic Output setPowerLevel(PowerLevel powerLevel) throws IOException
PowerLevel of this output. Power level may be changed
 while the output is powered or unpowered.powerLevel - desired power levelIOException - if any number of possible communication issues occursCopyright © 2016–2025. All rights reserved.