Exemple #1
0
 private void ButtonPower_Click(object sender, RoutedEventArgs e)
 {
     if (AOFilter != null)
     {
         if (AOFilter.isPowered)
         {
             AOFilter.PowerOff();
         }
         else
         {
             AOFilter.PowerOn();
         }
         State_AOF_Power(AOFilter.isPowered);
     }
 }