private void FVV_B_Command_automode_Click(object sender, RoutedEventArgs e) { if (Tag.get_FVV_B_automode()) { Tag.FVV_B_auto_mode_on(false); } else { Tag.FVV_B_auto_mode_on(true); } }