From 00ea1cd461d6d8d128d727f6a40edca75da9ccdd Mon Sep 17 00:00:00 2001 From: xcd <834800634@qq.com> Date: 星期三, 08 七月 2020 16:38:46 +0800 Subject: [PATCH] 相机运行界面基类添加操作配置 gocator驱动修正长宽比例,输出进行复制插值处理 显示基元添加8个方向的拉伸和移动处理 标签基元实现3个方向的拉伸和移动 --- 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