Exemplo n.º 1
0
        /// <summary>
        /// Fires a NewGPSFix event
        /// </summary>
        /// <param name="type">Type of GPS event (GPGGA, GPGSA, etx...)</param>
        /// <param name="sentence">NMEA Sentence</param>
        private void FireEvent(GPSEventType type, string sentence)
        {
            GPSEventArgs e = new GPSEventArgs();

            e.TypeOfEvent = type;
            e.Sentence    = sentence;
            NewGPSData(this, e);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Fires a NewGPSFix event
 /// </summary>
 /// <param name="type">Type of GPS event (GPGGA, GPGSA, etx...)</param>
 /// <param name="sentence">NMEA Sentence</param>
 private void FireEvent(GPSEventType type, string sentence)
 {
     GPSEventArgs e = new GPSEventArgs();
     e.TypeOfEvent = type;
     e.Sentence = sentence;
     NewGPSData(this, e);
 }