ExportMap.sln | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
JavaCode/App.config | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/App_Start/WebApiConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/Global.asax | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/Global.asax.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/MoonExp.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/Properties/AssemblyInfo.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/Web.config | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
MoonExp/packages.config | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ExportMap.sln
@@ -1,8 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.33627.172 MinimumVisualStudioVersion = 10.0.40219.1 # Visual Studio 2012 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ExportMap", "ExportMap\ExportMap.csproj", "{53C216F2-AAAB-474C-8A33-9DB69E3670AF}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "JavaCode", "JavaCode\JavaCode.csproj", "{49F2AA44-7BF5-46B7-B08F-40AA1455F089}" @@ -13,54 +11,88 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CutTiles", "CutTiles\CutTiles.csproj", "{A8E7B821-752F-4604-BAD6-0C8A44008077}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MoonExp", "MoonExp\MoonExp.csproj", "{A83A9085-9C26-4940-8671-1D1B3E4453B9}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Debug|Mixed Platforms = Debug|Mixed Platforms Debug|x64 = Debug|x64 Release|Any CPU = Release|Any CPU Release|Mixed Platforms = Release|Mixed Platforms Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Any CPU.Build.0 = Debug|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|x64.ActiveCfg = Debug|x64 {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Debug|x64.Build.0 = Debug|x64 {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Any CPU.ActiveCfg = Release|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Any CPU.Build.0 = Release|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|Mixed Platforms.Build.0 = Release|Any CPU {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|x64.ActiveCfg = Release|x64 {53C216F2-AAAB-474C-8A33-9DB69E3670AF}.Release|x64.Build.0 = Release|x64 {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Any CPU.Build.0 = Debug|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|x64.ActiveCfg = Debug|x64 {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Debug|x64.Build.0 = Debug|x64 {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Any CPU.ActiveCfg = Release|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Any CPU.Build.0 = Release|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|Mixed Platforms.Build.0 = Release|Any CPU {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|x64.ActiveCfg = Release|x64 {49F2AA44-7BF5-46B7-B08F-40AA1455F089}.Release|x64.Build.0 = Release|x64 {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Any CPU.Build.0 = Debug|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|x64.ActiveCfg = Debug|x64 {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Debug|x64.Build.0 = Debug|x64 {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Any CPU.ActiveCfg = Release|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Any CPU.Build.0 = Release|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|Mixed Platforms.Build.0 = Release|Any CPU {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|x64.ActiveCfg = Release|x64 {95C212E0-D078-4932-9FAB-7A7BFD6657B3}.Release|x64.Build.0 = Release|x64 {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Any CPU.Build.0 = Debug|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|x64.ActiveCfg = Debug|x64 {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Debug|x64.Build.0 = Debug|x64 {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Any CPU.ActiveCfg = Release|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Any CPU.Build.0 = Release|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|Mixed Platforms.Build.0 = Release|Any CPU {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|x64.ActiveCfg = Release|x64 {1670B5DF-E266-473F-AF55-EA2AC1CFC6E7}.Release|x64.Build.0 = Release|x64 {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Any CPU.Build.0 = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|x64.ActiveCfg = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Debug|x64.Build.0 = Debug|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Any CPU.ActiveCfg = Release|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Any CPU.Build.0 = Release|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|Mixed Platforms.Build.0 = Release|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|x64.ActiveCfg = Release|Any CPU {A8E7B821-752F-4604-BAD6-0C8A44008077}.Release|x64.Build.0 = Release|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Any CPU.Build.0 = Debug|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Debug|x64.ActiveCfg = Debug|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Any CPU.ActiveCfg = Release|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Any CPU.Build.0 = Release|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|Mixed Platforms.Build.0 = Release|Any CPU {A83A9085-9C26-4940-8671-1D1B3E4453B9}.Release|x64.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE JavaCode/App.config
@@ -2,8 +2,9 @@ <configuration> <appSettings> <!--<add key="pgConn" value="Server=127.0.0.1;Port=5433;Database=langfang;User Id=postgres;Password=postgres;"/>--> <add key="pgConn" value="Server=192.168.20.205;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/> <!--<add key="pgConn" value="Server=192.168.20.205;Port=5433;Database=langfang;User Id=postgres;Password=Postgres!_14_Lf;"/>--> <!--<add key="pgConn" value="Server=192.168.20.83;Port=5433;Database=moon;User Id=postgres;Password=Postgres!_14_moon;"/>--> <add key="pgConn" value="Server=103.85.165.99;Port=25432;Database=moon;User Id=postgres;Password=Postgres!_14_moon;"/> </appSettings> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/> MoonExp/App_Start/WebApiConfig.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,24 @@ using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace MoonExp { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes config.MapHttpAttributeRoutes(); config.Routes.MapHttpRoute( name: "DefaultApi", routeTemplate: "api/{controller}/{id}", defaults: new { id = RouteParameter.Optional } ); } } } MoonExp/Global.asax
¶Ô±ÈÐÂÎļþ @@ -0,0 +1 @@ <%@ Application Codebehind="Global.asax.cs" Inherits="MoonExp.WebApiApplication" Language="C#" %> MoonExp/Global.asax.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,17 @@ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Routing; namespace MoonExp { public class WebApiApplication : System.Web.HttpApplication { protected void Application_Start() { GlobalConfiguration.Configure(WebApiConfig.Register); } } } MoonExp/MoonExp.csproj
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,125 @@ <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion> </ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{A83A9085-9C26-4940-8671-1D1B3E4453B9}</ProjectGuid> <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>MoonExp</RootNamespace> <AssemblyName>MoonExp</AssemblyName> <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion> <UseIISExpress>true</UseIISExpress> <IISExpressSSLPort /> <IISExpressAnonymousAuthentication /> <IISExpressWindowsAuthentication /> <IISExpressUseClassicPipelineMode /> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="Microsoft.CSharp" /> <Reference Include="System.Net.Http" /> <Reference Include="System.Web.DynamicData" /> <Reference Include="System.Web.Entity" /> <Reference Include="System.Web.ApplicationServices" /> <Reference Include="System.ComponentModel.DataAnnotations" /> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Core" /> <Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Web.Extensions" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Drawing" /> <Reference Include="System.Web" /> <Reference Include="System.Xml" /> <Reference Include="System.Configuration" /> <Reference Include="System.Web.Services" /> <Reference Include="System.EnterpriseServices" /> </ItemGroup> <ItemGroup> <Reference Include="Newtonsoft.Json"> <HintPath>..\packages\Newtonsoft.Json.5.0.6\lib\net45\Newtonsoft.Json.dll</HintPath> </Reference> <Reference Include="System.Net.Http.Formatting"> <HintPath>..\packages\Microsoft.AspNet.WebApi.Client.5.0.0\lib\net45\System.Net.Http.Formatting.dll</HintPath> </Reference> <Reference Include="System.Web.Http"> <HintPath>..\packages\Microsoft.AspNet.WebApi.Core.5.0.0\lib\net45\System.Web.Http.dll</HintPath> </Reference> <Reference Include="System.Web.Http.WebHost"> <HintPath>..\packages\Microsoft.AspNet.WebApi.WebHost.5.0.0\lib\net45\System.Web.Http.WebHost.dll</HintPath> </Reference> </ItemGroup> <ItemGroup> <Content Include="Global.asax" /> <Content Include="Web.config" /> </ItemGroup> <ItemGroup> <Compile Include="App_Start\WebApiConfig.cs" /> <Compile Include="Global.asax.cs"> <DependentUpon>Global.asax</DependentUpon> </Compile> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> <Content Include="packages.config" /> </ItemGroup> <ItemGroup> <Folder Include="App_Data\" /> <Folder Include="Controllers\" /> <Folder Include="Models\" /> </ItemGroup> <PropertyGroup> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> </PropertyGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" /> <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> <UseIIS>True</UseIIS> <AutoAssignPort>True</AutoAssignPort> <DevelopmentServerPort>0</DevelopmentServerPort> <DevelopmentServerVPath>/</DevelopmentServerVPath> <IISUrl>http://localhost:1380/</IISUrl> <NTLMAuthentication>False</NTLMAuthentication> <UseCustomServer>False</UseCustomServer> <CustomServerUrl> </CustomServerUrl> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> </WebProjectProperties> </FlavorProperties> </VisualStudio> </ProjectExtensions> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> </Project> MoonExp/Properties/AssemblyInfo.cs
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,35 @@ using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MoonExp")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("HP Inc.")] [assembly: AssemblyProduct("MoonExp")] [assembly: AssemblyCopyright("Copyright © HP Inc. 2023")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("6910da44-ff01-4590-966b-3f537d6c79af")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] MoonExp/Web.config
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,21 @@ <?xml version="1.0" encoding="utf-8"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=301879 --> <configuration> <appSettings> </appSettings> <system.web> <compilation debug="true" targetFramework="4.5.2" /> <httpRuntime targetFramework="4.5.2" /> </system.web> <system.webServer> <handlers> <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <remove name="OPTIONSVerbHandler" /> <remove name="TRACEVerbHandler" /> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> </system.webServer> </configuration> MoonExp/packages.config
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="Microsoft.AspNet.WebApi" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.Client" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.Client.zh-Hans" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.Core" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.Core.zh-Hans" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.WebHost" version="5.0.0" targetFramework="net452" /> <package id="Microsoft.AspNet.WebApi.WebHost.zh-Hans" version="5.0.0" targetFramework="net452" /> <package id="Newtonsoft.Json" version="5.0.6" targetFramework="net452" /> </packages>