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; /// /// X计算系数 /// public double ScaleX { get; set; } /// /// Y计算系数 /// public double ScaleY { get; set; } /// /// 曝光时间 /// public float ExposureTimeValue { get; set; } = 100; /// /// 采集行频 /// public int AcquistionLineRateValue { get; set; } = 800; /// /// 设备名称 /// public string DeviceName { get; set; } = string.Empty; /// /// 罐装模式 /// public ushort FillingMode { get; set; } /// /// 传送带速度 /// public ushort BeltsSpeed { get; set; } /// /// 罐装料筒震台高速值 /// public ushort ShakeTable1H_FillingSpeed { get; set; } /// /// 罐装过滤震台高速值 /// public ushort ShakeTable2H_FillingSpeed { get; set; } /// /// 罐装计数震台高速值 /// public ushort ShakeTable3H_FillingSpeed { get; set; } /// /// 罐装料筒震台减速值 /// public ushort ShakeTable1M_FillingSpeed { get; set; } /// /// 罐装过滤震台减速值 /// public ushort ShakeTable2M_FillingSpeed { get; set; } /// /// 罐装计数震台减速值 /// public ushort ShakeTable3M_FillingSpeed { get; set; } /// /// 罐装料筒震台低速值 /// public ushort ShakeTable1L_FillingSpeed { get; set; } /// /// 罐装过滤震台低速值 /// public ushort ShakeTable2L_FillingSpeed { get; set; } /// /// 罐装计数震台低速值 /// public ushort ShakeTable3L_FillingSpeed { get; set; } /// /// 缓存料筒震台高速值 /// public ushort ShakeTable1H_CacheSpeed { get; set; } /// /// 缓存过滤震台高速值 /// public ushort ShakeTable2H_CacheSpeed { get; set; } /// /// 缓存计数震台高速值 /// public ushort ShakeTable3H_CacheSpeed { get; set; } /// /// 缓存料筒震台减速值 /// public ushort ShakeTable1M_CacheSpeed { get; set; } /// /// 缓存过滤震台减速值 /// public ushort ShakeTable2M_CacheSpeed { get; set; } /// /// 缓存计数震台减速值 /// public ushort ShakeTable3M_CacheSpeed { get; set; } /// /// 缓存料筒震台低速值 /// public ushort ShakeTable1L_CacheSpeed { get; set; } /// /// 缓存过滤震台低速值 /// public ushort ShakeTable2L_CacheSpeed { get; set; } /// /// 缓存计数震台低速值 /// public ushort ShakeTable3L_CacheSpeed { get; set; } /// /// 罐装高速区间 /// public ushort FillingH_SpeedRatio { get; set; } /// /// 罐装减速区间 /// public ushort FillingM_SpeedRatio { get; set; } /// /// 罐装低速区间 /// public ushort FillingL_SpeedRatio { get; set; } /// /// 罐装高速区间 /// public ushort CacheH_SpeedRatio { get; set; } /// /// 罐装减速区间 /// public ushort CacheM_SpeedRatio { get; set; } /// /// 罐装低速区间 /// public ushort CacheL_SpeedRatio { get; set; } /// /// 传动轴点动速度 /// public double ScrewJogSpeed { get; set; } /// /// 进瓶速度 /// public double InBottleSpeed { get; set; } /// /// 传动轴绝对定位速度 /// public double BottlePosSpeed { get; set; } /// /// 传动轴绝对定位位置 /// public double BottlePosPosition { get; set; } /// /// 中转阀打开速度 /// public double FillingValveOpenSpeed { get; set; } /// /// 中转阀打开位置 /// public double FillingValveOpenPosition { get; set; } /// /// 中转阀关闭速度 /// public double FillingValveCloseSpeed { get; set; } /// /// 中转阀关位置 /// public double FillingValveClosePosition { get; set; } /// /// 中转阀缓存速度 /// public double FillingValveCacheSpeed { get; set; } /// /// 中转阀缓存位置 /// public double FillingValueCachePosition { get; set; } /// /// 中转阀点动速度 /// public double FillingValueJogSpeed { get; set; } /// /// 漏斗下降延时 /// public ushort MachineDelayFunneDownTime { get; set; } /// /// 漏斗上升延时 /// public ushort MachineDelayFunneUpTime { get; set; } /// /// 中转阀打开延时 /// public ushort MachineDelayFillingValveOpenTime { get; set; } /// /// 中转阀关闭延时 /// public ushort MachineDelayFillingValveCloseTime { get; set; } /// /// j进瓶延时 /// public ushort MachineDelayInBottleTime { get; set; } /// /// 气动闸板延时 /// public ushort ValveDelytime { get; set; } /// /// 罐装设定值 /// public ushort BottValueSet { get; set; } /// /// 缓存停机值 /// public ushort CacheShutdownValue { get; set; } } }