Class TideDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
videoRangePanel.importTideData.TideDataUnit
All Implemented Interfaces:
Comparable

public class TideDataUnit extends PamDataUnit
Stores data on the tide at a specific location at a specific time.
Author:
Jamie Macaulay.
  • Constructor Details

    • TideDataUnit

      public TideDataUnit(long timeMillis)
    • TideDataUnit

      public TideDataUnit(long timeMillis, double level, double speed, double angle, LatLong location)
      Parameters:
      level - - the height of the tide above mean sea level in METERS
      speed - - the speed of the tide in METERS PER SECOND
      angle - - the angle of the tide in RADIANS
      timeMi - llis - time
    • TideDataUnit

      public TideDataUnit()
  • Method Details

    • getChannelBitmap

      public int getChannelBitmap()
      Overrides:
      getChannelBitmap in class PamDataUnit
      Returns:
      Bitmap of software channels used in this data unit
    • getLevel

      public double getLevel()
      Returns:
      level of the tide above mean sea level in meters
    • getSpeed

      public double getSpeed()
      Returns:
      the speed of the tide in meters per second
    • getAngle

      public double getAngle()
      Returns:
      the direction of the tide in RADIANS
    • getLocation

      public LatLong getLocation()
      Location of the tidal measurment.
      Returns:
    • setLevel

      public void setLevel(double level)
    • setSpeed

      public void setSpeed(double speed)
    • setAngle

      public void setAngle(double angle)
    • setLocation

      public void setLocation(LatLong location)