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; /// /// 速度模式运行速度 /// public float SpeedModeRunningSpeed { get; set; } /// /// 点动速度 /// public float JogSpeed { get; set; } /// /// 瓶装设定值 /// public ushort BottValueSet { get; set; } /// /// 中转阀打开速度 /// public float TransferValveOpeningSpeed { get; set; } /// /// 中转阀打开时间 /// public UInt32 TransferValveOpeningTime { get; set; } /// /// 罐装减速值 /// public ushort BottingDecelerationValue { get; set; } /// /// 缓存减速值 /// public UInt16 CacheDecelerationValue { get; set; } /// /// 缓存计数延迟时间 /// public UInt32 CacheCountDelayTiming { get; set; } /// /// 缓存停机值 /// public ushort CacheShutdownValue { get; set; } /// /// 罐装料筒震台高速值 /// public ushort BottingMaterialCylinderVibrationTableHighSpeedValue { get; set; } /// /// 罐装过滤震台高速值 /// public ushort BottingFilterVibrationTableHighSpeedValue { get; set; } /// /// 罐装计数震台高速值 /// public ushort BottingCountVibrationTableHighSpeedValue { get; set; } /// /// 罐装料筒震台减速值 /// public ushort BottingMaterialCylinderVibrationTableDecelerationSpeedValue { get; set; } /// /// 罐装过滤震台减速值 /// public ushort BottingFilterVibrationTableDecelerationSpeedValue { get; set; } /// /// 罐装计数震台减速值 /// public ushort BottingCountVibrationTableDecelerationSpeedValue { get; set; } /// /// 缓存料筒震台高速值 /// public ushort CacheMaterialCylinderVibrationTableHighSpeedValue { get; set; } /// /// 缓存过滤震台高速值 /// public ushort CacheFilterVibrationTableHighSpeedValue { get; set; } /// /// 缓存计数震台高速值 /// public ushort CacheCountVibrationTableHighSpeedValue { get; set; } /// /// 缓存料筒震台减速值 /// public ushort CacheMaterialCylinderVibrationTableDecelerationSpeedValue { get; set; } /// /// 缓存过滤震台减速值 /// public ushort CacheFilterVibrationTableDecelerationSpeedValue { get; set; } /// /// 缓存计数震台减速值 /// public ushort CacheCountVibrationTableDecelerationSpeedValue { get; set; } /// /// 阀门打开延迟 /// public UInt32 GateOpeningDelay { get; set; } /// /// 回零偏移值 /// public float ReturnToZeroOffsetValue { get; set; } /// /// 回零偏移速度 /// public float ReturnToZeroOffsetSpeed { get; set; } /// /// 中转阀关闭速度 /// public float TransferValveClosingSpeed { get; set; } /// /// 中转阀打开位置 /// public float TransferValveOpenPosition { get; set; } /// /// 中转阀关闭位置 /// public float TransferValveClosePosition { get; set; } /// /// 气阀打开延迟 /// public UInt32 AirValveOpeningDelay { get; set; } /// /// 装瓶停机值 /// public UInt16 BottlingShutdownValue { get; set; } /// /// 装瓶停机时间 /// public UInt32 BottlingShutdownTime { get; set; } /// /// 送瓶轮运行速度 /// public float BottleFeedingWheelRunningSpeed { get; set; } /// /// 送瓶轮点动速度 /// public float BottleFeedingWheelJogRunningSpeed { get; set; } /// /// 送瓶轮回零偏移值 /// public float BottleFeedingWheelReturnToZeroOffsetValue { get; set; } /// /// 送瓶轮回零速度 /// public float BottleFeedingWheelReturnToZeroSpeed { get; set; } /// /// 送瓶轮位置长度 /// public float BottleFeedingWheelPositionLength { get; set; } /// /// 送瓶轮暂停时间 /// public UInt32 BottleFeedingWheelPauseTime { get; set; } /// /// 下料延时 /// public UInt32 DelayBlanking { get; set; } } }