net.wimpi.modbus.procimg
Class ObservableDigitalOut
java.lang.Object
net.wimpi.modbus.util.Observable
net.wimpi.modbus.procimg.ObservableDigitalOut
- All Implemented Interfaces:
- DigitalOut
public class ObservableDigitalOut
- extends Observable
- implements DigitalOut
Class implementing an observable digital output.
- Version:
- @version@ (@date@)
- Author:
- Dieter Wimberger
Method Summary |
boolean |
isSet()
Tests if this DigitalOut is set. |
void |
set(boolean b)
Sets the state of this DigitalOut. |
ObservableDigitalOut
public ObservableDigitalOut()
isSet
public boolean isSet()
- Description copied from interface:
DigitalOut
- Tests if this DigitalOut is set.
- Specified by:
isSet
in interface DigitalOut
- Returns:
- true if set, false otherwise.
set
public void set(boolean b)
- Description copied from interface:
DigitalOut
- Sets the state of this DigitalOut.
- Specified by:
set
in interface DigitalOut
- Parameters:
b
- true if to be set, false otherwise.
Copyright © 2010. All Rights Reserved.