using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Drawing2D; namespace OTSIncAReportApp.DataOperation.Model { [Serializable] public class Particle { public int FieldId { set; get; } //ParticleId public int ParticleId { set; get; } //XrayId public int XrayId { set; get; } //RectLeft public int RectLeft { set; get; } //RectTop public int RectTop { set; get; } //RectWidth public int RectWidth { set; get; } //RectHeight public int RectHeight { set; get; } //FeatureList public List FeatureList { set; get; } //XRayData public byte[] XRayData { set; get; } //ElementList public List ElementList { set; get; } public int AveGray { set; get; } //PosX public int PosX { set; get; } //PosY public int PosY { set; get; } //TypeId public int TypeId { set; get; } //TypeName public string TypeName { set; get; } //TypeColor public string TypeColor { set; get; } //ElementNum public int ElementNum { set; get; } //SegmentNum public int SegmentNum { set; get; } //FieldPosX public int FieldPosX { set; get; } //FieldPosY public int FieldPosY { set; get; } //Element public string Element { set; get; } //ParticleImage public string ParticleImage { set; get; } public double Area { set; get; } public double DELONG { set; get; } public double DINSCR { set; get; } public double DMAX { set; get; } public double DMEAN { set; get; } public double DMIN { set; get; } public double DPERP { set; get; } public double PERIMETER { set; get; } public double ORIENTATION { set; get; } public double FERET { set; get; } public int SEMPosX { get; set; } public int SEMPosY { get; set; } #region baseobject中的属性 public bool IsMouseMove { set; get; } public OTSIncAReportGraph.ParticleOperator Operator { set; get; } public bool IsDragging { set; get; } /// /// 控制多边形在进行缩放到多少倍时进行显示 /// public float Zoom_DisPlayMultiplier { set; get; } /// /// 临时的变量,控制进行缩放时,是显示+号,还是显示多边形 /// public bool Zoom_DisPlay { set; get; } /// /// 颗粒的外边框大小 /// public RectangleF Rect { set; get; } /// /// 多边形的图形路径边缘 /// public GraphicsPath GPath { set; get; } /// /// 颗粒里+号位置的外边框大小 /// public RectangleF SmallRect { set; get; } #endregion } }