|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectdepthReadout.MccDepthSystem
public class MccDepthSystem
| Field Summary | |
|---|---|
private double |
depth
|
(package private) DepthControl |
depthControl
|
private int |
errorCode
|
(package private) MccDepthParameters |
mccDepthParameters
|
(package private) MccJniInterface |
mccJniInterface
|
private double |
rawValue
|
| Fields inherited from interface depthReadout.DepthSystem |
|---|
DEPTH_NO_DATA, DEPTH_OUT_OF_RANGE |
| Constructor Summary | |
|---|---|
MccDepthSystem(DepthControl depthControl)
|
|
| Method Summary | |
|---|---|
boolean |
canConfigure()
Say whether ot not a particular sensor can be configured. |
boolean |
configureSensor(java.awt.Frame parentFrame)
Configure one of the sensors. |
double |
getDepth(int iSensor)
Get the depth (should be in meters) |
double |
getDepthRawData(int iSensor)
Get the depth (should be in meters) |
java.io.Serializable |
getSettingsReference()
|
long |
getSettingsVersion()
|
java.lang.String |
getUnitName()
|
java.lang.String |
getUnitType()
|
boolean |
readSensor(int iSensor)
Read all data from a sensor. |
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
|
boolean |
shouldPoll()
DepthProcess should ask this system for data every so often if this return false, then the data are comign from somewhere beyond the immediate contron of Pamgaurd and we just wait for it to arrive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
DepthControl depthControl
MccJniInterface mccJniInterface
MccDepthParameters mccDepthParameters
private double rawValue
private double depth
private int errorCode
| Constructor Detail |
|---|
public MccDepthSystem(DepthControl depthControl)
| Method Detail |
|---|
public boolean canConfigure()
DepthSystem
canConfigure in interface DepthSystempublic boolean configureSensor(java.awt.Frame parentFrame)
DepthSystem
configureSensor in interface DepthSystemparentFrame - owner frame for dialog
public boolean readSensor(int iSensor)
DepthSystem
readSensor in interface DepthSystemiSensor - number of the sensor
public double getDepthRawData(int iSensor)
DepthSystem
getDepthRawData in interface DepthSystempublic double getDepth(int iSensor)
DepthSystem
getDepth in interface DepthSystempublic boolean shouldPoll()
DepthSystem
shouldPoll in interface DepthSystempublic java.io.Serializable getSettingsReference()
getSettingsReference in interface PamSettingspublic long getSettingsVersion()
getSettingsVersion in interface PamSettingspublic java.lang.String getUnitName()
getUnitName in interface PamSettingspublic java.lang.String getUnitType()
getUnitType in interface PamSettingspublic boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings in interface PamSettings
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||