private void cbOff2_Checked(object sender, RoutedEventArgs e)
 {
     if (GeneratorControl == null)
     {
         return;
     }
     GeneratorControl.OutputEnable(Output2No, false);
 }
 private void cbOff1_Unchecked(object sender, RoutedEventArgs e)
 {
     if (GeneratorControl == null)
     {
         return;
     }
     GeneratorControl.OutputEnable(OutputNo, true);
 }