noiseMonitor
Class NoiseLogging
java.lang.Object
generalDatabase.SQLLogging
noiseMonitor.NoiseLogging
public class NoiseLogging
- extends SQLLogging
|
Method Summary |
protected boolean |
createAndCheckTable()
Called from the noise monitor process to recreate the table
definition based on the noise measurements created by
the user and then check the table columns in the database |
private void |
createTableDef()
Function to create the noise table definition will need to go back
to the main process and controller to work out which columns are
required |
void |
setTableData(PamDataUnit pamDataUnit)
Callback function when new data are created that allows the user to set
the data for each column. |
| Methods inherited from class generalDatabase.SQLLogging |
createDataUnit, createInClause, createViewResultSet, doExtraChecks, fillTableData, finalize, findLogger, getIdListUpdatClause, getLastTime, getPamDataBlock, getTableDefinition, getTimesUpdateClause, getUpdatePolicy, getViewerCursorFinder, getViewerLoadClause, getViewerUpdateClause, isCanView, isLoadViewData, loadViewData, loadViewerData, logData, prepareEmulation, prepareForMixedMode, readLastData, readMixedModeData, readNextEmulation, reCheckTable, reLogData, saveOfflineData, setCanView, setColumnData, setLoadViewData, setTableDefinition, setUpdatePolicy, transferDataFromResult |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
noiseProcess
private NoiseProcess noiseProcess
noiseDataBlock
private NoiseDataBlock noiseDataBlock
tableDef
private PamTableDefinition tableDef
channelNumber
private PamTableItem channelNumber
bandItems
private PamTableItem[] bandItems
NoiseLogging
public NoiseLogging(NoiseProcess noiseProcess,
NoiseDataBlock noiseDataBlock)
createAndCheckTable
protected boolean createAndCheckTable()
- Called from the noise monitor process to recreate the table
definition based on the noise measurements created by
the user and then check the table columns in the database
- Returns:
- true if all Ok. False if no database or an error creating a column.
createTableDef
private void createTableDef()
- Function to create the noise table definition will need to go back
to the main process and controller to work out which columns are
required
setTableData
public void setTableData(PamDataUnit pamDataUnit)
- Description copied from class:
SQLLogging
- Callback function when new data are created that allows the user to set
the data for each column. Columns that have data which can be filled
automatically (counters, primary keys and columns cross referenced to data
in other tables) are filled automatically in fillTableData()
- Specified by:
setTableData in class SQLLogging