From dedcf4174c8540ee3a912daad2ff13e014e495b1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 28 三月 2025 16:28:30 +0800
Subject: [PATCH] 优化UI组件;

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