private void buttonS1On_Click(object sender, RoutedEventArgs e) { buttonS1On.Background = ButtonOnBrush; General.S1On(); buttonS1On.Background = ButtonOffBrush; }
private void buttonRL5_Click(object sender, RoutedEventArgs e) { RL5 = !RL5; General.SetRL5(RL5); buttonRL5.Background = RL5 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonRL6_Click(object sender, RoutedEventArgs e) { RL6 = !RL6; General.SetRL6(RL6); buttonRL6.Background = RL6 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonRL4_Click(object sender, RoutedEventArgs e) { RL4 = !RL4; General.SetRL4(RL4); buttonRL4.Background = RL4 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonRL3_Click(object sender, RoutedEventArgs e) { RL3 = !RL3; General.SetRL3(RL3); buttonRL3.Background = RL3 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonRL2_Click(object sender, RoutedEventArgs e) { RL2 = !RL2; General.SetRL2(RL2); buttonRL2.Background = RL2 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonRL1_Click(object sender, RoutedEventArgs e) { RL1 = !RL1; General.PowSupply(RL1); buttonRL1.Background = RL1 ? ButtonOnBrush : ButtonOffBrush; }
private void buttonSetE1_Click(object sender, RoutedEventArgs e) { FlagSetE1 = !FlagSetE1; General.SetK10_11(FlagSetE1); buttonSetE1.Background = FlagSetE1 ? ButtonOnBrush : ButtonOffBrush; }