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

PA200LRLog::PA200LRLog(PA200LR *PA200LR, 
			     DataLog::FileFormat fileFormat) 
  : DataLogWriter(PA200LRLogName, fileFormat, AutoTimeStamp) 
{
  setMnemonic("PA200LR");

  addField((_range = new DoubleData("range")));
  _PA200LR = PA200LR;
}


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


void PA200LRLog::setFields()
{

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

}



