From 0940f31b7eba1cf6b6a8c1fca72d97cf686e79f2 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 04 七月 2025 10:43:00 +0800
Subject: [PATCH] 优化插件,完善TreeListView
---
HMI.Base/PluginInfo.cs | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/HMI.Base/PluginInfo.cs b/HMI.Base/PluginInfo.cs
index edc4a8b..a756621 100644
--- a/HMI.Base/PluginInfo.cs
+++ b/HMI.Base/PluginInfo.cs
@@ -1,4 +1,5 @@
-锘縰sing System.Collections.ObjectModel;
+锘縰sing HMI.Core.Api;
+using System.Collections.ObjectModel;
using System.Windows.Media.Imaging;
namespace HMI.Base
@@ -12,11 +13,13 @@
public bool IsFont { get; set; }
public string Code { get; set; }
public string Name { get; set; }
+ public string Type { get; set; }
public string ParentCode { get; set; }
public string DllPath { get; set; }
public string ClassName { get; set; }
public ObservableCollection<PluginInfo> Children { get; set; } = new ObservableCollection<PluginInfo>();
- public BitmapImage Icon { get; set; }
+ public string IconFont { get; set; }
+ public BitmapImage _Icon { get; set; }
public object Content;
--
Gitblit v1.9.1