From 2b36cb4c4e2be350663189638b9f1132f3eccd26 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 27 六月 2023 14:38:18 +0800 Subject: [PATCH] 获取TB需要的影像、高程、shp文件 --- ExportMap/cs/Tools.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ExportMap/cs/Tools.cs b/ExportMap/cs/Tools.cs index 3bc1e44..a098aad 100644 --- a/ExportMap/cs/Tools.cs +++ b/ExportMap/cs/Tools.cs @@ -26,6 +26,9 @@ private static string tempDir; + /// <summary> + /// 涓存椂鐩綍 + /// </summary> public static string TempDir { get @@ -33,7 +36,10 @@ if (string.IsNullOrWhiteSpace(tempDir)) { tempDir = Path.Combine(BaseDir, "temp"); - if (!Directory.Exists(tempDir)) Directory.CreateDirectory(tempDir); + if (!Directory.Exists(tempDir)) + { + Directory.CreateDirectory(tempDir); + } } return tempDir; -- Gitblit v1.9.3