org.mbari.siam.foce.devices.controlLoop
Class MotorVelocityOutput

java.lang.Object
  extended by org.mbari.siam.foce.devices.controlLoop.ControlOutputImpl
      extended by org.mbari.siam.foce.devices.controlLoop.MotorVelocityOutput
All Implemented Interfaces:
java.rmi.Remote, ControlOutputIF

public class MotorVelocityOutput
extends ControlOutputImpl

ControlOutput implementation for FOCE ESW pump, an Elmo motor controller connected to the ESW delivery pump on 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
 
Constructor Summary
MotorVelocityOutput(ElmoIF motor)
           
MotorVelocityOutput(ElmoIF motor, int id)
           
MotorVelocityOutput(ElmoIF motor, int id, java.lang.String name)
           
 
Method Summary
 java.lang.Object getDevice()
           
 void setOutputValue(boolean value)
           
 void setOutputValue(double value)
           
 void setOutputValue(int value)
           
 
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
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger

Constructor Detail

MotorVelocityOutput

public MotorVelocityOutput(ElmoIF motor)

MotorVelocityOutput

public MotorVelocityOutput(ElmoIF motor,
                           int id)

MotorVelocityOutput

public MotorVelocityOutput(ElmoIF motor,
                           int id,
                           java.lang.String name)
Method Detail

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

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

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.