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

java.lang.Object
  extended by org.mbari.siam.foce.devices.controlLoop.InputState

public class InputState
extends java.lang.Object

Encapsulate ControlInputIF state (immutable)


Field Summary
protected  int _id
           
protected  org.apache.log4j.Logger _log4j
           
protected  java.lang.String _name
           
protected  java.lang.String _recordDelimiter
           
protected  long _sampleCount
           
protected  java.lang.String _state
           
protected  java.lang.String _status
           
protected  boolean _toex
           
protected  long _tslu
           
protected  long _utmo
           
protected  double _validRatio
           
static java.lang.String DELIMITERS
           
static java.lang.String RECORD_HEADER
           
 
Constructor Summary
InputState(ControlInputIF input)
           
InputState(java.lang.String name, int id, java.lang.String state, java.lang.String status, long utmo, long tslu, boolean toex, long sampleCount, double validRatio)
           
 
Method Summary
 int id()
           
 java.lang.String name()
           
 long sampleCount()
           
 java.lang.String state()
           
 java.lang.String status()
           
 boolean toex()
           
 java.lang.String toString()
           
 long tslu()
           
 long utmo()
           
 double validRatio()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log4j

protected org.apache.log4j.Logger _log4j

RECORD_HEADER

public static final java.lang.String RECORD_HEADER
See Also:
Constant Field Values

DELIMITERS

public static final java.lang.String DELIMITERS
See Also:
Constant Field Values

_name

protected java.lang.String _name

_id

protected int _id

_state

protected java.lang.String _state

_status

protected java.lang.String _status

_utmo

protected long _utmo

_tslu

protected long _tslu

_toex

protected boolean _toex

_sampleCount

protected long _sampleCount

_validRatio

protected double _validRatio

_recordDelimiter

protected java.lang.String _recordDelimiter
Constructor Detail

InputState

public InputState(java.lang.String name,
                  int id,
                  java.lang.String state,
                  java.lang.String status,
                  long utmo,
                  long tslu,
                  boolean toex,
                  long sampleCount,
                  double validRatio)

InputState

public InputState(ControlInputIF input)
           throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

name

public java.lang.String name()

id

public int id()

state

public java.lang.String state()

status

public java.lang.String status()

utmo

public long utmo()

tslu

public long tslu()

toex

public boolean toex()

sampleCount

public long sampleCount()

validRatio

public double validRatio()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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.