终端一体化运控平台
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

63 linhas
1.7 KiB

  1. using BPASmartClient.Helper;
  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 FryPot_DosingSystem.View
  17. {
  18. /// <summary>
  19. /// DebugView.xaml 的交互逻辑
  20. /// </summary>
  21. public partial class DebugView : UserControl
  22. {
  23. public DebugView()
  24. {
  25. InitializeComponent();
  26. }
  27. private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
  28. {
  29. if (sender is ComboBox cbo)
  30. {
  31. if (cbo.SelectedValue != null)
  32. {
  33. ActionManage.GetInstance.Send("EightWorkLoc",cbo.SelectedValue);
  34. }
  35. }
  36. }
  37. private void ComboBox_SelectionChanged_1(object sender, SelectionChangedEventArgs e)
  38. {
  39. if (sender is ComboBox cbo)
  40. {
  41. if (cbo.SelectedValue != null)
  42. {
  43. ActionManage.GetInstance.Send("TwoEightWorkLoc", cbo.SelectedValue);
  44. }
  45. }
  46. }
  47. private void ComboBox_SelectionChanged_2(object sender, SelectionChangedEventArgs e)
  48. {
  49. if (sender is ComboBox cbo)
  50. {
  51. if (cbo.SelectedValue != null)
  52. {
  53. ActionManage.GetInstance.Send("ThreeEightWorkLoc", cbo.SelectedValue);
  54. }
  55. }
  56. }
  57. }
  58. }