终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

58 righe
1.3 KiB

  1. using BPASmartClient.Compiler;
  2. using BPASmartClient.SCADAControl;
  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 BPASmartClient.SCADAControl.CustomerControls
  18. {
  19. /// <summary>
  20. /// 箭头
  21. /// GraphArrow.xaml 的交互逻辑
  22. /// </summary>
  23. public partial class GraphArrow : UserControl, IExecutable
  24. {
  25. public event EventHandler PropertyChange; //声明一个事件
  26. public GraphArrow()
  27. {
  28. InitializeComponent();
  29. Width = 80;
  30. Height = 80;
  31. }
  32. public string ControlType => "图形";
  33. private bool isExecuteState;
  34. public bool IsExecuteState
  35. {
  36. get { return isExecuteState; }
  37. set
  38. {
  39. isExecuteState = value;
  40. if (IsExecuteState)
  41. {
  42. IsEnabled = true;
  43. Register();
  44. //Style = null;
  45. }
  46. }
  47. }
  48. public void Register()
  49. {
  50. }
  51. }
  52. }