Package Array.streamerOrigin
Class HydrophoneOriginSystem
java.lang.Object
Array.streamerOrigin.HydrophoneOriginSystem
- Direct Known Subclasses:
GPSOriginSystem
,StaticOriginSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract HydrophoneOriginMethod
createMethod
(PamArray pamArray, Streamer streamer) int
createSQLLoggingFields
(PamTableDefinition tableDefinition) Create any additional fields in the streamer logging table which may be needed.boolean
Extract data from SQL logging fields and add them back into the streamer databoolean
fillSQLLoggingFields
(StreamerDataUnit streamerDataUnit) Fill table time data prior to writing to the database.abstract Class
abstract String
getName()
toString()
-
Constructor Details
-
HydrophoneOriginSystem
public HydrophoneOriginSystem()
-
-
Method Details
-
getName
-
createMethod
-
getMethodClass
-
createSQLLoggingFields
Create any additional fields in the streamer logging table which may be needed. This is a bit inefficient since all origin methods are going to do this - but who cares since there are very few of them.Should check that columns of the same name do not already exist before adding them !
- Parameters:
tableDefinition
- table definition to add to.- Returns:
- number of columns added.
-
fillSQLLoggingFields
Fill table time data prior to writing to the database.- Parameters:
streamerDataUnit
- streamer data unit to take data from.Should check that this system is actually in use before proceeding !
- Returns:
- true if successful.
-
toString
-
extractSQLLoggingFields
Extract data from SQL logging fields and add them back into the streamer data- Parameters:
sdu
- streamer data unit- Returns:
- true if successful
-