private void Device6EventArgs_event1(object sender, Device6EventArgs e)
 {
     speed.Text  = e.speed.ToString() + " m/dak";
     length.Text = e.length.ToString() + " m";
     if (e.running == true)
     {
         status.Background = Brushes.Green;
     }
     else
     {
         status.Background = Brushes.Red;
     }
 }
 protected virtual void onDataReceived(Device6EventArgs e)
 {
     event1?.Invoke(this, e);
 }