From 542d8a4aab372c511a98e05a1b58c3b1c3e3de7b Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 08 九月 2023 13:47:51 +0800
Subject: [PATCH] 1

---
 MoonExp/cs/ExportUtil.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MoonExp/cs/ExportUtil.cs b/MoonExp/cs/ExportUtil.cs
index 62a1b32..ea9e8ba 100644
--- a/MoonExp/cs/ExportUtil.cs
+++ b/MoonExp/cs/ExportUtil.cs
@@ -132,7 +132,7 @@
         {
             string date = DateStr;
             string sub = GetExportSubFolder();
-            string qgz = "Test.qgz";
+            string qgz = "Moon.qgz";
 
             args.imgPath = sub + "\\" + date + ".png";
             args.qpt = date + ".qpt";
@@ -174,7 +174,7 @@
         public static void CreateTemplate(ExportArgs args)
         {
             string imgPath = Path.Combine(DownloadFolder, args.imgPath);
-            string templateFile = Path.Combine(SourcesPath, "Template.qpt");
+            string templateFile = Path.Combine(SourcesPath, "MoonTemplate.qpt");
             string qptFile = Path.Combine(SourcesPath, args.qpt);
             LogOut.Info("imgPath = " + imgPath + ", tempFile = " + templateFile + ", qptFile = " + qptFile);
 
@@ -188,9 +188,9 @@
                 .Replace("{ymin}", args.ymin.ToString())
                 .Replace("{ymax}", args.ymax.ToString())
                 .Replace("{xmax}", args.xmax.ToString())
-                .Replace("{province}", args.province)
+                //.Replace("{province}", args.province)
                 .Replace("{scale}", args.scale)
-                .Replace("{resolution}", args.resolution)
+                //.Replace("{resolution}", args.resolution)
                 //.Replace("{date}", args.date)
                 .Replace("{date}", DateTime.Now.ToString("yyyy.MM.dd"))
                 .Replace("{layers}", args.layers)

--
Gitblit v1.9.3