示例#1
0
        public void Start()
        {
            bool started = watcher.TryStart(false, TimeSpan.FromMilliseconds(2000));

            if (started)
            {
                Conectado?.Invoke(this, new EventArgs());
            }
        }
示例#2
0
 private void DevicesDeviceDetected(object sender, DeviceEventArgs e)
 {
     nmeaInterpreter.Start(e.Device);
     Conectado?.Invoke(this, new EventArgs());
 }