IBoostStationPoint.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Controls;
  7. namespace NEIntelligentControl2.Models.BoostStation
  8. {
  9. /// <summary>
  10. /// 升压站点信息
  11. /// </summary>
  12. internal interface IBoostStationPoint
  13. {
  14. /// <summary>
  15. /// 是否被选中
  16. /// </summary>
  17. bool IsSelected { get; set; }
  18. /// <summary>
  19. /// 值
  20. /// </summary>
  21. double Value { get; set; }
  22. /// <summary>
  23. /// 数据标签
  24. /// </summary>
  25. string DataTag { get; set; }
  26. /// <summary>
  27. /// 是否是模板
  28. /// </summary>
  29. bool IsTemplete { get; set; }
  30. /// <summary>
  31. /// 是否是编辑模式
  32. /// </summary>
  33. bool IsEditModel { get; set; }
  34. /// <summary>
  35. /// 比例
  36. /// </summary>
  37. int Proportion { get; set; }
  38. /// <summary>
  39. /// 数据标签与名称
  40. /// </summary>
  41. string Info { get; set; }
  42. /// <summary>
  43. /// 是否取反
  44. /// </summary>
  45. bool IsNegate { get; set; }
  46. /// <summary>
  47. /// 被单击
  48. /// </summary>
  49. Action<Control> Clicked { get; set; }
  50. /// <summary>
  51. /// 缩放
  52. /// </summary>
  53. /// <param name="times">缩放次数</param>
  54. void Zoom(int times);
  55. }
  56. }