BemsChartInfo.cs 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace FMSAdmin.Entities {
  6. public partial class BemsChartInfo {
  7. [Display(Name = "현장 고유번호"), Key]
  8. public int SiteId { get; set; }
  9. [Display(Name = "설비 타입 ID"), Key]
  10. public int FacilityTypeId { get; set; }
  11. [Display(Name = "차트 ID"), Key]
  12. public int ChartId { get; set; }
  13. [Display(Name = "좌 Y축 제목"), Required]
  14. [StringLength(64)]
  15. public string LAxTitle { get; set; }
  16. [Display(Name = "우 Y축 제목")]
  17. [StringLength(64)]
  18. public string RAxTitle { get; set; }
  19. [Display(Name = "X축 제목")]
  20. [StringLength(64)]
  21. public string XAxTitle { get; set; }
  22. [Display(Name = "X축 관제점")]
  23. public int? XSFmId { get; set; }
  24. [Display(Name = "X축 차트타입")]
  25. [StringLength(16)]
  26. public string XSType { get; set; }
  27. [Display(Name = "좌 Y축 항목1 관제점"), Required]
  28. public int LSFmId1 { get; set; }
  29. [Display(Name = "좌 Y축 항목1 표시명"), Required]
  30. [StringLength(64)]
  31. public string LSName1 { get; set; }
  32. [Display(Name = "좌 Y축 항목1 차트타입"), Required]
  33. [StringLength(16)]
  34. public string LSType1 { get; set; }
  35. [Display(Name = "좌 Y축 항목2 관제점")]
  36. public int? LSFmId2 { get; set; }
  37. [Display(Name = "좌 Y축 항목2 표시명")]
  38. [StringLength(64)]
  39. public string LSName2 { get; set; }
  40. [Display(Name = "좌 Y축 항목2 차트타입")]
  41. [StringLength(16)]
  42. public string LSType2 { get; set; }
  43. [Display(Name = "좌 Y축 항목3 관제점")]
  44. public int? LSFmId3 { get; set; }
  45. [Display(Name = "좌 Y축 항목3 표시명")]
  46. [StringLength(64)]
  47. public string LSName3 { get; set; }
  48. [Display(Name = "좌 Y축 항목3 차트타입")]
  49. [StringLength(16)]
  50. public string LSType3 { get; set; }
  51. [Display(Name = "좌 Y축 항목4 관제점")]
  52. public int? LSFmId4 { get; set; }
  53. [Display(Name = "좌 Y축 항목4 표시명")]
  54. [StringLength(64)]
  55. public string LSName4 { get; set; }
  56. [Display(Name = "좌 Y축 항목4 차트타입")]
  57. [StringLength(16)]
  58. public string LSType4 { get; set; }
  59. [Display(Name = "우 Y축 항목1 관제점")]
  60. public int? RSFmId1 { get; set; }
  61. [Display(Name = "우 Y축 항목1 표시명")]
  62. [StringLength(64)]
  63. public string RSName1 { get; set; }
  64. [Display(Name = "우 Y축 항목1 차트타입")]
  65. [StringLength(16)]
  66. public string RSType1 { get; set; }
  67. [Display(Name = "우 Y축 항목2 관제점")]
  68. public int? RSFmId2 { get; set; }
  69. [Display(Name = "우 Y축 항목2 표시명")]
  70. [StringLength(64)]
  71. public string RSName2 { get; set; }
  72. [Display(Name = "우 Y축 항목2 차트타입")]
  73. [StringLength(16)]
  74. public string RSType2 { get; set; }
  75. [Display(Name = "우 Y축 항목3 관제점")]
  76. public int? RSFmId3 { get; set; }
  77. [Display(Name = "우 Y축 항목3 표시명")]
  78. [StringLength(64)]
  79. public string RSName3 { get; set; }
  80. [Display(Name = "우 Y축 항목3 차트타입")]
  81. [StringLength(16)]
  82. public string RSType3 { get; set; }
  83. [Display(Name = "우 Y축 항목4 관제점")]
  84. public int? RSFmId4 { get; set; }
  85. [Display(Name = "우 Y축 항목4 표시명")]
  86. [StringLength(64)]
  87. public string RSName4 { get; set; }
  88. [Display(Name = "우 Y축 항목4 차트타입")]
  89. [StringLength(16)]
  90. public string RSType4 { get; set; }
  91. [Display(Name = "차트 제목"), Required]
  92. [StringLength(64)]
  93. public string Title { get; set; }
  94. [Display(Name = "X축 값 사용 여부")]
  95. public bool? UseX { get; set; }
  96. [Display(Name = "좌 Y축 최대최소값 사용 여부")]
  97. public bool? UseLAxMinMax { get; set; }
  98. [Display(Name = "우 Y축 최대최소값 사용 여부")]
  99. public bool? UseRAxMinMax { get; set; }
  100. [Display(Name = "X축 최대최소값 사용 여부")]
  101. public bool? UseXAxMinMax { get; set; }
  102. [Display(Name = "좌 Y축 최소값")]
  103. public double? LAxMin { get; set; }
  104. [Display(Name = "좌 Y축 최대값")]
  105. public double? LAxMax { get; set; }
  106. [Display(Name = "우 Y축 최소값")]
  107. public double? RAxMin { get; set; }
  108. [Display(Name = "우 Y축 최대값")]
  109. public double? RAxMax { get; set; }
  110. [Display(Name = "X축 최소값")]
  111. public double? XAxMin { get; set; }
  112. [Display(Name = "X축 최대값")]
  113. public double? XAxMax { get; set; }
  114. [Display(Name = "차트 색상"), Required]
  115. [StringLength(32)]
  116. public string Palette { get; set; }
  117. [Display(Name = "차트 사용 여부")]
  118. public bool? UseChart { get; set; }
  119. [Display(Name = "좌 Y축 기준선 사용 여부"), Required]
  120. public bool? UseLCTLine { get; set; }
  121. [Display(Name = "좌 Y축 기준선 제목")]
  122. [StringLength(64)]
  123. public string LCTLineTitle { get; set; }
  124. [Display(Name = "좌 Y축 기준선 값")]
  125. public double? LCTLineValue { get; set; }
  126. [Display(Name = "우 Y축 기준선 사용 여부"), Required]
  127. public bool? UseRCTLine { get; set; }
  128. [Display(Name = "우 Y축 기준선 제목")]
  129. [StringLength(64)]
  130. public string RCTLineTitle { get; set; }
  131. [Display(Name = "우 Y축 기준선 값")]
  132. public double? RCTLineValue { get; set; }
  133. [ForeignKey(nameof(FacilityTypeId))]
  134. [InverseProperty(nameof(BemsFacilityType.BemsChartInfo))]
  135. public virtual BemsFacilityType FacilityType { get; set; }
  136. [ForeignKey(nameof(SiteId))]
  137. [InverseProperty(nameof(CmSite.BemsChartInfo))]
  138. public virtual CmSite Site { get; set; }
  139. }
  140. }