Beispiel #1
0
        public MainForm()
        {
            InitializeComponent();

            GPS              = new GPSHandler(this);                                  //Initialize GPS handler
            GPS.TimeOut      = 5;                                                     //Set timeout to 5 seconds
            GPS.NewGPSFix   += new GPSHandler.NewGPSFixHandler(this.GPSEventHandler); //Hook up GPS data events to a handler
            frmGpsSettings   = new FrmGpsSettings();
            frmNtripSettings = new FrmNTRIPSettings();
            ntrip            = null;
            ntripStarted     = false;
            Coms             = new List <SerialPort>();
        }
Beispiel #2
0
        public MainForm()
        {
            InitializeComponent();

            GPS = new GPSHandler(this); //Initialize GPS handler
            GPS.TimeOut = 5; //Set timeout to 5 seconds
            GPS.NewGPSFix += new GPSHandler.NewGPSFixHandler(this.GPSEventHandler); //Hook up GPS data events to a handler
            frmGpsSettings = new FrmGpsSettings();
            frmNtripSettings = new FrmNTRIPSettings();
            ntrip = null;
            ntripStarted = false;
            Coms = new List<SerialPort>();
        }