Class AnalogArraySensorDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
analogarraysensor.AnalogArraySensorDataUnit
All Implemented Interfaces:
ArraySensorDataUnit, Comparable

public class AnalogArraySensorDataUnit extends PamDataUnit implements ArraySensorDataUnit
  • Constructor Details

    • AnalogArraySensorDataUnit

      public AnalogArraySensorDataUnit(long timeMilliseconds, int streamer, AnalogSensorData[] sensorData)
  • Method Details

    • getStreamer

      public int getStreamer()
      Returns:
      the streamer
    • getSensorData

      public AnalogSensorData[] getSensorData()
      Returns:
      the sensorData
    • getField

      public Double getField(int streamer, ArraySensorFieldType fieldtype)
      Description copied from interface: ArraySensorDataUnit
      Get a value for a specified field for a specified streamer.
      Specified by:
      getField in interface ArraySensorDataUnit
      Parameters:
      streamer - streamer index
      fieldtype - Depth, heading, pitch or roll.
      Returns:
      Value in metres or degrees (not radians)
    • getMagDev

      public double getMagDev()