LoadPortControl.xaml.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Aitex.Core.UI.MVVM;
  2. using MECF.Framework.Common.OperationCenter;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. namespace EfemUI.Controls
  18. {
  19. /// <summary>
  20. /// LoadPortView.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class LoadPortControl : UserControl
  23. {
  24. public LoadPortControl()
  25. {
  26. InitializeComponent();
  27. LPOperationCommand = new DelegateCommand<string>(DoLoadPortOperationCmd);
  28. }
  29. private void DoLoadPortOperationCmd(string cmd)
  30. {
  31. switch(cmd)
  32. {
  33. case "Home":
  34. break;
  35. }
  36. }
  37. public ICommand LPOperationCommand { get; set; }
  38. }
  39. }