using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CCDCount.MODEL.ConfigModel { public class FormulationConfigClass { /// /// 配方名称 /// public string FormulationName { get; set; } = string.Empty; /// /// 二值化阈值 /// public int RegionThreshold { get; set; } = 30; /// /// 允许物体中断的最大连续行数 /// public int MAX_GAP { get; set; } = 2; /// /// 合格物体的最长长度 /// public int MAX_Object_LENGTH { get; set; } = 1000; /// /// 合格物体的最短长度 /// public int MIN_Object_LENGTH { get; set; } = 5; /// /// 判定标准识别码 /// -1 为无效不进行颗粒合格判定 /// 0 为使用宽高进行合格判定 /// 1 为使用面积进行合格判定 /// 2 为使用宽高和面积进行合格判定 /// public int PandingCode { get; set; } = 0; /// /// 合格物体的最大面积 /// public int MaxArea { get; set; } = 1000000; /// /// 合格物体的最小面积 /// public int MinArea { get; set; } = 0; /// /// 噪声过滤阈值 /// public int NoiseFilter_Threshold { get; set; } = 5; /// /// 通道数量 /// public int Channel { get; set; } = 1; /// /// 曝光时间 /// public float ExposureTimeValue { get; set; } = 100; /// /// 采集行频 /// public int AcquistionLineRateValue { get; set; } = 800; /// /// 设备名称 /// public string DeviceName { get; set; } = string.Empty; } }