TagManager.cs 714 B

12345678910111213141516171819202122232425262728
  1. using NEIntelligentControl2.Models.Station;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace NEIntelligentControl2.Models.Pages
  8. {
  9. /// <summary>
  10. /// 标签管理
  11. /// </summary>
  12. public class TagManager
  13. {
  14. /// <summary>
  15. /// 标签内容改变
  16. /// </summary>
  17. public Action<List<StationInfo>> TagChanged { get; set; }
  18. /// <summary>
  19. /// 标签切换
  20. /// </summary>
  21. public Action<StationInfo> TagSwitched { get; set; }
  22. /// <summary>
  23. /// 手动切换标签
  24. /// </summary>
  25. public Action<string> ChangeTag { get; set; }
  26. }
  27. }