public class NoiseControl extends PamControlledUnit implements PamSettings
Measurements will be written out to a database at regular intervals (about once a minute), however, not every sample of incoming data will be used, but a sub sample from within the measuremetnInterval.
For each measure, the output will include the mean, and the median and some other statistics from the distribution of noise measures.
Note that this method does not conform to ISO R 266 and ANSI S1.6-1984
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1168968
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
measureNames |
static double[] |
THIRDOCTAVES
Centre frequencies for third octave bands.
|
Constructor and Description |
---|
NoiseControl(java.lang.String unitName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createDBColumnName(int iBand,
int iMeasure) |
javax.swing.JMenuItem |
createDetectionMenu(java.awt.Frame parentFrame)
Create a JMenu object containing MenuItems associated with PamProcesses
|
javax.swing.JMenuItem |
createDisplayMenu(java.awt.Frame parentFrame)
Create a JMenu object containing MenuItems associated with the view
|
void |
displayOptions(java.awt.Frame parentFrame) |
int |
getChannelMap() |
NoiseProcess |
getNoiseProcess() |
java.io.Serializable |
getSettingsReference() |
long |
getSettingsVersion() |
PamTabPanel |
getTabPanel()
Gets a reference to a panel to be added to a view
|
boolean |
restoreSettings(PamControlledUnitSettings pamControlledUnitSettings) |
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canClose, canPlayViewerSound, createFileMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getSidePanel, getTabClipCopier, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, notifyModelChanged, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUnitName, getUnitType
public static final double[] THIRDOCTAVES
public java.lang.String[] measureNames
public javax.swing.JMenuItem createDetectionMenu(java.awt.Frame parentFrame)
PamControlledUnit
createDetectionMenu
in class PamControlledUnit
parentFrame
- The owner frame of the menuNote that if multiple views are to use the same menu, then they should each create a new menu (by setting Create to true) the first time they call this method.
public javax.swing.JMenuItem createDisplayMenu(java.awt.Frame parentFrame)
PamControlledUnit
createDisplayMenu
in class PamControlledUnit
Note that if multiple views are to use the same menu, then they should each create a new menu (by setting Create to true) the first time they call this method.
public void displayOptions(java.awt.Frame parentFrame)
public java.io.Serializable getSettingsReference()
getSettingsReference
in interface PamSettings
public long getSettingsVersion()
getSettingsVersion
in interface PamSettings
public boolean restoreSettings(PamControlledUnitSettings pamControlledUnitSettings)
restoreSettings
in interface PamSettings
public java.lang.String createDBColumnName(int iBand, int iMeasure)
public PamTabPanel getTabPanel()
PamControlledUnit
getTabPanel
in class PamControlledUnit
PamTabPanel
,
PamSidePanel
public int getChannelMap()
public NoiseProcess getNoiseProcess()