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