From 6e9376fc933c8721cdf90e68ccf4457090af968d Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 09 十一月 2022 10:35:21 +0800 Subject: [PATCH] 1 --- ExportMap/cs/ExportUtil.cs | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/ExportMap/cs/ExportUtil.cs b/ExportMap/cs/ExportUtil.cs index 4a7c0f5..416575a 100644 --- a/ExportMap/cs/ExportUtil.cs +++ b/ExportMap/cs/ExportUtil.cs @@ -24,6 +24,27 @@ } } + private static string sourcesPath; + + public string GetSourcesPath + { + get + { + if (string.IsNullOrEmpty(sourcesPath)) + { + sourcesPath = Path.Combine(BaseDir, "Sources"); + } + + return sourcesPath; + } + } + + /// <summary> + /// 鎵цPython + /// </summary> + /// <param name="py">Python鏂囦欢</param> + /// <param name="qgz">QGIS宸ョ▼</param> + /// <param name="qpt">QGIS妯℃澘</param> public static void ExecPython(string py, string qgz, string qpt) { try -- Gitblit v1.9.3