private void menu_InitAnalogEncoding_Click(object sender, RoutedEventArgs e)
 {
     this.tree_Devices.Focus();
     EIO.Signal signal = this.dataGrid_signals.SelectedItem as EIO.Signal;
     if (signal != null)
     {
         signal.InitAnalogEncoding();
     }
 }
Beispiel #2
0
 private void menu_SetSignalValues_Click(object sender, RoutedEventArgs e)
 {
     if (this.dataGrid_signals.SelectedItems != null)
     {
         foreach (var item in this.dataGrid_signals.SelectedItems)
         {
             EIO.Signal signal = (EIO.Signal)item;
             signal.SetSignalValue();
         }
     }
 }