From 2edc3c54ba7a42d5e9bb9120b9881d418e6bd408 Mon Sep 17 00:00:00 2001 From: patrick.xu <patrick.xu@broconcentric.com> Date: 星期五, 13 八月 2021 09:38:29 +0800 Subject: [PATCH] 1. GTS回原点修改,避免来回 2. 添加单键测量结果补偿 3. 部分条件限制,日志修改 4. 来料检debug,添加退出条件判断 --- src/Bro.Common.Model/Selector/DeviceSelector.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Bro.Common.Model/Selector/DeviceSelector.cs b/src/Bro.Common.Model/Selector/DeviceSelector.cs index 1b289c8..34c25f7 100644 --- a/src/Bro.Common.Model/Selector/DeviceSelector.cs +++ b/src/Bro.Common.Model/Selector/DeviceSelector.cs @@ -3,13 +3,14 @@ using Bro.Common.Interface; using System.Collections; using System.Collections.Generic; +using System.ComponentModel; using System.Linq; namespace Bro.Common.Model { - public class DeviceSelectorConverter<T> : ComboBoxItemTypeConvert where T : IDevice + public class DeviceSelectorConverter<T> : ComboBoxItemTypeConvert //where T : IDevice { - public override Hashtable GetConvertHash() + public override Hashtable GetConvertHash(ITypeDescriptorContext context) { Hashtable table = new Hashtable(); using (var scope = GlobalVar.Container.BeginLifetimeScope()) -- Gitblit v1.8.0