public void Start() { bool started = watcher.TryStart(false, TimeSpan.FromMilliseconds(2000)); if (started) { Conectado?.Invoke(this, new EventArgs()); } }
private void DevicesDeviceDetected(object sender, DeviceEventArgs e) { nmeaInterpreter.Start(e.Device); Conectado?.Invoke(this, new EventArgs()); }