| | |
| | | public List<KeyResult> KeyResultCollection { get; set; } = new List<KeyResult>(); |
| | | #endregion |
| | | |
| | | [Category("离线测试模式")] |
| | | [Description("true:设备离线模式 false:设备连线模式")] |
| | | [DisplayName("离线模式")] |
| | | public bool IsOfflineMode { get; set; } = false; |
| | | |
| | | [Category("显示配置")] |
| | | [Description("运行背景图片路径")] |
| | | [Editor(typeof(FileDialogEditor), typeof(UITypeEditor))] |
| | |
| | | public int RepeatTimes { get; set; } = 1; |
| | | } |
| | | |
| | | [Device("KeyUnitGenerate", "单键生成配置", EnumHelper.DeviceAttributeType.OperationConfig)] |
| | | public class KeyUnitGenerateConfig : OperationConfigBase |
| | | { |
| | | [Category("键名配置")] |
| | | [Description("开始键")] |
| | | [TypeConverter(typeof(KeyNameDictConverter))] |
| | | public string StartKey { get; set; } |
| | | |
| | | [Category("键名配置")] |
| | | [Description("结束键")] |
| | | [TypeConverter(typeof(KeyNameDictConverter))] |
| | | public string EndKey { get; set; } |
| | | |
| | | [Category("图像来源")] |
| | | [Description("拍照点位")] |
| | | [TypeConverter(typeof(SnapshotPointConverter))] |
| | | public string SnapshotPointId { get; set; } |
| | | |
| | | [Category("算法配置")] |
| | | [Description("单键检测配置算法类型")] |
| | | [TypeConverter(typeof(KeyAlgorithemConverter))] |
| | | public string KeyAlgorithemId { get; set; } |
| | | |
| | | [Category("算法配置")] |
| | | [Description("单键检测配置结果类型")] |
| | | [TypeConverter(typeof(KeyResultConverter))] |
| | | public string KeyResultId { get; set; } |
| | | } |
| | | |
| | | public class OperationCombination : IComplexDisplay, IHalconToolPath |
| | | { |
| | | [Category("运动机构配置")] |