/// <summary> /// Private method for parsing the GPGLL NMEA sentence /// </summary> /// <param name="strGLL">GPGLL sentence</param> private void ParseGLL(string strGLL) { GPGLL = new GPGLL(strGLL); GpsEventArgs e = new GpsEventArgs { TypeOfEvent = GpsEventType.GPGLL, Sentence = strGLL }; NewProcessedGpsFix(this, e); }
/// <summary> /// Disposes the GpsHandler and if nessesary calls Stop() /// </summary> public void Dispose() { if (!_disposed) { Stop(); GpsPort.Dispose(); GPGGA = null; GPGLL = null; GPGSA = null; GPRMC = null; PGRME = null; GpsPort = null; _disposed = true; } GC.SuppressFinalize(this); }