终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RunWindows.xaml.cs 1.2 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using BeDesignerSCADA.Common;
  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.Shapes;
  15. namespace BeDesignerSCADA.View
  16. {
  17. /// <summary>
  18. /// RunWindows.xaml 的交互逻辑
  19. /// </summary>
  20. public partial class RunWindows : Window
  21. {
  22. public RunWindows()
  23. {
  24. InitializeComponent();
  25. }
  26. /// <summary>
  27. /// 1.根据菜单Model加载界面
  28. /// </summary>
  29. /// <param name="frameworks"></param>
  30. public void LoadingData(MenuModel menuModel)
  31. {
  32. runCanvas.RunMenu(menuModel);
  33. runCanvas.PandClick(this);
  34. }
  35. /// <summary>
  36. /// 2.根据路径加载界面
  37. /// </summary>
  38. /// <param name="frameworks"></param>
  39. public void LoadingData(string _path)
  40. {
  41. runCanvas.LoadingData(_path);
  42. runCanvas.PandClick(this);
  43. }
  44. }
  45. }