| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | 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<Feature> FeatureList { set; get; }        //XRayData        public byte[] XRayData { set; get; }        //ElementList        public List<Element> 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; }        /// <summary>        /// 控制多边形在进行缩放到多少倍时进行显示        /// </summary>        public float Zoom_DisPlayMultiplier { set; get; }        /// <summary>        /// 临时的变量,控制进行缩放时,是显示+号,还是显示多边形        /// </summary>        public bool Zoom_DisPlay { set; get; }        /// <summary>        /// 颗粒的外边框大小        /// </summary>        public RectangleF Rect { set; get; }        /// <summary>        /// 多边形的图形路径边缘        /// </summary>        public GraphicsPath GPath { set; get; }        /// <summary>        /// 颗粒里+号位置的外边框大小        /// </summary>        public RectangleF SmallRect { set; get; }        #endregion    }}
 |