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 Link icon

    • TideDataUnit Link icon

      public TideDataUnit(long timeMillis)
    • TideDataUnit Link icon

      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 Link icon

      public TideDataUnit()
  • Method Details Link icon

    • getChannelBitmap Link icon

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

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

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

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

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

      public void setLevel(double level)
    • setSpeed Link icon

      public void setSpeed(double speed)
    • setAngle Link icon

      public void setAngle(double angle)
    • setLocation Link icon

      public void setLocation(LatLong location)