WCS_CacheInfo.cs 1002 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using System.Linq;
  6. namespace WCS.Data.Models
  7. {
  8. public class WCS_CacheInfo
  9. {
  10. [SugarColumn(IsPrimaryKey = true)]
  11. public string Cache_ConvNo { get; set; }
  12. public string Cache_AreaName { get; set; }
  13. public int Cache_Count { get; set; }
  14. public string Cache_PlcName { get; set; }
  15. /// <summary>
  16. /// 交通管制设备清单
  17. /// </summary>
  18. public string Cache_TrafficControlEqu { get; set; }
  19. [SugarColumn(IsIgnore = true)]
  20. public List<string> Cache_TrafficControlEquSet
  21. {
  22. get
  23. {
  24. if (string.IsNullOrWhiteSpace(Cache_TrafficControlEqu))
  25. {
  26. return new List<string>();
  27. }
  28. else
  29. {
  30. return Cache_TrafficControlEqu.Split(';').ToList();
  31. }
  32. }
  33. }
  34. }
  35. }