Package cpod

Class CPODControl

All Implemented Interfaces:
OfflineDataStore, PamSettings, SettingsNameProvider

@Deprecated public class CPODControl extends OfflineFileControl implements PamSettings
Deprecated.
Module for loading CPOD data and converting into PAMGuard binary fiel format.
Author:
Doug Gillespie, Jamie Macaulay
  • Constructor Details

    • CPODControl

      public CPODControl(String unitName)
      Deprecated.
  • Method Details

    • saveData

      public boolean saveData(PamDataBlock dataBlock)
      Deprecated.
      Description copied from interface: OfflineDataStore
      Save data previously loaded from the store during offline viewing.
      Specified by:
      saveData in interface OfflineDataStore
      Parameters:
      dataBlock - datablock owner of the data
      Returns:
      true if saved or save not needed. False if an error prevents saving.
    • podTimeToMillis

      public static long podTimeToMillis(long podTime)
      Deprecated.
      Convert POD time to JAVA millis - POD time is integer minutes past the same epoc as Windows uses i.e. 0th January 1900.
      Parameters:
      podTime -
      Returns:
      milliseconds.
    • stretchClicktime

      public long stretchClicktime(long rawTime)
      Deprecated.
    • getCp1DataBlock

      public CPODClickDataBlock getCp1DataBlock()
      Deprecated.
      Returns:
      the cp1DataBlock
    • getSettingsReference

      public Serializable getSettingsReference()
      Deprecated.
      Specified by:
      getSettingsReference in interface PamSettings
      Returns:
      The serialisable object that will be stored
    • getSettingsVersion

      public long getSettingsVersion()
      Deprecated.
      Specified by:
      getSettingsVersion in interface PamSettings
      Returns:
      An integer version number for the settings
    • restoreSettings

      public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
      Deprecated.
      Specified by:
      restoreSettings in interface PamSettings
      Returns:
      true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
    • detectionMenuAction

      public void detectionMenuAction(Frame parentFrame)
      Deprecated.
      Overrides:
      detectionMenuAction in class OfflineFileControl
    • getOfflineFileDataMap

      public OfflineFileDataMap getOfflineFileDataMap(int cpFileType)
      Deprecated.
    • loadData

      public boolean loadData(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver)
      Deprecated.
      Description copied from class: OfflineFileControl
      Load data from the files and pack into appropriate datablocks.
      Specified by:
      loadData in class OfflineFileControl
      Parameters:
      dataBlock - dataBlock for data
      usedMapPoints - list of mappoints which may have data in the load time
      loadObserver - update observer for loading data.
      Returns:
      true hopefully !