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