管道基础大数据平台系统开发-【CS】-ExportMap
1
13693261870
2023-01-16 955227562285dd86e4356fbfbe9d9250d65436a3
ExportMap/cs/ExportUtil.cs
@@ -141,6 +141,7 @@
            try
            {
                string cmdText = string.Format("python {0} -qgz {1} -qpt {2}", py, qgz, qpt);
                LogOut.Info("cmd = " + cmdText);
                Process p = new Process();
                p.StartInfo.FileName = "cmd.exe";
@@ -220,10 +221,7 @@
            string imgPath = Path.Combine(DownloadFolder, args.imgPath);
            string templateFile = Path.Combine(SourcesPath, "Template.qpt");
            string qptFile = Path.Combine(SourcesPath, args.qpt);
            if (File.Exists(qptFile))
            {
                File.Delete(qptFile);
            }
            LogOut.Info("imgPath = " + imgPath + ", tempFile = " + templateFile + ", qptFile = " + qptFile);
            string xml = File.ReadAllText(templateFile);
            xml = xml