angleMeasurement
Class AngleDataUnit

java.lang.Object
  extended by PamguardMVC.PamDataUnit
      extended by angleMeasurement.AngleDataUnit
All Implemented Interfaces:
java.lang.Comparable<PamDataUnit>

public class AngleDataUnit
extends PamDataUnit

Data from an angle measurement.
Angle data come in three stages.
1. Raw data as came out of the instrument
2. Calibrated data - the raw data after calibration, 0 degrees should be equal to 0 degrees in the calibrated data.
3. Correct raw data - the calibrated data - the set constant offset.

Author:
Douglas Gillespie

Field Summary
 double calibratedAngle
           
 double correctedAngle
           
 boolean held
           
 double rawAngle
           
 
Fields inherited from class PamguardMVC.PamDataUnit
absBlockIndex, channelBitmap, localisation, oLL, timeMilliseconds
 
Constructor Summary
AngleDataUnit(long timeMilliseconds, double rawAngle, double calibratedAngle, double correctedAngle)
           
 
Method Summary
 
Methods inherited from class PamguardMVC.PamDataUnit
clearUpdateCount, compareTo, getAbsBlockIndex, getChannelBitmap, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getGpsPosition, getLastUpdateTime, getLocalisation, getOriginLatLong, getPairAngle, getParentDataBlock, getTimeMilliseconds, getUpdateCount, setAbsBlockIndex, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setLastUpdateTime, setLocalisation, setOriginLatLong, setParentDataBlock, setTimeMilliseconds, updateDataUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rawAngle

public double rawAngle

calibratedAngle

public double calibratedAngle

correctedAngle

public double correctedAngle

held

public boolean held
Constructor Detail

AngleDataUnit

public AngleDataUnit(long timeMilliseconds,
                     double rawAngle,
                     double calibratedAngle,
                     double correctedAngle)