Particle.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Drawing.Drawing2D;
  5. namespace OTSIncAReportApp.DataOperation.Model
  6. {
  7. [Serializable]
  8. public class Particle
  9. {
  10. public int FieldId { set; get; }
  11. //ParticleId
  12. public int ParticleId { set; get; }
  13. //XrayId
  14. public int XrayId { set; get; }
  15. //RectLeft
  16. public int RectLeft { set; get; }
  17. //RectTop
  18. public int RectTop { set; get; }
  19. //RectWidth
  20. public int RectWidth { set; get; }
  21. //RectHeight
  22. public int RectHeight { set; get; }
  23. //FeatureList
  24. public List<Feature> FeatureList { set; get; }
  25. //XRayData
  26. public byte[] XRayData { set; get; }
  27. //ElementList
  28. public List<Element> ElementList { set; get; }
  29. public int AveGray
  30. {
  31. set;
  32. get;
  33. }
  34. //PosX
  35. public int PosX { set; get; }
  36. //PosY
  37. public int PosY { set; get; }
  38. //TypeId
  39. public int TypeId { set; get; }
  40. //TypeName
  41. public string TypeName { set; get; }
  42. //TypeColor
  43. public string TypeColor { set; get; }
  44. //ElementNum
  45. public int ElementNum { set; get; }
  46. //SegmentNum
  47. public int SegmentNum { set; get; }
  48. //FieldPosX
  49. public int FieldPosX { set; get; }
  50. //FieldPosY
  51. public int FieldPosY { set; get; }
  52. //Element
  53. public string Element { set; get; }
  54. //ParticleImage
  55. public string ParticleImage { set; get; }
  56. public double Area
  57. {
  58. set;
  59. get;
  60. }
  61. public double DELONG
  62. {
  63. set;
  64. get;
  65. }
  66. public double DINSCR
  67. {
  68. set;
  69. get;
  70. }
  71. public double DMAX
  72. {
  73. set;
  74. get;
  75. }
  76. public double DMEAN
  77. {
  78. set;
  79. get;
  80. }
  81. public double DMIN
  82. {
  83. set;
  84. get;
  85. }
  86. public double DPERP
  87. {
  88. set;
  89. get;
  90. }
  91. public double PERIMETER
  92. {
  93. set;
  94. get;
  95. }
  96. public double ORIENTATION
  97. {
  98. set;
  99. get;
  100. }
  101. public double FERET
  102. {
  103. set;
  104. get;
  105. }
  106. public int SEMPosX
  107. {
  108. get;
  109. set;
  110. }
  111. public int SEMPosY
  112. {
  113. get;
  114. set;
  115. }
  116. #region baseobject中的属性
  117. public bool IsMouseMove { set; get; }
  118. public OTSIncAReportGraph.ParticleOperator Operator { set; get; }
  119. public bool IsDragging { set; get; }
  120. /// <summary>
  121. /// 控制多边形在进行缩放到多少倍时进行显示
  122. /// </summary>
  123. public float Zoom_DisPlayMultiplier { set; get; }
  124. /// <summary>
  125. /// 临时的变量,控制进行缩放时,是显示+号,还是显示多边形
  126. /// </summary>
  127. public bool Zoom_DisPlay { set; get; }
  128. /// <summary>
  129. /// 颗粒的外边框大小
  130. /// </summary>
  131. public RectangleF Rect { set; get; }
  132. /// <summary>
  133. /// 多边形的图形路径边缘
  134. /// </summary>
  135. public GraphicsPath GPath { set; get; }
  136. /// <summary>
  137. /// 颗粒里+号位置的外边框大小
  138. /// </summary>
  139. public RectangleF SmallRect { set; get; }
  140. #endregion
  141. }
  142. }