/****************************************************************************/
/* Copyright (c) 2000 MBARI                                                 */
/* MBARI Proprietary Information. All rights reserved.                      */
/****************************************************************************/
/* Summary  :                                                               */
/* Filename : PSA916Log.cc                                                  */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
#include "DataLogWriter.h"
#include "PSA916Log.h"
#include "PSA916.h"
#include "TimeP.h"
#include "Syslog.h"

PSA916Log::PSA916Log(PSA916 *psa916, 
			     DataLog::FileFormat fileFormat) 
  : DataLogWriter(PSA916LogName, fileFormat, AutoTimeStamp) 
{
  setMnemonic("psa916");

  addField((_range = new DoubleData("range")));
  _psa916 = psa916;
}


PSA916Log::~PSA916Log()
{
  delete _range;
}


void PSA916Log::setFields()
{

  // Set range value
  _range->setValue(_psa916->_range);

}



