org.mbari.siam.foce.devices.controlLoop
Class ValveOutput
java.lang.Object
org.mbari.siam.foce.devices.controlLoop.ControlOutputImpl
org.mbari.siam.foce.devices.controlLoop.ValveOutput
- All Implemented Interfaces:
- java.rmi.Remote, ControlOutputIF
public class ValveOutput
- extends ControlOutputImpl
ControlOutput implementation for FOCE ESW valve, a 2-way (open/close) valve
connecting to the ESW delivery sub-system to either end of the FOCE apparatus.
|
Field Summary |
protected static org.apache.log4j.Logger |
_log4j
Log4j logger |
| Fields inherited from interface org.mbari.siam.distributed.devices.ControlOutputIF |
DEFAULT_ID, DEFAULT_NAME, STATE_READY, STATE_UNINITIALIZED, STATE_UPDATING, STATUS_BAD_COMMAND, STATUS_CONNECT_ERROR, STATUS_DISCONNECT_ERROR, STATUS_ERROR, STATUS_MASK_ALL, STATUS_NOT_CONNECTED, STATUS_OK, STATUS_TIMEOUT_EXPIRED, STATUS_UPDATE_ERROR |
| Methods inherited from class org.mbari.siam.foce.devices.controlLoop.ControlOutputImpl |
clearStatus, getOutputID, getOutputState, getState, getStatus, name, setName, setOutputID, setState, setStatus, stateString, stateString, statusString, statusString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
- Log4j logger
ValveOutput
public ValveOutput(Valve2WayIF valve)
ValveOutput
public ValveOutput(Valve2WayIF valve,
int id)
ValveOutput
public ValveOutput(Valve2WayIF valve,
int id,
java.lang.String name)
setOutputValue
public void setOutputValue(int value)
throws java.lang.Exception
- Specified by:
setOutputValue in interface ControlOutputIF- Specified by:
setOutputValue in class ControlOutputImpl
- Throws:
java.lang.Exception
setOutputValue
public void setOutputValue(boolean value)
throws java.lang.Exception
- Specified by:
setOutputValue in interface ControlOutputIF- Specified by:
setOutputValue in class ControlOutputImpl
- Throws:
java.lang.Exception
setOutputValue
public void setOutputValue(double value)
throws java.lang.Exception
- Specified by:
setOutputValue in interface ControlOutputIF- Specified by:
setOutputValue in class ControlOutputImpl
- Throws:
java.lang.Exception
getDevice
public java.lang.Object getDevice()
- Specified by:
getDevice in interface ControlOutputIF- Specified by:
getDevice in class ControlOutputImpl
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.