Package noiseMonitor

Class NoiseDataBlock

All Implemented Interfaces:
AlarmDataSource

public class NoiseDataBlock extends PamDataBlock<NoiseDataUnit> implements AlarmDataSource
  • Field Details Link icon

  • Constructor Details Link icon

    • NoiseDataBlock Link icon

      public NoiseDataBlock(String dataName, PamProcess parentProcess, int channelMap)
  • Method Details Link icon

    • masterClockUpdate Link icon

      public void masterClockUpdate(long milliSeconds, long clockSample)
      Overrides:
      masterClockUpdate in class PamDataBlock<NoiseDataUnit>
    • setStatisticTypes Link icon

      public void setStatisticTypes(int measureTypes)
      Parameters:
      measureTypes - the measureTypes to set
    • getStatisticTypes Link icon

      public int getStatisticTypes()
      Returns:
      the measureTypes
    • getNumUsedStats Link icon

      public int getNumUsedStats()
    • getMeasureName Link icon

      public static String getMeasureName(int measureType)
    • getUsedMeasureNames Link icon

      public String[] getUsedMeasureNames()
    • getNumMeasurementBands Link icon

      public int getNumMeasurementBands()
    • getBandLoEdges Link icon

      public double[] getBandLoEdges()
    • setBandLoEdges Link icon

      public void setBandLoEdges(double[] bandLoEdges)
    • getBandHiEdges Link icon

      public double[] getBandHiEdges()
    • setBandHiEdges Link icon

      public void setBandHiEdges(double[] bandHiEdges)
    • getLowestFrequency Link icon

      public double getLowestFrequency()
    • getLowestFrequency10 Link icon

      public double getLowestFrequency10()
    • getHighestFrequency Link icon

      public double getHighestFrequency()
    • getHighestFrequency10 Link icon

      public double getHighestFrequency10()
    • getColumnNames Link icon

      public String[] getColumnNames()
    • createDBColumnName Link icon

      public String createDBColumnName(int iBand, int iMeasure)
    • getDefaultBandName Link icon

      public String getDefaultBandName(int iBand)
    • getBandNames Link icon

      public String[] getBandNames()
    • setBandNames Link icon

      public void setBandNames(String[] bandNames)
    • getBandLongNames Link icon

      public String[] getBandLongNames()
    • setBandLongNames Link icon

      public void setBandLongNames(String[] bandLongNames)
    • getBandName Link icon

      public String getBandName(int iBand)
    • getBandLongName Link icon

      public String getBandLongName(int iBand)
    • statIndexToBit Link icon

      public int statIndexToBit(int statIndex)
      Get the bitmap for the ith statistic.
      Parameters:
      statIndex -
      Returns:
    • getAlarmCounterProvider Link icon

      public AlarmCounterProvider getAlarmCounterProvider()
      Description copied from interface: AlarmDataSource
      Get an alarmCounterProvider which can then generate any number of alarm counters for a datablock.
      Specified by:
      getAlarmCounterProvider in interface AlarmDataSource
      Returns:
      alarm Counter provider for that control. This more complicated system enables multiple alarms to be hung off the same data block.
    • getDataAutomationInfo Link icon

      public DataAutomationInfo getDataAutomationInfo()
      Description copied from class: PamDataBlock
      Get the level of automation employed by the generation of these data. Should ideally be completed for everything providing data to Tethys.
      Overrides:
      getDataAutomationInfo in class PamDataBlock<NoiseDataUnit>
      Returns:
      level of automation for this data block.
    • getTethysDataProvider Link icon

      public TethysDataProvider getTethysDataProvider(TethysControl tethysControl)
      Description copied from class: PamDataBlock
      Gets a data provider for Tethys. These will probably need to be bespoke, but for now will autogenerate based on the SQLLogging information.
      Overrides:
      getTethysDataProvider in class PamDataBlock<NoiseDataUnit>
      Returns:
      the tethysDataProvider
    • getDatablockSpeciesManager Link icon

      public DataBlockSpeciesManager<NoiseDataUnit> getDatablockSpeciesManager()
      Description copied from class: PamDataBlock
      Get information about species types that may occur within this data block. Primarily for conversion into Tethys compatible data, but may prove to have other uses.
      Overrides:
      getDatablockSpeciesManager in class PamDataBlock<NoiseDataUnit>
      Returns:
      Types of species information available within this datablock.