public bool Initialize(out Exception error) { error = null; NetworkScanner = new NetworkScannerN(); //Set new data handler NetworkScanner.NewNetworkDataEvent += NetworkScannerNewNetworkDataEvent; //GPS GpsControl = new GpsController(); Logger = new GpxDataLogger { AutoSave = true, AutoSaveInterval = TimeSpan.FromSeconds(10) }; //Null scanning _tNullScan.Elapsed += TNullScanElapsed; //Init the interface manager InterfaceManager.Instance.Init(out error); return(true); }
public bool Initialize(out Exception error) { error = null; NetworkScanner = new NetworkScannerN(); //Set new data handler NetworkScanner.NewNetworkDataEvent += NetworkScannerNewNetworkDataEvent; //GPS GpsControl = new GpsController(); Logger = new GpxDataLogger { AutoSave = true, AutoSaveInterval = TimeSpan.FromSeconds(10) }; //Null scanning _tNullScan.Elapsed += TNullScanElapsed; //Init the interface manager InterfaceManager.Instance.Init(out error); return true; }