终端一体化运控平台
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

GraphArrow.xaml.cs 1.3 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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 GraphArrow()
  26. {
  27. InitializeComponent();
  28. Width = 80;
  29. Height = 80;
  30. }
  31. public string ControlType => "图形";
  32. private bool isExecuteState;
  33. public bool IsExecuteState
  34. {
  35. get { return isExecuteState; }
  36. set
  37. {
  38. isExecuteState = value;
  39. if (IsExecuteState)
  40. {
  41. IsEnabled = true;
  42. Register();
  43. Style = null;
  44. }
  45. }
  46. }
  47. public void Register()
  48. {
  49. }
  50. }
  51. }