Exemplo n.º 1
0
        /*
        private static void Gps_DeviceStateChanged(object sender, EventArgs.DeviceStateChangedEventArgs args)
        {
            //m_GpsDeviceState = args.DeviceState;

            //Invoke(m_UpdateDataHandler);
        }

        //private void Gps_LocationChanged(object sender, LocationChangedEventArgs args)
        //{
        //    m_GpsPosition = args.Position;

        //    Invoke(m_UpdateDataHandler);
        //}
        */
        private void Gps_LocationChanged(object sender, TrainStationAdvisor.ClassLibrary.EventArgs.GPSLocationChangedEventArgs args)
        {
            m_GpsPosition = args.Position;

            //Invoke(m_UpdateDataHandler);
            BeginInvoke(m_UpdateDataHandler);
        }
Exemplo n.º 2
0
        private void CellIdCollector_CellIdFound(object sender, TrainStationAdvisor.ClassLibrary.EventArgs.CellIdCollectorEventArgs e)
        {
            Logger.Log("Cell and Location Found");

            m_GeoLocation = e.GeoLocation;
            BeginInvoke(m_UpdateDataHandler);
            //Invoke(m_UpdateDataHandler);
        }