| | |
| | | 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) |
| | | { |
| | |
| | | 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) |
| | | { |
| | |
| | | <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" /> |
对比新文件 |
| | |
| | | 锘縰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; |
| | | } |
| | | } |
| | | } |
对比新文件 |
| | |
| | | 锘縰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; |
| | | } |
| | | } |
| | | } |