SysSetings.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace XdCxRhDW.Entity
  9. {
  10. [Table("SysSetings")]
  11. public class SysSetings : BaseEntity
  12. {
  13. /// <summary>
  14. /// 系统时区ID
  15. /// </summary>
  16. public string TimeZoneID { get; set; }
  17. public string TimeZoneUTC { get; set; }
  18. public string TimeZoneName { get; set; }
  19. /// <summary>
  20. /// 系统时区显示的文本
  21. /// </summary>
  22. public string TimeZoneDisplayName => $"{TimeZoneUTC}{TimeZoneName}";
  23. /// <summary>
  24. /// 时区值(北京时间就是8)
  25. /// </summary>
  26. public double ZoneHours { get; set; }
  27. public int HttpPort { get; set; }
  28. public string XLDirectory { get; set; }
  29. public int YDPZThreshold { get; set; }
  30. /// <summary>
  31. /// 地图类型.本地地图=0,WMTS=1
  32. /// </summary>
  33. public int MapType { get; set; }
  34. /// <summary>
  35. /// WMTS来源.(MapType=1时候有效)(自采集、数据中心)
  36. /// </summary>
  37. public EnumWmtsSource WmtsSource { get; set; }
  38. /// <summary>
  39. /// 地图图层类型
  40. /// </summary>
  41. public EnumMapLayerType MapLayerType { get; set; }
  42. }
  43. }