using Bro.Common.Helper;
|
using Bro.Common.Model;
|
using Bro.M141.Process;
|
using System.ComponentModel;
|
using System.Drawing.Design;
|
|
namespace Bro.M141_AOI2.Process
|
{
|
[Process("AOI2", EnumHelper.DeviceAttributeType.InitialConfig)]
|
public class AOI2Config : M141Config
|
{
|
[Category("工位2配置")]
|
[Description("工位2检测运动点位集合")]
|
[DisplayName("工位2检测运动点位")]
|
[TypeConverter(typeof(CollectionCountConvert))]
|
[Editor(typeof(ComplexCollectionEditor<CheckPoint>), typeof(UITypeEditor))]
|
public List<CheckPoint> CheckPoints_P2 { get; set; } = new List<CheckPoint>();
|
|
|
[Category("工位1配置")]
|
[Description("工位1检测运动点位集合")]
|
[DisplayName("工位1检测运动点位")]
|
[TypeConverter(typeof(CollectionCountConvert))]
|
[Editor(typeof(ComplexCollectionEditor<CheckPoint>), typeof(UITypeEditor))]
|
public List<CheckPoint> CheckPoints_P1 { get; set; } = new List<CheckPoint>();
|
|
//[Category("工位3配置")]
|
//[Description("产品测量点位集合")]
|
//[DisplayName("产品测量点位集合")]
|
//[TypeConverter(typeof(CollectionCountConvert))]
|
//[Editor(typeof(ComplexCollectionEditor<ContourPoint>), typeof(UITypeEditor))]
|
//public List<ContourPoint> MeasurePointCollection { get; set; } = new List<ContourPoint>();
|
|
//[Category("工位3配置")]
|
//[Description("检测项配置集合,设置包含组合点位的检测项")]
|
//[DisplayName("检测项配置集合")]
|
//[TypeConverter(typeof(CollectionCountConvert))]
|
//[Editor(typeof(ComplexCollectionEditor<MeasureItemBind>), typeof(UITypeEditor))]
|
//public List<MeasureItemBind> MeasureItemBinds { get; set; } = new List<MeasureItemBind>();
|
|
//[Category("工位3配置")]
|
//[DisplayName("轮廓点计算偏移")]
|
//[Description("计算轮廓点位置时的点位偏移大小,单位mm")]
|
//public float CountLineShift { get; set; } = 0.5f;
|
|
[Category("条码配置")]
|
[Description("工位1产品条码正则判断表达式,设置为空时不需要判断")]
|
[DisplayName("产品条码判断")]
|
public string BarcodeRegex { get; set; } = "";
|
|
[Category("条码配置")]
|
[Description("选择条码标准配置信息,方便条码NG输出")]
|
[DisplayName("条码标准")]
|
[TypeConverter(typeof(SpecCodeSelectorConverter))]
|
public string BarcodeSpecCode { get; set; } = "";
|
}
|
}
|