Particle.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OTSInclusionsTraceability
  7. {
  8. class Particle
  9. {
  10. public enum SourceType
  11. {
  12. RefiningSlag=0,
  13. Refractory=1
  14. }
  15. public int FieldId { set; get; }
  16. //ParticleId
  17. public int ParticleId { set; get; }
  18. //XrayId
  19. public int XrayId { set; get; }
  20. //RectLeft
  21. public int RectLeft { set; get; }
  22. //RectTop
  23. public int RectTop { set; get; }
  24. //RectWidth
  25. public int RectWidth { set; get; }
  26. //RectHeight
  27. //public int RectHeight { set; get; }
  28. ////FeatureList
  29. //public List<Segment> SegmentList { set; get; }
  30. //XRayData
  31. public byte[] XRayData { set; get; }
  32. ////ElementList
  33. //public List<Element> ElementList { set; get; }
  34. public int AveGray
  35. {
  36. set;
  37. get;
  38. }
  39. //PosX
  40. public int PosX { set; get; }
  41. //PosY
  42. public int PosY { set; get; }
  43. //TypeId
  44. public int TypeId { set; get; }
  45. //TypeName
  46. public string TypeName { set; get; }
  47. //TypeColor
  48. public string TypeColor { set; get; }
  49. //ElementNum
  50. public int ElementNum { set; get; }
  51. //SegmentNum
  52. public int SegmentNum { set; get; }
  53. //FieldPosX
  54. public int FieldPosX { set; get; }
  55. //FieldPosY
  56. public int FieldPosY { set; get; }
  57. //Element
  58. public string Element { set; get; }
  59. //ParticleImage
  60. public string ParticleImage { set; get; }
  61. public double Area
  62. {
  63. set;
  64. get;
  65. }
  66. public double DELONG
  67. {
  68. set;
  69. get;
  70. }
  71. public double DINSCR
  72. {
  73. set;
  74. get;
  75. }
  76. public double DMAX
  77. {
  78. set;
  79. get;
  80. }
  81. public double DMEAN
  82. {
  83. set;
  84. get;
  85. }
  86. public double DMIN
  87. {
  88. set;
  89. get;
  90. }
  91. public double DPERP
  92. {
  93. set;
  94. get;
  95. }
  96. public double PERIMETER
  97. {
  98. set;
  99. get;
  100. }
  101. public double ORIENTATION
  102. {
  103. set;
  104. get;
  105. }
  106. public double DFERET
  107. {
  108. set;
  109. get;
  110. }
  111. public int SEMPosX
  112. {
  113. get;
  114. set;
  115. }
  116. public int SEMPosY
  117. {
  118. get;
  119. set;
  120. }
  121. public string Hardness { set; get; }
  122. public string Density { set; get; }
  123. public string Electrical_conductivity { set; get; }
  124. public SourceType Source { set; get; }
  125. }
  126. }