管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2022-11-09 6e9376fc933c8721cdf90e68ccf4457090af968d
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