using Bro.Common.Helper; using Bro.Common.Model; using Bro.Process; using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing.Design; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bro.M071.Process { [Process("M071", EnumHelper.DeviceAttributeType.InitialConfig)] public partial class M071Config : ProcessConfigBase { #region 公共字典配置 [Category("公共字典配置")] [Description("键盘键名集合")] [TypeConverter(typeof(SimpleCollectionConvert))] [Editor(typeof(SimpleCollectionEditor), typeof(UITypeEditor))] public List KeyNameCollection { get; set; } = new List(); [Category("公共字典配置")] [Description("检测类型和标准集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List MeasureTypeCollection { get; set; } = new List(); [Category("公共字典配置")] [Description("单键算法配置集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List KeyAlgorithemCollection { get; set; } = new List(); [Category("公共字典配置")] [Description("单键结果配置集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List KeyResultCollection { get; set; } = new List(); #endregion [Category("背景图片设置")] [Description("运行背景图片路径")] [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))] public string BackgroundImagePath { get; set; } [Category("检测设置")] [Description("拍摄点位设置集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List SnapshotPointCollection { get; set; } = new List(); [Category("检测设置")] [Description("视觉检测单键配置集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List KeyUnitCollection { get; set; } = new List(); [Category("检测设置")] [Description("检测配置集合")] [TypeConverter(typeof(CollectionCountConvert))] [Editor(typeof(ComplexCollectionEditor), typeof(UITypeEditor))] public List MeasurementUnitCollection { get; set; } = new List(); } }