终端一体化运控平台
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.
 
 
 

52 lines
1.2 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. /// TheTextBlock.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class TheTextBlock : TextBlock, IExecutable
  23. {
  24. public TheTextBlock()
  25. {
  26. InitializeComponent();
  27. Text = "文本块";
  28. }
  29. public string ControlType => "控件";
  30. private bool isExecuteState;
  31. public bool IsExecuteState
  32. {
  33. get { return isExecuteState; }
  34. set
  35. {
  36. isExecuteState = value;
  37. if (IsExecuteState)
  38. {
  39. Register();
  40. }
  41. }
  42. }
  43. public void Register()
  44. {
  45. }
  46. }
  47. }