Class LogSettings


public class LogSettings extends DbSpecial
Functions for writing serialised Pamguard Settings into any database as character data Runs at DAQ start, goes through the settings manager list and for each set of settings, it serialises the settings data into a binary array, this is then converted from binary data to 6 bit ascii data (using the character set from the AIS standard, which should be compatible with any DBMS). This character string is then broken up into parts invalid input: '<' 255 characters long and written to the Pamguard_Settings table in the database.
This will allow 1) an audit of exactly how Pamguard was configured at any particular time, 2) when looking at data offline, the database will contain all information required to reconstruct the Pamguard data model and displays, the database thereby becomes a self contained document of operations, there being no need to keep hold of psf settings files.
Author:
Doug Gillespie
See Also:
  • Constructor Details

    • LogSettings

      public LogSettings(DBControl dbControl, String tableName, boolean deletePrevious)
  • Method Details