//-------------------------------------------------------------------------------------------------
//
// NMEA AIS Parser
/*********************************************************************************************
* Parts of this parser were imported from free software written by Erik Burrows: Java AIS Parser
*
* Copyright (C) 2010 Ehud Pardo
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*********************************************************************************************/
//
//
// Ehud Pardo
//-------------------------------------------------------------------------------------------------
using System;
using System.Collections;
using System.Linq;
using System.Text;
namespace AISNMEAParser
{
public class Report
{
private int _mmsi;
private Hashtable _params = new Hashtable();
private int _messageType;
private int _repeatIndicator = 0;
public int MMSI
{
get { return _mmsi; }
set { _mmsi = value; }
}
public Hashtable Params
{
get { return _params; }
}
public int MessageType
{
get { return _messageType; }
set { _messageType = value; }
}
public int RepeatIndicator
{
get { return _repeatIndicator; }
set { _repeatIndicator = value; }
}
public Report(int mmsi, int messageType, int repeatIndicator, Hashtable repParams)
{
_mmsi = mmsi;
_messageType = messageType;
_repeatIndicator = repeatIndicator;
_params = repParams;
}
}
}