Ejemplo n.º 1
0
 private void Device9EventArgs_event1(object sender, Device9EventArgs 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;
     }
 }
Ejemplo n.º 2
0
 protected virtual void onDataReceived(Device9EventArgs e)
 {
     event1?.Invoke(this, e);
 }