终端一体化运控平台
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

63 рядки
2.2 KiB

  1. using BPASmartClient.DosingSystemSingle.ViewModel;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. namespace BPASmartClient.DosingSystemSingle.View
  17. {
  18. /// <summary>
  19. /// RecipeControlView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class RecipeControlView : UserControl
  22. {
  23. public RecipeControlView()
  24. {
  25. InitializeComponent();
  26. RadioButtonWait_Click(null, null);
  27. }
  28. private void RadioButtonCompelete_Click(object sender, RoutedEventArgs e)
  29. {
  30. //repiceList.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
  31. //repiceList.Visibility = Visibility.Visible;
  32. //repiceListMaking.Visibility = Visibility.Hidden;
  33. this.Wait.ItemsSource = RecipeControlViewModel.UserTreeCompelete;
  34. CookingGrid.Visibility = Visibility.Collapsed;
  35. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  36. this.Wait.Visibility = Visibility.Visible;
  37. }
  38. private void RadioButtonWait_Click(object sender, RoutedEventArgs e)
  39. {
  40. //repiceList.ItemsSource = RecipeControlViewModel.UserTreeWait;
  41. //repiceList.Visibility = Visibility.Visible;
  42. //repiceListMaking.Visibility = Visibility.Hidden;
  43. this.Wait.ItemsSource = RecipeControlViewModel.UserTreeWait;
  44. CookingGrid.Visibility = Visibility.Collapsed;
  45. WaitOrCompleteGrid.Visibility = Visibility.Visible;
  46. this.Wait.Visibility = Visibility.Visible;
  47. }
  48. private void RadioButtonMaking_Click(object sender, RoutedEventArgs e)
  49. {
  50. //repiceListMaking.Visibility = Visibility.Visible;
  51. //repiceList.Visibility = Visibility.Hidden;
  52. WaitOrCompleteGrid.Visibility = Visibility.Collapsed;
  53. this.Wait.Visibility = Visibility.Collapsed;
  54. CookingGrid.Visibility = Visibility.Visible;
  55. }
  56. }
  57. }