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 作为历史根节点
---
Plugin.TsSupport/TestAppManager.cs | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/Plugin.TsSupport/TestAppManager.cs b/Plugin.TsSupport/TestAppManager.cs
new file mode 100644
index 0000000..ecc405c
--- /dev/null
+++ b/Plugin.TsSupport/TestAppManager.cs
@@ -0,0 +1,33 @@
+锘縰sing NationalInstruments.TestStand.Interop.UI.Ax;
+
+namespace Plugin.TsSupport
+{
+ public class TestAppManager
+ {
+ private static object lockObj = new object();
+ private static AxApplicationMgr instance;
+ public static AxApplicationMgr GetAxApplicationMgr()
+ {
+ lock (lockObj)
+ {
+ if (instance == null)
+ {
+ instance = new AxApplicationMgr();
+ }
+ return instance;
+ }
+ }
+
+ public static void Dispose()
+ {
+ lock (lockObj)
+ {
+ if (instance != null)
+ {
+ instance.Dispose();
+ instance = null;
+ }
+ }
+ }
+ }
+}
--
Gitblit v1.9.1