| | |
| | | using Bro.Common.Helper; |
| | | using Bro.Common.Base; |
| | | using Bro.Common.Helper; |
| | | using Bro.Common.Model; |
| | | using Bro.Process; |
| | | using System; |
| | |
| | | [Category("背景图片设置")] |
| | | [Description("运行背景图片路径")] |
| | | [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))] |
| | | [DisplayName("背景图片")] |
| | | public string BackgroundImagePath { get; set; } |
| | | |
| | | [Category("检测设置")] |
| | | [Description("拍摄点位设置集合")] |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(ComplexCollectionEditor<SnapshotPoint>), typeof(UITypeEditor))] |
| | | [DisplayName("拍摄点位")] |
| | | public List<SnapshotPoint> SnapshotPointCollection { get; set; } = new List<SnapshotPoint>(); |
| | | |
| | | [Category("检测设置")] |
| | | [Description("视觉检测单键配置集合")] |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(ComplexCollectionEditor<KeyUnit>), typeof(UITypeEditor))] |
| | | [DisplayName("单键配置")] |
| | | public List<KeyUnit> KeyUnitCollection { get; set; } = new List<KeyUnit>(); |
| | | |
| | | [Category("检测设置")] |
| | |
| | | [TypeConverter(typeof(CollectionCountConvert))] |
| | | [Editor(typeof(ComplexCollectionEditor<MeasurementUint>), typeof(UITypeEditor))] |
| | | public List<MeasurementUint> MeasurementUnitCollection { get; set; } = new List<MeasurementUint>(); |
| | | |
| | | [Category("图片保存配置")] |
| | | [Description("单键图片保存配置")] |
| | | [TypeConverter(typeof(ComplexObjectConvert))] |
| | | [Editor(typeof(PropertyObjectEditor), typeof(UITypeEditor))] |
| | | public ImageSaveOption ImageSaveOption { get; set; } = new ImageSaveOption(); |
| | | |
| | | [Category("图片保存配置")] |
| | | [Description("单键图片保存目录路径")] |
| | | [Editor(typeof(FoldDialogEditor),typeof(UITypeEditor))] |
| | | public string ImageSaveFolder { get; set; } = ""; |
| | | } |
| | | } |