using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OTSInclusionsTraceability { class Particle { public enum SourceType { RefiningSlag=0, Refractory=1 } 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 SegmentList { 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 DFERET { set; get; } public int SEMPosX { get; set; } public int SEMPosY { get; set; } public string Hardness { set; get; } public string Density { set; get; } public string Electrical_conductivity { set; get; } public SourceType Source { set; get; } } }