edu.whoi.ursa.argoDatabase.entity
Class Solo2.MissionParameters.HydraulicPumpParameters

java.lang.Object
  extended by edu.whoi.ursa.argoDatabase.entity.Solo2.MissionParameters.HydraulicPumpParameters
All Implemented Interfaces:
Solo2.MissionParameters._Parameters
Enclosing class:
Solo2.MissionParameters

@Embeddable
public static class Solo2.MissionParameters.HydraulicPumpParameters
extends java.lang.Object
implements Solo2.MissionParameters._Parameters


Field Summary
protected static java.lang.Character command
           
protected static java.lang.String[] descriptions
           
protected static java.lang.Integer[] maximums
           
protected static java.lang.Integer[] minimums
           
private  java.lang.Integer MinRis
           
private  java.lang.Integer MxHiP
           
protected static java.lang.String name
           
protected static java.lang.String[] names
           
private  java.lang.Integer Oilvac
           
protected static java.lang.String[] parameters
           
private  java.lang.Integer PmpBtm
           
private  java.lang.Integer PmpSlo
           
private  java.lang.Integer PmpTmin
           
protected static java.lang.String[] units
           
 
Constructor Summary
Solo2.MissionParameters.HydraulicPumpParameters()
           
Solo2.MissionParameters.HydraulicPumpParameters(java.lang.Integer mxHiP, java.lang.Integer pmpBtm, java.lang.Integer pmpSlo, java.lang.Integer minRis, java.lang.Integer oilvac, java.lang.Integer pmpTmin)
           
 
Method Summary
static Form addFormSection(Form form)
           
 java.lang.String assembleCommand()
          Build command string based on current values;
 void checkValues()
          Check current values to make sure they are in valid range.
 java.lang.Character getCommand()
          Get the upload command character for this set of mission parameters.
 java.lang.String[] getDescriptions()
          Get an array of descriptions for each parameter.
 java.lang.Integer[] getMaximums()
          Get an array of the maximum valid values for each parameter.
 java.lang.Integer[] getMinmums()
          Get an array of the minimum valid values for each parameter.
 java.lang.Integer getMinRis()
           
 java.lang.Integer getMxHiP()
           
 java.lang.String getName()
           
 java.lang.String[] getNames()
          Get an array of the name of each mission parameter.
 java.lang.Integer getOilvac()
           
 java.lang.String[] getParameters()
           
 java.lang.Integer getPmpBtm()
           
 java.lang.Integer getPmpSlo()
           
 java.lang.Integer getPmpTmin()
           
 java.lang.String[] getUnits()
           
 java.lang.Integer[] getValues()
           
 Form printFormSection(Form form)
          print form section
 void setMinRis(java.lang.Integer minRis)
           
 void setMxHiP(java.lang.Integer mxHiP)
           
 void setOilvac(java.lang.Integer oilvac)
           
 void setPmpBtm(java.lang.Integer pmpBtm)
           
 void setPmpSlo(java.lang.Integer pmpSlo)
           
 void setPmpTmin(java.lang.Integer pmpTmin)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

command

protected static final java.lang.Character command

name

protected static final java.lang.String name

parameters

protected static final java.lang.String[] parameters

names

protected static final java.lang.String[] names

descriptions

protected static final java.lang.String[] descriptions

units

protected static final java.lang.String[] units

minimums

protected static final java.lang.Integer[] minimums

maximums

protected static final java.lang.Integer[] maximums

MxHiP

private java.lang.Integer MxHiP

PmpBtm

private java.lang.Integer PmpBtm

PmpSlo

private java.lang.Integer PmpSlo

MinRis

private java.lang.Integer MinRis

Oilvac

private java.lang.Integer Oilvac

PmpTmin

private java.lang.Integer PmpTmin
Constructor Detail

Solo2.MissionParameters.HydraulicPumpParameters

public Solo2.MissionParameters.HydraulicPumpParameters()

Solo2.MissionParameters.HydraulicPumpParameters

public Solo2.MissionParameters.HydraulicPumpParameters(java.lang.Integer mxHiP,
                                                       java.lang.Integer pmpBtm,
                                                       java.lang.Integer pmpSlo,
                                                       java.lang.Integer minRis,
                                                       java.lang.Integer oilvac,
                                                       java.lang.Integer pmpTmin)
Parameters:
mxHiP -
pmpBtm -
pmpSlo -
minRis -
oilvac -
pmpTmin -
Method Detail

addFormSection

public static Form addFormSection(Form form)

assembleCommand

public java.lang.String assembleCommand()
Description copied from interface: Solo2.MissionParameters._Parameters
Build command string based on current values;

Specified by:
assembleCommand in interface Solo2.MissionParameters._Parameters
Returns:
assembled command

checkValues

public void checkValues()
                 throws ADBException
Description copied from interface: Solo2.MissionParameters._Parameters
Check current values to make sure they are in valid range. Throws ADBException if they are not.

Specified by:
checkValues in interface Solo2.MissionParameters._Parameters
Throws:
ADBException

getCommand

public java.lang.Character getCommand()
Description copied from interface: Solo2.MissionParameters._Parameters
Get the upload command character for this set of mission parameters.

Specified by:
getCommand in interface Solo2.MissionParameters._Parameters

getDescriptions

public java.lang.String[] getDescriptions()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of descriptions for each parameter.

Specified by:
getDescriptions in interface Solo2.MissionParameters._Parameters
Returns:
descriptions

getMaximums

public java.lang.Integer[] getMaximums()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the maximum valid values for each parameter.

Specified by:
getMaximums in interface Solo2.MissionParameters._Parameters
Returns:
maximum valid value for each parameter.

getMinmums

public java.lang.Integer[] getMinmums()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the minimum valid values for each parameter.

Specified by:
getMinmums in interface Solo2.MissionParameters._Parameters
Returns:
minimum valid value for each parameter.

getMinRis

public java.lang.Integer getMinRis()
Returns:
the minRis

getMxHiP

public java.lang.Integer getMxHiP()
Returns:
the mxHiP

getName

public java.lang.String getName()
Specified by:
getName in interface Solo2.MissionParameters._Parameters
Returns:
the name of the set of mission parameters

getNames

public java.lang.String[] getNames()
Description copied from interface: Solo2.MissionParameters._Parameters
Get an array of the name of each mission parameter.

Specified by:
getNames in interface Solo2.MissionParameters._Parameters
Returns:
the name of each parameter.

getOilvac

public java.lang.Integer getOilvac()
Returns:
the oilvac

getParameters

public java.lang.String[] getParameters()
Specified by:
getParameters in interface Solo2.MissionParameters._Parameters
Returns:
the name of each parameter as defined by the .param file

getPmpBtm

public java.lang.Integer getPmpBtm()
Returns:
the pmpBtm

getPmpSlo

public java.lang.Integer getPmpSlo()
Returns:
the pmpSlo

getPmpTmin

public java.lang.Integer getPmpTmin()
Returns:
the pmpTmin

getUnits

public java.lang.String[] getUnits()
Specified by:
getUnits in interface Solo2.MissionParameters._Parameters
Returns:
the units of each parameter

getValues

public java.lang.Integer[] getValues()
Specified by:
getValues in interface Solo2.MissionParameters._Parameters
Returns:
the current values of each parameter

printFormSection

public Form printFormSection(Form form)
Description copied from interface: Solo2.MissionParameters._Parameters
print form section

Specified by:
printFormSection in interface Solo2.MissionParameters._Parameters
Returns:

setMinRis

public void setMinRis(java.lang.Integer minRis)
Parameters:
minRis - the minRis to set

setMxHiP

public void setMxHiP(java.lang.Integer mxHiP)
Parameters:
mxHiP - the mxHiP to set

setOilvac

public void setOilvac(java.lang.Integer oilvac)
Parameters:
oilvac - the oilvac to set

setPmpBtm

public void setPmpBtm(java.lang.Integer pmpBtm)
Parameters:
pmpBtm - the pmpBtm to set

setPmpSlo

public void setPmpSlo(java.lang.Integer pmpSlo)
Parameters:
pmpSlo - the pmpSlo to set

setPmpTmin

public void setPmpTmin(java.lang.Integer pmpTmin)
Parameters:
pmpTmin - the pmpTmin to set

toString

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