From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点

---
 HMI.Core/Util/UtilContainer.cs |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/HMI.Core/Util/UtilContainer.cs b/HMI.Core/Util/UtilContainer.cs
new file mode 100644
index 0000000..1706a20
--- /dev/null
+++ b/HMI.Core/Util/UtilContainer.cs
@@ -0,0 +1,22 @@
+锘縰sing System.Collections.Generic;
+
+namespace HMI.Core.Util
+{
+    public class UtilContainer
+    {
+        private static Dictionary<string, object> Map = new Dictionary<string, object>();
+
+        public static bool RegisterUtil(string name, object value)
+        {
+            if (Map.ContainsKey(name)) return false;
+            Map[name] = value;
+            return true;
+        }
+
+        public T GetUtil<T>(string name)
+        {
+            if (!Map.ContainsKey(name)) return default(T);
+            return (T)Map[name];
+        }
+    }
+}

--
Gitblit v1.9.1