From 8bd46da0c9fbfe39a65d75b1d85692d8783f5905 Mon Sep 17 00:00:00 2001
From: patrick.xu <patrick.xu@broconcentric.com>
Date: 星期三, 15 九月 2021 10:50:54 +0800
Subject: [PATCH] 现场修改

---
 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