From d9b8f0d0d3ae71ecd46e0864ff9901e30bf104e4 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期三, 21 六月 2023 11:41:32 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/OsgbUtils.cs                  |   24 ++++++++++++
 ExportMap/Controllers/ConvertController.cs |   18 +++++++--
 ExportMap/ExportMap.csproj                 |    2 +
 ExportMap/cs/LasUtils.cs                   |   24 ++++++++++++
 4 files changed, 64 insertions(+), 4 deletions(-)

diff --git a/ExportMap/Controllers/ConvertController.cs b/ExportMap/Controllers/ConvertController.cs
index ce196c1..2b4f1e2 100644
--- a/ExportMap/Controllers/ConvertController.cs
+++ b/ExportMap/Controllers/ConvertController.cs
@@ -143,9 +143,14 @@
                 ResponseMsg<string> msg = checkArgs(args);
                 if (null != args) return msg;
 
-                //
+                string err = null;
+                List<int> rs = LasUtils.Generate(args, ref err);
+                if (null == rs || rs.Count == 0)
+                {
+                    return ResponseMsg<string>.fail(null == err ? "澶辫触" : err);
+                }
 
-                return null;
+                return ResponseMsg<string>.success("鎴愬姛", string.Join(",", rs), rs.Count);
             }
             catch (Exception ex)
             {
@@ -165,9 +170,14 @@
                 ResponseMsg<string> msg = checkArgs(args);
                 if (null != args) return msg;
 
-                //
+                string err = null;
+                List<int> rs = OsgbUtils.Generate(args, ref err);
+                if (null == rs || rs.Count == 0)
+                {
+                    return ResponseMsg<string>.fail(null == err ? "澶辫触" : err);
+                }
 
-                return null;
+                return ResponseMsg<string>.success("鎴愬姛", string.Join(",", rs), rs.Count);
             }
             catch (Exception ex)
             {
diff --git a/ExportMap/ExportMap.csproj b/ExportMap/ExportMap.csproj
index e4a42fb..9f2e5fe 100644
--- a/ExportMap/ExportMap.csproj
+++ b/ExportMap/ExportMap.csproj
@@ -141,8 +141,10 @@
     <Compile Include="cs\ConvertUtils.cs" />
     <Compile Include="cs\CustomMultipartFormDataStreamProvider.cs" />
     <Compile Include="cs\ExportUtil.cs" />
+    <Compile Include="cs\LasUtils.cs" />
     <Compile Include="cs\LogOut.cs" />
     <Compile Include="cs\NoBufferPolicySelector.cs" />
+    <Compile Include="cs\OsgbUtils.cs" />
     <Compile Include="cs\SGUtils.cs" />
     <Compile Include="cs\TerraUtils.cs" />
     <Compile Include="cs\Tools.cs" />
diff --git a/ExportMap/cs/LasUtils.cs b/ExportMap/cs/LasUtils.cs
new file mode 100644
index 0000000..f3963ad
--- /dev/null
+++ b/ExportMap/cs/LasUtils.cs
@@ -0,0 +1,24 @@
+锘縰sing ExportMap.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace ExportMap.cs
+{
+    public class LasUtils
+    {
+        /// <summary>
+        /// 鐢熸垚
+        /// </summary>
+        /// <param name="args">XYZ鍙傛暟</param>
+        /// <param name="err">閿欒淇℃伅</param>
+        /// <returns>鏁版嵁鍙戝竷ID闆嗗悎</returns>
+        public static List<int> Generate(XYZArgs args, ref string err)
+        {
+
+
+            return null;
+        }
+    }
+}
diff --git a/ExportMap/cs/OsgbUtils.cs b/ExportMap/cs/OsgbUtils.cs
new file mode 100644
index 0000000..4c90fa9
--- /dev/null
+++ b/ExportMap/cs/OsgbUtils.cs
@@ -0,0 +1,24 @@
+锘縰sing ExportMap.Models;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+
+namespace ExportMap.cs
+{
+    public class OsgbUtils
+    {
+        /// <summary>
+        /// 鐢熸垚
+        /// </summary>
+        /// <param name="args">XYZ鍙傛暟</param>
+        /// <param name="err">閿欒淇℃伅</param>
+        /// <returns>鏁版嵁鍙戝竷ID闆嗗悎</returns>
+        public static List<int> Generate(XYZArgs args, ref string err)
+        {
+            //
+
+            return null;
+        }
+    }
+}

--
Gitblit v1.9.3