终端一体化运控平台
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

51 lignes
1.9 KiB

  1. using BPASmartClient.DosingSystem.ViewModel;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. namespace BPASmartClient.DosingSystem.View
  5. {
  6. /// <summary>
  7. /// RecipeControlView.xaml 的交互逻辑
  8. /// </summary>
  9. public partial class RecipeControlView : UserControl
  10. {
  11. public RecipeControlView()
  12. {
  13. InitializeComponent();
  14. RadioButtonWait_Click(null, null);
  15. }
  16. private void RadioButtonCompelete_Click(object sender, RoutedEventArgs e)
  17. {
  18. //repiceList.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
  19. //repiceList.Visibility = Visibility.Visible;
  20. //repiceListMaking.Visibility = Visibility.Hidden;
  21. this.Wait.ItemsSource = ExcuteControl.GetInstance.UserTreeCompelete;
  22. CookingGrid.Visibility = Visibility.Collapsed;
  23. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  24. this.Wait.Visibility = Visibility.Visible;
  25. }
  26. private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
  27. {
  28. //repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
  29. //repiceList.Visibility = Visibility.Visible;
  30. //repiceListMaking.Visibility = Visibility.Hidden;
  31. this.Wait.ItemsSource = ExcuteControl.GetInstance.UserTreeWait;
  32. CookingGrid.Visibility = Visibility.Collapsed;
  33. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  34. this.Wait.Visibility = Visibility.Visible;
  35. }
  36. private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
  37. {
  38. //repiceListMaking.Visibility = Visibility.Visible;
  39. //repiceList.Visibility = Visibility.Hidden;
  40. WaitOrCompleteGrid.Visibility = Visibility.Collapsed;
  41. this.Wait.Visibility = Visibility.Collapsed;
  42. CookingGrid.Visibility = Visibility.Visible;
  43. }
  44. }
  45. }