开发完成空托入库,码盘入库
This commit is contained in:
commit
f6545e1135
BIN
.vs/ProjectEvaluation/wmsmobileserve.metadata.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/wmsmobileserve.metadata.v9.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/wmsmobileserve.projects.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/wmsmobileserve.projects.v9.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/wmsmobileserve.strings.v9.bin
Normal file
BIN
.vs/ProjectEvaluation/wmsmobileserve.strings.v9.bin
Normal file
Binary file not shown.
BIN
.vs/WmsMobileServe/DesignTimeBuild/.dtbcache.v2
Normal file
BIN
.vs/WmsMobileServe/DesignTimeBuild/.dtbcache.v2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
994
.vs/WmsMobileServe/config/applicationhost.config
Normal file
994
.vs/WmsMobileServe/config/applicationhost.config
Normal file
|
|
@ -0,0 +1,994 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
IIS configuration sections.
|
||||||
|
|
||||||
|
For schema documentation, see
|
||||||
|
%IIS_BIN%\config\schema\IIS_schema.xml.
|
||||||
|
|
||||||
|
Please make a backup of this file before making any changes to it.
|
||||||
|
|
||||||
|
NOTE: The following environment variables are available to be used
|
||||||
|
within this file and are understood by the IIS Express.
|
||||||
|
|
||||||
|
%IIS_USER_HOME% - The IIS Express home directory for the user
|
||||||
|
%IIS_SITES_HOME% - The default home directory for sites
|
||||||
|
%IIS_BIN% - The location of the IIS Express binaries
|
||||||
|
%SYSTEMDRIVE% - The drive letter of %IIS_BIN%
|
||||||
|
|
||||||
|
-->
|
||||||
|
<configuration>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
The <configSections> section controls the registration of sections.
|
||||||
|
Section is the basic unit of deployment, locking, searching and
|
||||||
|
containment for configuration settings.
|
||||||
|
|
||||||
|
Every section belongs to one section group.
|
||||||
|
A section group is a container of logically-related sections.
|
||||||
|
|
||||||
|
Sections cannot be nested.
|
||||||
|
Section groups may be nested.
|
||||||
|
|
||||||
|
<section
|
||||||
|
name="" [Required, Collection Key] [XML name of the section]
|
||||||
|
allowDefinition="Everywhere" [MachineOnly|MachineToApplication|AppHostOnly|Everywhere] [Level where it can be set]
|
||||||
|
overrideModeDefault="Allow" [Allow|Deny] [Default delegation mode]
|
||||||
|
allowLocation="true" [true|false] [Allowed in location tags]
|
||||||
|
/>
|
||||||
|
|
||||||
|
The recommended way to unlock sections is by using a location tag:
|
||||||
|
<location path="Default Web Site" overrideMode="Allow">
|
||||||
|
<system.webServer>
|
||||||
|
<asp />
|
||||||
|
</system.webServer>
|
||||||
|
</location>
|
||||||
|
|
||||||
|
-->
|
||||||
|
<configSections>
|
||||||
|
<sectionGroup name="system.applicationHost">
|
||||||
|
<section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="customMetadata" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="listenerAdapters" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="log" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="serviceAutoStartProviders" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="sites" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="webLimits" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
</sectionGroup>
|
||||||
|
<sectionGroup name="system.webServer">
|
||||||
|
<section name="asp" overrideModeDefault="Deny" />
|
||||||
|
<section name="caching" overrideModeDefault="Allow" />
|
||||||
|
<section name="cgi" overrideModeDefault="Deny" />
|
||||||
|
<section name="defaultDocument" overrideModeDefault="Allow" />
|
||||||
|
<section name="directoryBrowse" overrideModeDefault="Allow" />
|
||||||
|
<section name="fastCgi" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="globalModules" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="handlers" overrideModeDefault="Deny" />
|
||||||
|
<section name="httpCompression" overrideModeDefault="Allow" allowDefinition="Everywhere" />
|
||||||
|
<section name="httpErrors" overrideModeDefault="Allow" />
|
||||||
|
<section name="httpLogging" overrideModeDefault="Deny" />
|
||||||
|
<section name="httpProtocol" overrideModeDefault="Allow" />
|
||||||
|
<section name="httpRedirect" overrideModeDefault="Allow" />
|
||||||
|
<section name="httpTracing" overrideModeDefault="Deny" />
|
||||||
|
<section name="isapiFilters" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
|
||||||
|
<section name="modules" allowDefinition="MachineToApplication" overrideModeDefault="Deny" />
|
||||||
|
<section name="applicationInitialization" allowDefinition="MachineToApplication" overrideModeDefault="Allow" />
|
||||||
|
<section name="odbcLogging" overrideModeDefault="Deny" />
|
||||||
|
<sectionGroup name="security">
|
||||||
|
<section name="access" overrideModeDefault="Deny" />
|
||||||
|
<section name="applicationDependencies" overrideModeDefault="Deny" />
|
||||||
|
<sectionGroup name="authentication">
|
||||||
|
<section name="anonymousAuthentication" overrideModeDefault="Deny" />
|
||||||
|
<section name="basicAuthentication" overrideModeDefault="Deny" />
|
||||||
|
<section name="clientCertificateMappingAuthentication" overrideModeDefault="Deny" />
|
||||||
|
<section name="digestAuthentication" overrideModeDefault="Deny" />
|
||||||
|
<section name="iisClientCertificateMappingAuthentication" overrideModeDefault="Deny" />
|
||||||
|
<section name="windowsAuthentication" overrideModeDefault="Deny" />
|
||||||
|
</sectionGroup>
|
||||||
|
<section name="authorization" overrideModeDefault="Allow" />
|
||||||
|
<section name="ipSecurity" overrideModeDefault="Deny" />
|
||||||
|
<section name="dynamicIpSecurity" overrideModeDefault="Deny" />
|
||||||
|
<section name="isapiCgiRestriction" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
|
||||||
|
<section name="requestFiltering" overrideModeDefault="Allow" />
|
||||||
|
</sectionGroup>
|
||||||
|
<section name="serverRuntime" overrideModeDefault="Deny" />
|
||||||
|
<section name="serverSideInclude" overrideModeDefault="Deny" />
|
||||||
|
<section name="staticContent" overrideModeDefault="Allow" />
|
||||||
|
<sectionGroup name="tracing">
|
||||||
|
<section name="traceFailedRequests" overrideModeDefault="Allow" />
|
||||||
|
<section name="traceProviderDefinitions" overrideModeDefault="Deny" />
|
||||||
|
</sectionGroup>
|
||||||
|
<section name="urlCompression" overrideModeDefault="Allow" />
|
||||||
|
<section name="validation" overrideModeDefault="Allow" />
|
||||||
|
<sectionGroup name="webdav">
|
||||||
|
<section name="globalSettings" overrideModeDefault="Deny" />
|
||||||
|
<section name="authoring" overrideModeDefault="Deny" />
|
||||||
|
<section name="authoringRules" overrideModeDefault="Deny" />
|
||||||
|
</sectionGroup>
|
||||||
|
<sectionGroup name="rewrite">
|
||||||
|
<section name="allowedServerVariables" overrideModeDefault="Deny" />
|
||||||
|
<section name="rules" overrideModeDefault="Allow" />
|
||||||
|
<section name="outboundRules" overrideModeDefault="Allow" />
|
||||||
|
<section name="globalRules" overrideModeDefault="Deny" allowDefinition="AppHostOnly" />
|
||||||
|
<section name="providers" overrideModeDefault="Allow" />
|
||||||
|
<section name="rewriteMaps" overrideModeDefault="Allow" />
|
||||||
|
</sectionGroup>
|
||||||
|
<section name="webSocket" overrideModeDefault="Deny" />
|
||||||
|
<section name="aspNetCore" overrideModeDefault="Allow" />
|
||||||
|
</sectionGroup>
|
||||||
|
</configSections>
|
||||||
|
<configProtectedData>
|
||||||
|
<providers>
|
||||||
|
<add name="IISWASOnlyRsaProvider" type="" description="Uses RsaCryptoServiceProvider to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useMachineContainer="true" useOAEP="false" />
|
||||||
|
<add name="AesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisConfigurationKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAA/HKxkz6alrlAPez0IUgujj/6k3WxCDriHp6jvpv3yEZmo7h6SMzGLxo4mTrIQVHSkB7tmElHKfUFTzE2BWF7nFWHY6Z6qmGBauFzwJMwESjril7Gjz69RBFH259HQ6aRDq9Xfx7U7H4HtdmnKNqGjgl/hwPQBGeIlWiDh+sYv3vKB0QU971tjX6H2B+9armlnC8UOuA6JYMDMI/VLLL16sng0fWAy5JYe0YVABVjiAWDW264RZW9Tr1Oax4qHZKg+SdjULxeOc2YmpX+d0yeITo1HkPF1hN1gHpIPIUDo05ilHUNfR3OkjVCIQK4cFKCq1s8NH+y+13MxUC4Fn1AlQ==" />
|
||||||
|
<add name="IISWASOnlyAesProvider" type="Microsoft.ApplicationHost.AesProtectedConfigurationProvider" description="Uses an AES session key to encrypt and decrypt" keyContainerName="iisWasKey" cspProviderName="" useOAEP="false" useMachineContainer="true" sessionKey="AQIAAA5mAAAApAAALmU8lTC+v2qtfQiiiquvvLpUQqKLEXs+jSKoWCM/uPhyB++k4dwug19mGidNK5FYiWK2KYE1yhjVJcbp12E98Q0R2nT7eBiCMY2JairxQ591rqABK7keGaIjwH7PwGzSpILl3RJ4YFvJ/7ZXEJxeDZIjW8ZxWVXx+/VyHs9U3WguLEkgMUX3jrxJi8LouxaIVPJAv/YQ1ZCWs8zImitxX/C/7o7yaIxznfsN5nGQzQfpUDPeby99aw2zPVTtZI2LaWIBON8guABvZ6JtJVDWmfdK6sodbnwdZkr6/Z2rfvamT1dC1SpQrGG7ulR/f9/GXvCaW10ZVKxekBF/CYlNMg==" />
|
||||||
|
</providers>
|
||||||
|
</configProtectedData>
|
||||||
|
<system.applicationHost>
|
||||||
|
<applicationPools>
|
||||||
|
<add name="Clr4IntegratedAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
|
||||||
|
<add name="Clr4ClassicAppPool" managedRuntimeVersion="v4.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
|
||||||
|
<add name="Clr2IntegratedAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Integrated" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
|
||||||
|
<add name="Clr2ClassicAppPool" managedRuntimeVersion="v2.0" managedPipelineMode="Classic" CLRConfigFile="%IIS_USER_HOME%\config\aspnet.config" autoStart="true" />
|
||||||
|
<add name="UnmanagedClassicAppPool" managedRuntimeVersion="" managedPipelineMode="Classic" autoStart="true" />
|
||||||
|
<add name="WmsMobileServe AppPool" managedRuntimeVersion="" />
|
||||||
|
<applicationPoolDefaults managedRuntimeVersion="v4.0">
|
||||||
|
<processModel loadUserProfile="true" setProfileEnvironment="false" />
|
||||||
|
</applicationPoolDefaults>
|
||||||
|
</applicationPools>
|
||||||
|
<!--
|
||||||
|
|
||||||
|
The <listenerAdapters> section defines the protocols with which the
|
||||||
|
Windows Process Activation Service (WAS) binds.
|
||||||
|
|
||||||
|
-->
|
||||||
|
<listenerAdapters>
|
||||||
|
<add name="http" />
|
||||||
|
</listenerAdapters>
|
||||||
|
<sites>
|
||||||
|
<site name="WebSite1" id="1" serverAutoStart="true">
|
||||||
|
<application path="/">
|
||||||
|
<virtualDirectory path="/" physicalPath="%IIS_SITES_HOME%\WebSite1" />
|
||||||
|
</application>
|
||||||
|
<bindings>
|
||||||
|
<binding protocol="http" bindingInformation=":8080:localhost" />
|
||||||
|
</bindings>
|
||||||
|
</site>
|
||||||
|
<site name="WmsMobileServe" id="2">
|
||||||
|
<application path="/" applicationPool="WmsMobileServe AppPool">
|
||||||
|
<virtualDirectory path="/" physicalPath="F:\A开发项目\A菲达宝开项目\2024-11-3_景旺电子\Application\WmsMobileServe\WmsMobileServe" />
|
||||||
|
</application>
|
||||||
|
<bindings>
|
||||||
|
<binding protocol="http" bindingInformation="*:50960:localhost" />
|
||||||
|
</bindings>
|
||||||
|
</site>
|
||||||
|
<siteDefaults>
|
||||||
|
<!-- To enable logging, please change the below attribute "enabled" to "true" -->
|
||||||
|
<logFile logFormat="W3C" directory="%AppData%\Microsoft\IISExpressLogs" enabled="false" />
|
||||||
|
<traceFailedRequestsLogging directory="%AppData%\Microsoft" enabled="false" maxLogFileSizeKB="1024" />
|
||||||
|
</siteDefaults>
|
||||||
|
<applicationDefaults applicationPool="Clr4IntegratedAppPool" />
|
||||||
|
<virtualDirectoryDefaults allowSubDirConfig="true" />
|
||||||
|
</sites>
|
||||||
|
<webLimits />
|
||||||
|
</system.applicationHost>
|
||||||
|
<system.webServer>
|
||||||
|
<serverRuntime />
|
||||||
|
<asp scriptErrorSentToBrowser="true">
|
||||||
|
<cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" />
|
||||||
|
<limits />
|
||||||
|
</asp>
|
||||||
|
<caching enabled="true" enableKernelCache="true"></caching>
|
||||||
|
<cgi />
|
||||||
|
<defaultDocument enabled="true">
|
||||||
|
<files>
|
||||||
|
<add value="Default.htm" />
|
||||||
|
<add value="Default.asp" />
|
||||||
|
<add value="index.htm" />
|
||||||
|
<add value="index.html" />
|
||||||
|
<add value="iisstart.htm" />
|
||||||
|
<add value="default.aspx" />
|
||||||
|
</files>
|
||||||
|
</defaultDocument>
|
||||||
|
<directoryBrowse enabled="false" />
|
||||||
|
<fastCgi />
|
||||||
|
<!--
|
||||||
|
|
||||||
|
The <globalModules> section defines all native-code modules.
|
||||||
|
To enable a module, specify it in the <modules> section.
|
||||||
|
|
||||||
|
-->
|
||||||
|
<globalModules>
|
||||||
|
<add name="HttpLoggingModule" image="%IIS_BIN%\loghttp.dll" />
|
||||||
|
<add name="UriCacheModule" image="%IIS_BIN%\cachuri.dll" />
|
||||||
|
<add name="TokenCacheModule" image="%IIS_BIN%\cachtokn.dll" />
|
||||||
|
<add name="DynamicCompressionModule" image="%IIS_BIN%\compdyn.dll" />
|
||||||
|
<add name="StaticCompressionModule" image="%IIS_BIN%\compstat.dll" />
|
||||||
|
<add name="DefaultDocumentModule" image="%IIS_BIN%\defdoc.dll" />
|
||||||
|
<add name="DirectoryListingModule" image="%IIS_BIN%\dirlist.dll" />
|
||||||
|
<add name="ProtocolSupportModule" image="%IIS_BIN%\protsup.dll" />
|
||||||
|
<add name="HttpRedirectionModule" image="%IIS_BIN%\redirect.dll" />
|
||||||
|
<add name="ServerSideIncludeModule" image="%IIS_BIN%\iis_ssi.dll" />
|
||||||
|
<add name="StaticFileModule" image="%IIS_BIN%\static.dll" />
|
||||||
|
<add name="AnonymousAuthenticationModule" image="%IIS_BIN%\authanon.dll" />
|
||||||
|
<add name="CertificateMappingAuthenticationModule" image="%IIS_BIN%\authcert.dll" />
|
||||||
|
<add name="UrlAuthorizationModule" image="%IIS_BIN%\urlauthz.dll" />
|
||||||
|
<add name="BasicAuthenticationModule" image="%IIS_BIN%\authbas.dll" />
|
||||||
|
<add name="WindowsAuthenticationModule" image="%IIS_BIN%\authsspi.dll" />
|
||||||
|
<add name="IISCertificateMappingAuthenticationModule" image="%IIS_BIN%\authmap.dll" />
|
||||||
|
<add name="IpRestrictionModule" image="%IIS_BIN%\iprestr.dll" />
|
||||||
|
<add name="DynamicIpRestrictionModule" image="%IIS_BIN%\diprestr.dll" />
|
||||||
|
<add name="RequestFilteringModule" image="%IIS_BIN%\modrqflt.dll" />
|
||||||
|
<add name="CustomLoggingModule" image="%IIS_BIN%\logcust.dll" />
|
||||||
|
<add name="CustomErrorModule" image="%IIS_BIN%\custerr.dll" />
|
||||||
|
<add name="FailedRequestsTracingModule" image="%IIS_BIN%\iisfreb.dll" />
|
||||||
|
<add name="RequestMonitorModule" image="%IIS_BIN%\iisreqs.dll" />
|
||||||
|
<add name="IsapiModule" image="%IIS_BIN%\isapi.dll" />
|
||||||
|
<add name="IsapiFilterModule" image="%IIS_BIN%\filter.dll" />
|
||||||
|
<add name="CgiModule" image="%IIS_BIN%\cgi.dll" />
|
||||||
|
<add name="FastCgiModule" image="%IIS_BIN%\iisfcgi.dll" />
|
||||||
|
<!-- <add name="WebDAVModule" image="%IIS_BIN%\webdav.dll" /> -->
|
||||||
|
<add name="RewriteModule" image="%IIS_BIN%\rewrite.dll" />
|
||||||
|
<add name="ConfigurationValidationModule" image="%IIS_BIN%\validcfg.dll" />
|
||||||
|
<add name="WebSocketModule" image="%IIS_BIN%\iiswsock.dll" />
|
||||||
|
<add name="WebMatrixSupportModule" image="%IIS_BIN%\webmatrixsup.dll" />
|
||||||
|
<add name="ManagedEngine" image="%windir%\Microsoft.NET\Framework\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness32" />
|
||||||
|
<add name="ManagedEngine64" image="%windir%\Microsoft.NET\Framework64\v2.0.50727\webengine.dll" preCondition="integratedMode,runtimeVersionv2.0,bitness64" />
|
||||||
|
<add name="ManagedEngineV4.0_32bit" image="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness32" />
|
||||||
|
<add name="ManagedEngineV4.0_64bit" image="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" preCondition="integratedMode,runtimeVersionv4.0,bitness64" />
|
||||||
|
<add name="ApplicationInitializationModule" image="%IIS_BIN%\warmup.dll" />
|
||||||
|
<add name="AspNetCoreModuleV2" image="%IIS_BIN%\Asp.Net Core Module\V2\aspnetcorev2.dll" />
|
||||||
|
</globalModules>
|
||||||
|
<httpCompression directory="%TEMP%">
|
||||||
|
<scheme name="gzip" dll="%IIS_BIN%\gzip.dll" />
|
||||||
|
<dynamicTypes>
|
||||||
|
<add mimeType="text/*" enabled="true" />
|
||||||
|
<add mimeType="message/*" enabled="true" />
|
||||||
|
<add mimeType="application/x-javascript" enabled="true" />
|
||||||
|
<add mimeType="application/javascript" enabled="true" />
|
||||||
|
<add mimeType="*/*" enabled="false" />
|
||||||
|
</dynamicTypes>
|
||||||
|
<staticTypes>
|
||||||
|
<add mimeType="text/*" enabled="true" />
|
||||||
|
<add mimeType="message/*" enabled="true" />
|
||||||
|
<add mimeType="application/javascript" enabled="true" />
|
||||||
|
<add mimeType="application/atom+xml" enabled="true" />
|
||||||
|
<add mimeType="application/xaml+xml" enabled="true" />
|
||||||
|
<add mimeType="image/svg+xml" enabled="true" />
|
||||||
|
<add mimeType="*/*" enabled="false" />
|
||||||
|
</staticTypes>
|
||||||
|
</httpCompression>
|
||||||
|
<httpErrors lockAttributes="allowAbsolutePathsWhenDelegated,defaultPath">
|
||||||
|
<error statusCode="401" prefixLanguageFilePath="%IIS_BIN%\custerr" path="401.htm" />
|
||||||
|
<error statusCode="403" prefixLanguageFilePath="%IIS_BIN%\custerr" path="403.htm" />
|
||||||
|
<error statusCode="404" prefixLanguageFilePath="%IIS_BIN%\custerr" path="404.htm" />
|
||||||
|
<error statusCode="405" prefixLanguageFilePath="%IIS_BIN%\custerr" path="405.htm" />
|
||||||
|
<error statusCode="406" prefixLanguageFilePath="%IIS_BIN%\custerr" path="406.htm" />
|
||||||
|
<error statusCode="412" prefixLanguageFilePath="%IIS_BIN%\custerr" path="412.htm" />
|
||||||
|
<error statusCode="500" prefixLanguageFilePath="%IIS_BIN%\custerr" path="500.htm" />
|
||||||
|
<error statusCode="501" prefixLanguageFilePath="%IIS_BIN%\custerr" path="501.htm" />
|
||||||
|
<error statusCode="502" prefixLanguageFilePath="%IIS_BIN%\custerr" path="502.htm" />
|
||||||
|
</httpErrors>
|
||||||
|
<httpLogging dontLog="false" />
|
||||||
|
<httpProtocol>
|
||||||
|
<customHeaders>
|
||||||
|
<clear />
|
||||||
|
<add name="X-Powered-By" value="ASP.NET" />
|
||||||
|
</customHeaders>
|
||||||
|
<redirectHeaders>
|
||||||
|
<clear />
|
||||||
|
</redirectHeaders>
|
||||||
|
</httpProtocol>
|
||||||
|
<httpRedirect enabled="false" />
|
||||||
|
<httpTracing />
|
||||||
|
<isapiFilters>
|
||||||
|
<filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv2.0" />
|
||||||
|
<filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv2.0" />
|
||||||
|
<filter name="ASP.Net_2.0_for_v1.1" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="runtimeVersionv1.1" />
|
||||||
|
<filter name="ASP.Net_4.0_32bit" path="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness32,runtimeVersionv4.0" />
|
||||||
|
<filter name="ASP.Net_4.0_64bit" path="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll" enableCache="true" preCondition="bitness64,runtimeVersionv4.0" />
|
||||||
|
</isapiFilters>
|
||||||
|
<odbcLogging />
|
||||||
|
<security>
|
||||||
|
<access sslFlags="None" />
|
||||||
|
<applicationDependencies>
|
||||||
|
<application name="Active Server Pages" groupId="ASP" />
|
||||||
|
</applicationDependencies>
|
||||||
|
<authentication>
|
||||||
|
<anonymousAuthentication enabled="true" userName="" />
|
||||||
|
<basicAuthentication enabled="false" />
|
||||||
|
<clientCertificateMappingAuthentication enabled="false" />
|
||||||
|
<digestAuthentication enabled="false" />
|
||||||
|
<iisClientCertificateMappingAuthentication enabled="false"></iisClientCertificateMappingAuthentication>
|
||||||
|
<windowsAuthentication enabled="false">
|
||||||
|
<providers>
|
||||||
|
<add value="Negotiate" />
|
||||||
|
<add value="NTLM" />
|
||||||
|
</providers>
|
||||||
|
</windowsAuthentication>
|
||||||
|
</authentication>
|
||||||
|
<authorization>
|
||||||
|
<add accessType="Allow" users="*" />
|
||||||
|
</authorization>
|
||||||
|
<ipSecurity allowUnlisted="true" />
|
||||||
|
<isapiCgiRestriction notListedIsapisAllowed="true" notListedCgisAllowed="true">
|
||||||
|
<add path="%windir%\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" />
|
||||||
|
<add path="%windir%\Microsoft.NET\Framework\v4.0.30319\webengine4.dll" allowed="true" groupId="ASP.NET_v4.0" description="ASP.NET_v4.0" />
|
||||||
|
<add path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" />
|
||||||
|
<add path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" allowed="true" groupId="ASP.NET v2.0.50727" description="ASP.NET v2.0.50727" />
|
||||||
|
</isapiCgiRestriction>
|
||||||
|
<requestFiltering>
|
||||||
|
<fileExtensions allowUnlisted="true" applyToWebDAV="true">
|
||||||
|
<add fileExtension=".asa" allowed="false" />
|
||||||
|
<add fileExtension=".asax" allowed="false" />
|
||||||
|
<add fileExtension=".ascx" allowed="false" />
|
||||||
|
<add fileExtension=".master" allowed="false" />
|
||||||
|
<add fileExtension=".skin" allowed="false" />
|
||||||
|
<add fileExtension=".browser" allowed="false" />
|
||||||
|
<add fileExtension=".sitemap" allowed="false" />
|
||||||
|
<add fileExtension=".config" allowed="false" />
|
||||||
|
<add fileExtension=".cs" allowed="false" />
|
||||||
|
<add fileExtension=".csproj" allowed="false" />
|
||||||
|
<add fileExtension=".vb" allowed="false" />
|
||||||
|
<add fileExtension=".vbproj" allowed="false" />
|
||||||
|
<add fileExtension=".webinfo" allowed="false" />
|
||||||
|
<add fileExtension=".licx" allowed="false" />
|
||||||
|
<add fileExtension=".resx" allowed="false" />
|
||||||
|
<add fileExtension=".resources" allowed="false" />
|
||||||
|
<add fileExtension=".mdb" allowed="false" />
|
||||||
|
<add fileExtension=".vjsproj" allowed="false" />
|
||||||
|
<add fileExtension=".java" allowed="false" />
|
||||||
|
<add fileExtension=".jsl" allowed="false" />
|
||||||
|
<add fileExtension=".ldb" allowed="false" />
|
||||||
|
<add fileExtension=".dsdgm" allowed="false" />
|
||||||
|
<add fileExtension=".ssdgm" allowed="false" />
|
||||||
|
<add fileExtension=".lsad" allowed="false" />
|
||||||
|
<add fileExtension=".ssmap" allowed="false" />
|
||||||
|
<add fileExtension=".cd" allowed="false" />
|
||||||
|
<add fileExtension=".dsprototype" allowed="false" />
|
||||||
|
<add fileExtension=".lsaprototype" allowed="false" />
|
||||||
|
<add fileExtension=".sdm" allowed="false" />
|
||||||
|
<add fileExtension=".sdmDocument" allowed="false" />
|
||||||
|
<add fileExtension=".mdf" allowed="false" />
|
||||||
|
<add fileExtension=".ldf" allowed="false" />
|
||||||
|
<add fileExtension=".ad" allowed="false" />
|
||||||
|
<add fileExtension=".dd" allowed="false" />
|
||||||
|
<add fileExtension=".ldd" allowed="false" />
|
||||||
|
<add fileExtension=".sd" allowed="false" />
|
||||||
|
<add fileExtension=".adprototype" allowed="false" />
|
||||||
|
<add fileExtension=".lddprototype" allowed="false" />
|
||||||
|
<add fileExtension=".exclude" allowed="false" />
|
||||||
|
<add fileExtension=".refresh" allowed="false" />
|
||||||
|
<add fileExtension=".compiled" allowed="false" />
|
||||||
|
<add fileExtension=".msgx" allowed="false" />
|
||||||
|
<add fileExtension=".vsdisco" allowed="false" />
|
||||||
|
<add fileExtension=".rules" allowed="false" />
|
||||||
|
</fileExtensions>
|
||||||
|
<verbs allowUnlisted="true" applyToWebDAV="true" />
|
||||||
|
<hiddenSegments applyToWebDAV="true">
|
||||||
|
<add segment="web.config" />
|
||||||
|
<add segment="bin" />
|
||||||
|
<add segment="App_code" />
|
||||||
|
<add segment="App_GlobalResources" />
|
||||||
|
<add segment="App_LocalResources" />
|
||||||
|
<add segment="App_WebReferences" />
|
||||||
|
<add segment="App_Data" />
|
||||||
|
<add segment="App_Browsers" />
|
||||||
|
</hiddenSegments>
|
||||||
|
</requestFiltering>
|
||||||
|
</security>
|
||||||
|
<serverSideInclude ssiExecDisable="false" />
|
||||||
|
<staticContent lockAttributes="isDocFooterFileName">
|
||||||
|
<mimeMap fileExtension=".323" mimeType="text/h323" />
|
||||||
|
<mimeMap fileExtension=".3g2" mimeType="video/3gpp2" />
|
||||||
|
<mimeMap fileExtension=".3gp2" mimeType="video/3gpp2" />
|
||||||
|
<mimeMap fileExtension=".3gp" mimeType="video/3gpp" />
|
||||||
|
<mimeMap fileExtension=".3gpp" mimeType="video/3gpp" />
|
||||||
|
<mimeMap fileExtension=".aac" mimeType="audio/aac" />
|
||||||
|
<mimeMap fileExtension=".aaf" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".aca" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".accdb" mimeType="application/msaccess" />
|
||||||
|
<mimeMap fileExtension=".accde" mimeType="application/msaccess" />
|
||||||
|
<mimeMap fileExtension=".accdt" mimeType="application/msaccess" />
|
||||||
|
<mimeMap fileExtension=".acx" mimeType="application/internet-property-stream" />
|
||||||
|
<mimeMap fileExtension=".adt" mimeType="audio/vnd.dlna.adts" />
|
||||||
|
<mimeMap fileExtension=".adts" mimeType="audio/vnd.dlna.adts" />
|
||||||
|
<mimeMap fileExtension=".afm" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".ai" mimeType="application/postscript" />
|
||||||
|
<mimeMap fileExtension=".aif" mimeType="audio/x-aiff" />
|
||||||
|
<mimeMap fileExtension=".aifc" mimeType="audio/aiff" />
|
||||||
|
<mimeMap fileExtension=".aiff" mimeType="audio/aiff" />
|
||||||
|
<mimeMap fileExtension=".appcache" mimeType="text/cache-manifest" />
|
||||||
|
<mimeMap fileExtension=".application" mimeType="application/x-ms-application" />
|
||||||
|
<mimeMap fileExtension=".art" mimeType="image/x-jg" />
|
||||||
|
<mimeMap fileExtension=".asd" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".asf" mimeType="video/x-ms-asf" />
|
||||||
|
<mimeMap fileExtension=".asi" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".asm" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".asr" mimeType="video/x-ms-asf" />
|
||||||
|
<mimeMap fileExtension=".asx" mimeType="video/x-ms-asf" />
|
||||||
|
<mimeMap fileExtension=".atom" mimeType="application/atom+xml" />
|
||||||
|
<mimeMap fileExtension=".au" mimeType="audio/basic" />
|
||||||
|
<mimeMap fileExtension=".avi" mimeType="video/avi" />
|
||||||
|
<mimeMap fileExtension=".axs" mimeType="application/olescript" />
|
||||||
|
<mimeMap fileExtension=".bas" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".bcpio" mimeType="application/x-bcpio" />
|
||||||
|
<mimeMap fileExtension=".bin" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".bmp" mimeType="image/bmp" />
|
||||||
|
<mimeMap fileExtension=".c" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".cab" mimeType="application/vnd.ms-cab-compressed" />
|
||||||
|
<mimeMap fileExtension=".calx" mimeType="application/vnd.ms-office.calx" />
|
||||||
|
<mimeMap fileExtension=".cat" mimeType="application/vnd.ms-pki.seccat" />
|
||||||
|
<mimeMap fileExtension=".cdf" mimeType="application/x-cdf" />
|
||||||
|
<mimeMap fileExtension=".chm" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".class" mimeType="application/x-java-applet" />
|
||||||
|
<mimeMap fileExtension=".clp" mimeType="application/x-msclip" />
|
||||||
|
<mimeMap fileExtension=".cmx" mimeType="image/x-cmx" />
|
||||||
|
<mimeMap fileExtension=".cnf" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".cod" mimeType="image/cis-cod" />
|
||||||
|
<mimeMap fileExtension=".cpio" mimeType="application/x-cpio" />
|
||||||
|
<mimeMap fileExtension=".cpp" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".crd" mimeType="application/x-mscardfile" />
|
||||||
|
<mimeMap fileExtension=".crl" mimeType="application/pkix-crl" />
|
||||||
|
<mimeMap fileExtension=".crt" mimeType="application/x-x509-ca-cert" />
|
||||||
|
<mimeMap fileExtension=".csh" mimeType="application/x-csh" />
|
||||||
|
<mimeMap fileExtension=".css" mimeType="text/css" />
|
||||||
|
<mimeMap fileExtension=".csv" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".cur" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".dcr" mimeType="application/x-director" />
|
||||||
|
<mimeMap fileExtension=".deploy" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".der" mimeType="application/x-x509-ca-cert" />
|
||||||
|
<mimeMap fileExtension=".dib" mimeType="image/bmp" />
|
||||||
|
<mimeMap fileExtension=".dir" mimeType="application/x-director" />
|
||||||
|
<mimeMap fileExtension=".disco" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".dll" mimeType="application/x-msdownload" />
|
||||||
|
<mimeMap fileExtension=".dll.config" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".dlm" mimeType="text/dlm" />
|
||||||
|
<mimeMap fileExtension=".doc" mimeType="application/msword" />
|
||||||
|
<mimeMap fileExtension=".docm" mimeType="application/vnd.ms-word.document.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".docx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" />
|
||||||
|
<mimeMap fileExtension=".dot" mimeType="application/msword" />
|
||||||
|
<mimeMap fileExtension=".dotm" mimeType="application/vnd.ms-word.template.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".dotx" mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.template" />
|
||||||
|
<mimeMap fileExtension=".dsp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".dtd" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".dvi" mimeType="application/x-dvi" />
|
||||||
|
<mimeMap fileExtension=".dvr-ms" mimeType="video/x-ms-dvr" />
|
||||||
|
<mimeMap fileExtension=".dwf" mimeType="drawing/x-dwf" />
|
||||||
|
<mimeMap fileExtension=".dwp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".dxr" mimeType="application/x-director" />
|
||||||
|
<mimeMap fileExtension=".eml" mimeType="message/rfc822" />
|
||||||
|
<mimeMap fileExtension=".emz" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" />
|
||||||
|
<mimeMap fileExtension=".eps" mimeType="application/postscript" />
|
||||||
|
<mimeMap fileExtension=".esd" mimeType="application/vnd.ms-cab-compressed" />
|
||||||
|
<mimeMap fileExtension=".etx" mimeType="text/x-setext" />
|
||||||
|
<mimeMap fileExtension=".evy" mimeType="application/envoy" />
|
||||||
|
<mimeMap fileExtension=".exe" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".exe.config" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".fdf" mimeType="application/vnd.fdf" />
|
||||||
|
<mimeMap fileExtension=".fif" mimeType="application/fractals" />
|
||||||
|
<mimeMap fileExtension=".fla" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".flr" mimeType="x-world/x-vrml" />
|
||||||
|
<mimeMap fileExtension=".flv" mimeType="video/x-flv" />
|
||||||
|
<mimeMap fileExtension=".gif" mimeType="image/gif" />
|
||||||
|
<mimeMap fileExtension=".glb" mimeType="model/gltf-binary" />
|
||||||
|
<mimeMap fileExtension=".gtar" mimeType="application/x-gtar" />
|
||||||
|
<mimeMap fileExtension=".gz" mimeType="application/x-gzip" />
|
||||||
|
<mimeMap fileExtension=".h" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".hdf" mimeType="application/x-hdf" />
|
||||||
|
<mimeMap fileExtension=".hdml" mimeType="text/x-hdml" />
|
||||||
|
<mimeMap fileExtension=".hhc" mimeType="application/x-oleobject" />
|
||||||
|
<mimeMap fileExtension=".hhk" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".hhp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".hlp" mimeType="application/winhlp" />
|
||||||
|
<mimeMap fileExtension=".hqx" mimeType="application/mac-binhex40" />
|
||||||
|
<mimeMap fileExtension=".hta" mimeType="application/hta" />
|
||||||
|
<mimeMap fileExtension=".htc" mimeType="text/x-component" />
|
||||||
|
<mimeMap fileExtension=".htm" mimeType="text/html" />
|
||||||
|
<mimeMap fileExtension=".html" mimeType="text/html" />
|
||||||
|
<mimeMap fileExtension=".htt" mimeType="text/webviewhtml" />
|
||||||
|
<mimeMap fileExtension=".hxt" mimeType="text/html" />
|
||||||
|
<mimeMap fileExtension=".ico" mimeType="image/x-icon" />
|
||||||
|
<mimeMap fileExtension=".ics" mimeType="text/calendar" />
|
||||||
|
<mimeMap fileExtension=".ief" mimeType="image/ief" />
|
||||||
|
<mimeMap fileExtension=".iii" mimeType="application/x-iphone" />
|
||||||
|
<mimeMap fileExtension=".inf" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".ins" mimeType="application/x-internet-signup" />
|
||||||
|
<mimeMap fileExtension=".isp" mimeType="application/x-internet-signup" />
|
||||||
|
<mimeMap fileExtension=".IVF" mimeType="video/x-ivf" />
|
||||||
|
<mimeMap fileExtension=".jar" mimeType="application/java-archive" />
|
||||||
|
<mimeMap fileExtension=".java" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".jck" mimeType="application/liquidmotion" />
|
||||||
|
<mimeMap fileExtension=".jcz" mimeType="application/liquidmotion" />
|
||||||
|
<mimeMap fileExtension=".jfif" mimeType="image/pjpeg" />
|
||||||
|
<mimeMap fileExtension=".jpb" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".jpe" mimeType="image/jpeg" />
|
||||||
|
<mimeMap fileExtension=".jpeg" mimeType="image/jpeg" />
|
||||||
|
<mimeMap fileExtension=".jpg" mimeType="image/jpeg" />
|
||||||
|
<mimeMap fileExtension=".js" mimeType="application/javascript" />
|
||||||
|
<mimeMap fileExtension=".json" mimeType="application/json" />
|
||||||
|
<mimeMap fileExtension=".jsonld" mimeType="application/ld+json" />
|
||||||
|
<mimeMap fileExtension=".jsx" mimeType="text/jscript" />
|
||||||
|
<mimeMap fileExtension=".latex" mimeType="application/x-latex" />
|
||||||
|
<mimeMap fileExtension=".less" mimeType="text/css" />
|
||||||
|
<mimeMap fileExtension=".lit" mimeType="application/x-ms-reader" />
|
||||||
|
<mimeMap fileExtension=".lpk" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".lsf" mimeType="video/x-la-asf" />
|
||||||
|
<mimeMap fileExtension=".lsx" mimeType="video/x-la-asf" />
|
||||||
|
<mimeMap fileExtension=".lzh" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".m13" mimeType="application/x-msmediaview" />
|
||||||
|
<mimeMap fileExtension=".m14" mimeType="application/x-msmediaview" />
|
||||||
|
<mimeMap fileExtension=".m1v" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".m2ts" mimeType="video/vnd.dlna.mpeg-tts" />
|
||||||
|
<mimeMap fileExtension=".m3u" mimeType="audio/x-mpegurl" />
|
||||||
|
<mimeMap fileExtension=".m4a" mimeType="audio/mp4" />
|
||||||
|
<mimeMap fileExtension=".m4v" mimeType="video/mp4" />
|
||||||
|
<mimeMap fileExtension=".man" mimeType="application/x-troff-man" />
|
||||||
|
<mimeMap fileExtension=".manifest" mimeType="application/x-ms-manifest" />
|
||||||
|
<mimeMap fileExtension=".map" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".mdb" mimeType="application/x-msaccess" />
|
||||||
|
<mimeMap fileExtension=".mdp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".me" mimeType="application/x-troff-me" />
|
||||||
|
<mimeMap fileExtension=".mht" mimeType="message/rfc822" />
|
||||||
|
<mimeMap fileExtension=".mhtml" mimeType="message/rfc822" />
|
||||||
|
<mimeMap fileExtension=".mid" mimeType="audio/mid" />
|
||||||
|
<mimeMap fileExtension=".midi" mimeType="audio/mid" />
|
||||||
|
<mimeMap fileExtension=".mix" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".mmf" mimeType="application/x-smaf" />
|
||||||
|
<mimeMap fileExtension=".mno" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".mny" mimeType="application/x-msmoney" />
|
||||||
|
<mimeMap fileExtension=".mov" mimeType="video/quicktime" />
|
||||||
|
<mimeMap fileExtension=".movie" mimeType="video/x-sgi-movie" />
|
||||||
|
<mimeMap fileExtension=".mp2" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mp3" mimeType="audio/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mp4" mimeType="video/mp4" />
|
||||||
|
<mimeMap fileExtension=".mp4v" mimeType="video/mp4" />
|
||||||
|
<mimeMap fileExtension=".mpa" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mpe" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mpeg" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mpg" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".mpp" mimeType="application/vnd.ms-project" />
|
||||||
|
<mimeMap fileExtension=".mpv2" mimeType="video/mpeg" />
|
||||||
|
<mimeMap fileExtension=".ms" mimeType="application/x-troff-ms" />
|
||||||
|
<mimeMap fileExtension=".msi" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".mso" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".mvb" mimeType="application/x-msmediaview" />
|
||||||
|
<mimeMap fileExtension=".mvc" mimeType="application/x-miva-compiled" />
|
||||||
|
<mimeMap fileExtension=".nc" mimeType="application/x-netcdf" />
|
||||||
|
<mimeMap fileExtension=".nsc" mimeType="video/x-ms-asf" />
|
||||||
|
<mimeMap fileExtension=".nws" mimeType="message/rfc822" />
|
||||||
|
<mimeMap fileExtension=".ocx" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".oda" mimeType="application/oda" />
|
||||||
|
<mimeMap fileExtension=".odc" mimeType="text/x-ms-odc" />
|
||||||
|
<mimeMap fileExtension=".ods" mimeType="application/oleobject" />
|
||||||
|
<mimeMap fileExtension=".oga" mimeType="audio/ogg" />
|
||||||
|
<mimeMap fileExtension=".ogg" mimeType="video/ogg" />
|
||||||
|
<mimeMap fileExtension=".ogv" mimeType="video/ogg" />
|
||||||
|
<mimeMap fileExtension=".one" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".onea" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".onetoc" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".onetoc2" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".onetmp" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".onepkg" mimeType="application/onenote" />
|
||||||
|
<mimeMap fileExtension=".osdx" mimeType="application/opensearchdescription+xml" />
|
||||||
|
<mimeMap fileExtension=".otf" mimeType="font/otf" />
|
||||||
|
<mimeMap fileExtension=".p10" mimeType="application/pkcs10" />
|
||||||
|
<mimeMap fileExtension=".p12" mimeType="application/x-pkcs12" />
|
||||||
|
<mimeMap fileExtension=".p7b" mimeType="application/x-pkcs7-certificates" />
|
||||||
|
<mimeMap fileExtension=".p7c" mimeType="application/pkcs7-mime" />
|
||||||
|
<mimeMap fileExtension=".p7m" mimeType="application/pkcs7-mime" />
|
||||||
|
<mimeMap fileExtension=".p7r" mimeType="application/x-pkcs7-certreqresp" />
|
||||||
|
<mimeMap fileExtension=".p7s" mimeType="application/pkcs7-signature" />
|
||||||
|
<mimeMap fileExtension=".pbm" mimeType="image/x-portable-bitmap" />
|
||||||
|
<mimeMap fileExtension=".pcx" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".pcz" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".pdf" mimeType="application/pdf" />
|
||||||
|
<mimeMap fileExtension=".pfb" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".pfm" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".pfx" mimeType="application/x-pkcs12" />
|
||||||
|
<mimeMap fileExtension=".pgm" mimeType="image/x-portable-graymap" />
|
||||||
|
<mimeMap fileExtension=".pko" mimeType="application/vnd.ms-pki.pko" />
|
||||||
|
<mimeMap fileExtension=".pma" mimeType="application/x-perfmon" />
|
||||||
|
<mimeMap fileExtension=".pmc" mimeType="application/x-perfmon" />
|
||||||
|
<mimeMap fileExtension=".pml" mimeType="application/x-perfmon" />
|
||||||
|
<mimeMap fileExtension=".pmr" mimeType="application/x-perfmon" />
|
||||||
|
<mimeMap fileExtension=".pmw" mimeType="application/x-perfmon" />
|
||||||
|
<mimeMap fileExtension=".png" mimeType="image/png" />
|
||||||
|
<mimeMap fileExtension=".pnm" mimeType="image/x-portable-anymap" />
|
||||||
|
<mimeMap fileExtension=".pnz" mimeType="image/png" />
|
||||||
|
<mimeMap fileExtension=".pot" mimeType="application/vnd.ms-powerpoint" />
|
||||||
|
<mimeMap fileExtension=".potm" mimeType="application/vnd.ms-powerpoint.template.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".potx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.template" />
|
||||||
|
<mimeMap fileExtension=".ppam" mimeType="application/vnd.ms-powerpoint.addin.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".ppm" mimeType="image/x-portable-pixmap" />
|
||||||
|
<mimeMap fileExtension=".pps" mimeType="application/vnd.ms-powerpoint" />
|
||||||
|
<mimeMap fileExtension=".ppsm" mimeType="application/vnd.ms-powerpoint.slideshow.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".ppsx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" />
|
||||||
|
<mimeMap fileExtension=".ppt" mimeType="application/vnd.ms-powerpoint" />
|
||||||
|
<mimeMap fileExtension=".pptm" mimeType="application/vnd.ms-powerpoint.presentation.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".pptx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" />
|
||||||
|
<mimeMap fileExtension=".prf" mimeType="application/pics-rules" />
|
||||||
|
<mimeMap fileExtension=".prm" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".prx" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".ps" mimeType="application/postscript" />
|
||||||
|
<mimeMap fileExtension=".psd" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".psm" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".psp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".pub" mimeType="application/x-mspublisher" />
|
||||||
|
<mimeMap fileExtension=".qt" mimeType="video/quicktime" />
|
||||||
|
<mimeMap fileExtension=".qtl" mimeType="application/x-quicktimeplayer" />
|
||||||
|
<mimeMap fileExtension=".qxd" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".ra" mimeType="audio/x-pn-realaudio" />
|
||||||
|
<mimeMap fileExtension=".ram" mimeType="audio/x-pn-realaudio" />
|
||||||
|
<mimeMap fileExtension=".rar" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".ras" mimeType="image/x-cmu-raster" />
|
||||||
|
<mimeMap fileExtension=".rf" mimeType="image/vnd.rn-realflash" />
|
||||||
|
<mimeMap fileExtension=".rgb" mimeType="image/x-rgb" />
|
||||||
|
<mimeMap fileExtension=".rm" mimeType="application/vnd.rn-realmedia" />
|
||||||
|
<mimeMap fileExtension=".rmi" mimeType="audio/mid" />
|
||||||
|
<mimeMap fileExtension=".roff" mimeType="application/x-troff" />
|
||||||
|
<mimeMap fileExtension=".rpm" mimeType="audio/x-pn-realaudio-plugin" />
|
||||||
|
<mimeMap fileExtension=".rtf" mimeType="application/rtf" />
|
||||||
|
<mimeMap fileExtension=".rtx" mimeType="text/richtext" />
|
||||||
|
<mimeMap fileExtension=".scd" mimeType="application/x-msschedule" />
|
||||||
|
<mimeMap fileExtension=".sct" mimeType="text/scriptlet" />
|
||||||
|
<mimeMap fileExtension=".sea" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".setpay" mimeType="application/set-payment-initiation" />
|
||||||
|
<mimeMap fileExtension=".setreg" mimeType="application/set-registration-initiation" />
|
||||||
|
<mimeMap fileExtension=".sgml" mimeType="text/sgml" />
|
||||||
|
<mimeMap fileExtension=".sh" mimeType="application/x-sh" />
|
||||||
|
<mimeMap fileExtension=".shar" mimeType="application/x-shar" />
|
||||||
|
<mimeMap fileExtension=".sit" mimeType="application/x-stuffit" />
|
||||||
|
<mimeMap fileExtension=".sldm" mimeType="application/vnd.ms-powerpoint.slide.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".sldx" mimeType="application/vnd.openxmlformats-officedocument.presentationml.slide" />
|
||||||
|
<mimeMap fileExtension=".smd" mimeType="audio/x-smd" />
|
||||||
|
<mimeMap fileExtension=".smi" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".smx" mimeType="audio/x-smd" />
|
||||||
|
<mimeMap fileExtension=".smz" mimeType="audio/x-smd" />
|
||||||
|
<mimeMap fileExtension=".snd" mimeType="audio/basic" />
|
||||||
|
<mimeMap fileExtension=".snp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".spc" mimeType="application/x-pkcs7-certificates" />
|
||||||
|
<mimeMap fileExtension=".spl" mimeType="application/futuresplash" />
|
||||||
|
<mimeMap fileExtension=".spx" mimeType="audio/ogg" />
|
||||||
|
<mimeMap fileExtension=".src" mimeType="application/x-wais-source" />
|
||||||
|
<mimeMap fileExtension=".ssm" mimeType="application/streamingmedia" />
|
||||||
|
<mimeMap fileExtension=".sst" mimeType="application/vnd.ms-pki.certstore" />
|
||||||
|
<mimeMap fileExtension=".stl" mimeType="application/vnd.ms-pki.stl" />
|
||||||
|
<mimeMap fileExtension=".sv4cpio" mimeType="application/x-sv4cpio" />
|
||||||
|
<mimeMap fileExtension=".sv4crc" mimeType="application/x-sv4crc" />
|
||||||
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
||||||
|
<mimeMap fileExtension=".svgz" mimeType="image/svg+xml" />
|
||||||
|
<mimeMap fileExtension=".swf" mimeType="application/x-shockwave-flash" />
|
||||||
|
<mimeMap fileExtension=".t" mimeType="application/x-troff" />
|
||||||
|
<mimeMap fileExtension=".tar" mimeType="application/x-tar" />
|
||||||
|
<mimeMap fileExtension=".tcl" mimeType="application/x-tcl" />
|
||||||
|
<mimeMap fileExtension=".tex" mimeType="application/x-tex" />
|
||||||
|
<mimeMap fileExtension=".texi" mimeType="application/x-texinfo" />
|
||||||
|
<mimeMap fileExtension=".texinfo" mimeType="application/x-texinfo" />
|
||||||
|
<mimeMap fileExtension=".tgz" mimeType="application/x-compressed" />
|
||||||
|
<mimeMap fileExtension=".thmx" mimeType="application/vnd.ms-officetheme" />
|
||||||
|
<mimeMap fileExtension=".thn" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".tif" mimeType="image/tiff" />
|
||||||
|
<mimeMap fileExtension=".tiff" mimeType="image/tiff" />
|
||||||
|
<mimeMap fileExtension=".toc" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".tr" mimeType="application/x-troff" />
|
||||||
|
<mimeMap fileExtension=".trm" mimeType="application/x-msterminal" />
|
||||||
|
<mimeMap fileExtension=".ts" mimeType="video/vnd.dlna.mpeg-tts" />
|
||||||
|
<mimeMap fileExtension=".tsv" mimeType="text/tab-separated-values" />
|
||||||
|
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".tts" mimeType="video/vnd.dlna.mpeg-tts" />
|
||||||
|
<mimeMap fileExtension=".txt" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".u32" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".uls" mimeType="text/iuls" />
|
||||||
|
<mimeMap fileExtension=".ustar" mimeType="application/x-ustar" />
|
||||||
|
<mimeMap fileExtension=".vbs" mimeType="text/vbscript" />
|
||||||
|
<mimeMap fileExtension=".vcf" mimeType="text/x-vcard" />
|
||||||
|
<mimeMap fileExtension=".vcs" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".vdx" mimeType="application/vnd.ms-visio.viewer" />
|
||||||
|
<mimeMap fileExtension=".vml" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".vsd" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".vss" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".vst" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".vsto" mimeType="application/x-ms-vsto" />
|
||||||
|
<mimeMap fileExtension=".vsw" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".vsx" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".vtx" mimeType="application/vnd.visio" />
|
||||||
|
<mimeMap fileExtension=".wasm" mimeType="application/wasm" />
|
||||||
|
<mimeMap fileExtension=".wav" mimeType="audio/wav" />
|
||||||
|
<mimeMap fileExtension=".wax" mimeType="audio/x-ms-wax" />
|
||||||
|
<mimeMap fileExtension=".wbmp" mimeType="image/vnd.wap.wbmp" />
|
||||||
|
<mimeMap fileExtension=".wcm" mimeType="application/vnd.ms-works" />
|
||||||
|
<mimeMap fileExtension=".wdb" mimeType="application/vnd.ms-works" />
|
||||||
|
<mimeMap fileExtension=".webm" mimeType="video/webm" />
|
||||||
|
<mimeMap fileExtension=".wks" mimeType="application/vnd.ms-works" />
|
||||||
|
<mimeMap fileExtension=".wm" mimeType="video/x-ms-wm" />
|
||||||
|
<mimeMap fileExtension=".wma" mimeType="audio/x-ms-wma" />
|
||||||
|
<mimeMap fileExtension=".wmd" mimeType="application/x-ms-wmd" />
|
||||||
|
<mimeMap fileExtension=".wmf" mimeType="application/x-msmetafile" />
|
||||||
|
<mimeMap fileExtension=".wml" mimeType="text/vnd.wap.wml" />
|
||||||
|
<mimeMap fileExtension=".wmlc" mimeType="application/vnd.wap.wmlc" />
|
||||||
|
<mimeMap fileExtension=".wmls" mimeType="text/vnd.wap.wmlscript" />
|
||||||
|
<mimeMap fileExtension=".wmlsc" mimeType="application/vnd.wap.wmlscriptc" />
|
||||||
|
<mimeMap fileExtension=".wmp" mimeType="video/x-ms-wmp" />
|
||||||
|
<mimeMap fileExtension=".wmv" mimeType="video/x-ms-wmv" />
|
||||||
|
<mimeMap fileExtension=".wmx" mimeType="video/x-ms-wmx" />
|
||||||
|
<mimeMap fileExtension=".wmz" mimeType="application/x-ms-wmz" />
|
||||||
|
<mimeMap fileExtension=".woff" mimeType="font/x-woff" />
|
||||||
|
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
|
||||||
|
<mimeMap fileExtension=".wps" mimeType="application/vnd.ms-works" />
|
||||||
|
<mimeMap fileExtension=".wri" mimeType="application/x-mswrite" />
|
||||||
|
<mimeMap fileExtension=".wrl" mimeType="x-world/x-vrml" />
|
||||||
|
<mimeMap fileExtension=".wrz" mimeType="x-world/x-vrml" />
|
||||||
|
<mimeMap fileExtension=".wsdl" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".wtv" mimeType="video/x-ms-wtv" />
|
||||||
|
<mimeMap fileExtension=".wvx" mimeType="video/x-ms-wvx" />
|
||||||
|
<mimeMap fileExtension=".x" mimeType="application/directx" />
|
||||||
|
<mimeMap fileExtension=".xaf" mimeType="x-world/x-vrml" />
|
||||||
|
<mimeMap fileExtension=".xaml" mimeType="application/xaml+xml" />
|
||||||
|
<mimeMap fileExtension=".xap" mimeType="application/x-silverlight-app" />
|
||||||
|
<mimeMap fileExtension=".xbap" mimeType="application/x-ms-xbap" />
|
||||||
|
<mimeMap fileExtension=".xbm" mimeType="image/x-xbitmap" />
|
||||||
|
<mimeMap fileExtension=".xdr" mimeType="text/plain" />
|
||||||
|
<mimeMap fileExtension=".xht" mimeType="application/xhtml+xml" />
|
||||||
|
<mimeMap fileExtension=".xhtml" mimeType="application/xhtml+xml" />
|
||||||
|
<mimeMap fileExtension=".xla" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xlam" mimeType="application/vnd.ms-excel.addin.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".xlc" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xlm" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xls" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xlsb" mimeType="application/vnd.ms-excel.sheet.binary.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".xlsm" mimeType="application/vnd.ms-excel.sheet.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".xlsx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" />
|
||||||
|
<mimeMap fileExtension=".xlt" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xltm" mimeType="application/vnd.ms-excel.template.macroEnabled.12" />
|
||||||
|
<mimeMap fileExtension=".xltx" mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.template" />
|
||||||
|
<mimeMap fileExtension=".xlw" mimeType="application/vnd.ms-excel" />
|
||||||
|
<mimeMap fileExtension=".xml" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".xof" mimeType="x-world/x-vrml" />
|
||||||
|
<mimeMap fileExtension=".xpm" mimeType="image/x-xpixmap" />
|
||||||
|
<mimeMap fileExtension=".xps" mimeType="application/vnd.ms-xpsdocument" />
|
||||||
|
<mimeMap fileExtension=".xsd" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".xsf" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".xsl" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".xslt" mimeType="text/xml" />
|
||||||
|
<mimeMap fileExtension=".xsn" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".xtp" mimeType="application/octet-stream" />
|
||||||
|
<mimeMap fileExtension=".xwd" mimeType="image/x-xwindowdump" />
|
||||||
|
<mimeMap fileExtension=".z" mimeType="application/x-compress" />
|
||||||
|
<mimeMap fileExtension=".zip" mimeType="application/x-zip-compressed" />
|
||||||
|
</staticContent>
|
||||||
|
<tracing>
|
||||||
|
<traceFailedRequests>
|
||||||
|
<add path="*">
|
||||||
|
<traceAreas>
|
||||||
|
<add provider="ASP" verbosity="Verbose" />
|
||||||
|
<add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
|
||||||
|
<add provider="ISAPI Extension" verbosity="Verbose" />
|
||||||
|
<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite,WebSocket" verbosity="Verbose" />
|
||||||
|
</traceAreas>
|
||||||
|
<failureDefinitions statusCodes="200-999" />
|
||||||
|
</add>
|
||||||
|
</traceFailedRequests>
|
||||||
|
<traceProviderDefinitions>
|
||||||
|
<add name="WWW Server" guid="{3a2a4e84-4c21-4981-ae10-3fda0d9b0f83}">
|
||||||
|
<areas>
|
||||||
|
<clear />
|
||||||
|
<add name="Authentication" value="2" />
|
||||||
|
<add name="Security" value="4" />
|
||||||
|
<add name="Filter" value="8" />
|
||||||
|
<add name="StaticFile" value="16" />
|
||||||
|
<add name="CGI" value="32" />
|
||||||
|
<add name="Compression" value="64" />
|
||||||
|
<add name="Cache" value="128" />
|
||||||
|
<add name="RequestNotifications" value="256" />
|
||||||
|
<add name="Module" value="512" />
|
||||||
|
<add name="Rewrite" value="1024" />
|
||||||
|
<add name="FastCGI" value="4096" />
|
||||||
|
<add name="WebSocket" value="16384" />
|
||||||
|
</areas>
|
||||||
|
</add>
|
||||||
|
<add name="ASP" guid="{06b94d9a-b15e-456e-a4ef-37c984a2cb4b}">
|
||||||
|
<areas>
|
||||||
|
<clear />
|
||||||
|
</areas>
|
||||||
|
</add>
|
||||||
|
<add name="ISAPI Extension" guid="{a1c2040e-8840-4c31-ba11-9871031a19ea}">
|
||||||
|
<areas>
|
||||||
|
<clear />
|
||||||
|
</areas>
|
||||||
|
</add>
|
||||||
|
<add name="ASPNET" guid="{AFF081FE-0247-4275-9C4E-021F3DC1DA35}">
|
||||||
|
<areas>
|
||||||
|
<add name="Infrastructure" value="1" />
|
||||||
|
<add name="Module" value="2" />
|
||||||
|
<add name="Page" value="4" />
|
||||||
|
<add name="AppServices" value="8" />
|
||||||
|
</areas>
|
||||||
|
</add>
|
||||||
|
</traceProviderDefinitions>
|
||||||
|
</tracing>
|
||||||
|
<urlCompression />
|
||||||
|
<validation />
|
||||||
|
<webdav>
|
||||||
|
<globalSettings>
|
||||||
|
<propertyStores>
|
||||||
|
<add name="webdav_simple_prop" image="%IIS_BIN%\webdav_simple_prop.dll" image32="%IIS_BIN%\webdav_simple_prop.dll" />
|
||||||
|
</propertyStores>
|
||||||
|
<lockStores>
|
||||||
|
<add name="webdav_simple_lock" image="%IIS_BIN%\webdav_simple_lock.dll" image32="%IIS_BIN%\webdav_simple_lock.dll" />
|
||||||
|
</lockStores>
|
||||||
|
</globalSettings>
|
||||||
|
<authoring>
|
||||||
|
<locks enabled="true" lockStore="webdav_simple_lock" />
|
||||||
|
</authoring>
|
||||||
|
<authoringRules />
|
||||||
|
</webdav>
|
||||||
|
<webSocket />
|
||||||
|
<applicationInitialization />
|
||||||
|
</system.webServer>
|
||||||
|
<location path="" overrideMode="Allow">
|
||||||
|
<system.webServer>
|
||||||
|
<modules>
|
||||||
|
<add name="IsapiFilterModule" lockItem="true" />
|
||||||
|
<add name="BasicAuthenticationModule" lockItem="true" />
|
||||||
|
<add name="IsapiModule" lockItem="true" />
|
||||||
|
<add name="HttpLoggingModule" lockItem="true" />
|
||||||
|
<add name="DynamicCompressionModule" lockItem="true" />
|
||||||
|
<add name="StaticCompressionModule" lockItem="true" />
|
||||||
|
<add name="DefaultDocumentModule" lockItem="true" />
|
||||||
|
<add name="DirectoryListingModule" lockItem="true" />
|
||||||
|
<add name="ProtocolSupportModule" lockItem="true" />
|
||||||
|
<add name="HttpRedirectionModule" lockItem="true" />
|
||||||
|
<add name="ServerSideIncludeModule" lockItem="true" />
|
||||||
|
<add name="StaticFileModule" lockItem="true" />
|
||||||
|
<add name="AnonymousAuthenticationModule" lockItem="true" />
|
||||||
|
<add name="CertificateMappingAuthenticationModule" lockItem="true" />
|
||||||
|
<add name="UrlAuthorizationModule" lockItem="true" />
|
||||||
|
<add name="WindowsAuthenticationModule" lockItem="true" />
|
||||||
|
<add name="IISCertificateMappingAuthenticationModule" lockItem="true" />
|
||||||
|
<add name="WebMatrixSupportModule" lockItem="true" />
|
||||||
|
<add name="IpRestrictionModule" lockItem="true" />
|
||||||
|
<add name="DynamicIpRestrictionModule" lockItem="true" />
|
||||||
|
<add name="RequestFilteringModule" lockItem="true" />
|
||||||
|
<add name="CustomLoggingModule" lockItem="true" />
|
||||||
|
<add name="CustomErrorModule" lockItem="true" />
|
||||||
|
<add name="FailedRequestsTracingModule" lockItem="true" />
|
||||||
|
<add name="CgiModule" lockItem="true" />
|
||||||
|
<add name="FastCgiModule" lockItem="true" />
|
||||||
|
<!-- <add name="WebDAVModule" /> -->
|
||||||
|
<add name="RewriteModule" />
|
||||||
|
<add name="OutputCache" type="System.Web.Caching.OutputCacheModule" preCondition="managedHandler" />
|
||||||
|
<add name="Session" type="System.Web.SessionState.SessionStateModule" preCondition="managedHandler" />
|
||||||
|
<add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" preCondition="managedHandler" />
|
||||||
|
<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="managedHandler" />
|
||||||
|
<add name="DefaultAuthentication" type="System.Web.Security.DefaultAuthenticationModule" preCondition="managedHandler" />
|
||||||
|
<add name="RoleManager" type="System.Web.Security.RoleManagerModule" preCondition="managedHandler" />
|
||||||
|
<add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" preCondition="managedHandler" />
|
||||||
|
<add name="FileAuthorization" type="System.Web.Security.FileAuthorizationModule" preCondition="managedHandler" />
|
||||||
|
<add name="AnonymousIdentification" type="System.Web.Security.AnonymousIdentificationModule" preCondition="managedHandler" />
|
||||||
|
<add name="Profile" type="System.Web.Profile.ProfileModule" preCondition="managedHandler" />
|
||||||
|
<add name="UrlMappingsModule" type="System.Web.UrlMappingsModule" preCondition="managedHandler" />
|
||||||
|
<add name="ApplicationInitializationModule" lockItem="true" />
|
||||||
|
<add name="WebSocketModule" lockItem="true" />
|
||||||
|
<add name="ServiceModel-4.0" type="System.ServiceModel.Activation.ServiceHttpModule,System.ServiceModel.Activation,Version=4.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" />
|
||||||
|
<add name="ConfigurationValidationModule" lockItem="true" />
|
||||||
|
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule" preCondition="managedHandler,runtimeVersionv4.0" />
|
||||||
|
<add name="ScriptModule-4.0" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler,runtimeVersionv4.0" />
|
||||||
|
<add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler,runtimeVersionv2.0" />
|
||||||
|
<add name="AspNetCoreModuleV2" />
|
||||||
|
</modules>
|
||||||
|
<handlers accessPolicy="Read, Script">
|
||||||
|
<!-- <add name="WebDAV" path="*" verb="PROPFIND,PROPPATCH,MKCOL,PUT,COPY,DELETE,MOVE,LOCK,UNLOCK" modules="WebDAVModule" resourceType="Unspecified" requireAccess="None" /> -->
|
||||||
|
<add name="AXD-ISAPI-4.0_64bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="PageHandlerFactory-ISAPI-4.0_64bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="SimpleHandlerFactory-ISAPI-4.0_64bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="WebServiceHandlerFactory-ISAPI-4.0_64bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_64bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_64bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="svc-ISAPI-4.0_64bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
|
||||||
|
<add name="rules-ISAPI-4.0_64bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
|
||||||
|
<add name="xoml-ISAPI-4.0_64bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
|
||||||
|
<add name="xamlx-ISAPI-4.0_64bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" />
|
||||||
|
<add name="aspq-ISAPI-4.0_64bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="cshtm-ISAPI-4.0_64bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="cshtml-ISAPI-4.0_64bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="vbhtm-ISAPI-4.0_64bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="vbhtml-ISAPI-4.0_64bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
|
||||||
|
<add name="xoml-Integrated" path="*.xoml" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="xoml-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
|
||||||
|
<add name="rules-Integrated" path="*.rules" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="rules-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
|
||||||
|
<add name="AXD-ISAPI-4.0_32bit" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="PageHandlerFactory-ISAPI-4.0_32bit" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="SimpleHandlerFactory-ISAPI-4.0_32bit" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="WebServiceHandlerFactory-ISAPI-4.0_32bit" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-ISAPI-4.0_32bit" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-ISAPI-4.0_32bit" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="svc-ISAPI-4.0_32bit" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
|
||||||
|
<add name="rules-ISAPI-4.0_32bit" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
|
||||||
|
<add name="xoml-ISAPI-4.0_32bit" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
|
||||||
|
<add name="xamlx-ISAPI-4.0_32bit" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" />
|
||||||
|
<add name="aspq-ISAPI-4.0_32bit" path="*.aspq" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="cshtm-ISAPI-4.0_32bit" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="cshtml-ISAPI-4.0_32bit" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="vbhtm-ISAPI-4.0_32bit" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="vbhtml-ISAPI-4.0_32bit" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="TraceHandler-Integrated-4.0" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="WebAdminHandler-Integrated-4.0" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="AssemblyResourceLoader-Integrated-4.0" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="PageHandlerFactory-Integrated-4.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="SimpleHandlerFactory-Integrated-4.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="WebServiceHandlerFactory-Integrated-4.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-Integrated-4.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-Integrated-4.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="svc-Integrated-4.0" path="*.svc" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="rules-Integrated-4.0" path="*.rules" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="xoml-Integrated-4.0" path="*.xoml" verb="*" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="xamlx-Integrated-4.0" path="*.xamlx" verb="GET,HEAD,POST,DEBUG" type="System.Xaml.Hosting.XamlHttpHandlerFactory, System.Xaml.Hosting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="aspq-Integrated-4.0" path="*.aspq" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="cshtm-Integrated-4.0" path="*.cshtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="cshtml-Integrated-4.0" path="*.cshtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="vbhtm-Integrated-4.0" path="*.vbhtm" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="vbhtml-Integrated-4.0" path="*.vbhtml" verb="GET,HEAD,POST,DEBUG" type="System.Web.HttpForbiddenHandler" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="ScriptHandlerFactoryAppServices-Integrated-4.0" path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="ScriptResourceIntegrated-4.0" path="*ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv4.0" />
|
||||||
|
<add name="ASPClassic" path="*.asp" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" />
|
||||||
|
<add name="SecurityCertificate" path="*.cer" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" />
|
||||||
|
<add name="ISAPI-dll" path="*.dll" verb="*" modules="IsapiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
|
||||||
|
<add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory,System.Web.Services,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory,System.Runtime.Remoting,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089" preCondition="integratedMode,runtimeVersionv2.0" />
|
||||||
|
<add name="AXD-ISAPI-2.0" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="PageHandlerFactory-ISAPI-2.0" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="SimpleHandlerFactory-ISAPI-2.0" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="WebServiceHandlerFactory-ISAPI-2.0" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="svc-ISAPI-2.0-64" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
|
||||||
|
<add name="AXD-ISAPI-2.0-64" path="*.axd" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="PageHandlerFactory-ISAPI-2.0-64" path="*.aspx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="SimpleHandlerFactory-ISAPI-2.0-64" path="*.ashx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="WebServiceHandlerFactory-ISAPI-2.0-64" path="*.asmx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-rem-ISAPI-2.0-64" path="*.rem" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="HttpRemotingHandlerFactory-soap-ISAPI-2.0-64" path="*.soap" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="rules-64-ISAPI-2.0" path="*.rules" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
|
||||||
|
<add name="xoml-64-ISAPI-2.0" path="*.xoml" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv2.0,bitness64" />
|
||||||
|
<add name="CGI-exe" path="*.exe" verb="*" modules="CgiModule" resourceType="File" requireAccess="Execute" allowPathInfo="true" />
|
||||||
|
<add name="SSINC-stm" path="*.stm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" />
|
||||||
|
<add name="SSINC-shtm" path="*.shtm" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" />
|
||||||
|
<add name="SSINC-shtml" path="*.shtml" verb="GET,HEAD,POST" modules="ServerSideIncludeModule" resourceType="File" />
|
||||||
|
<add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />
|
||||||
|
<add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />
|
||||||
|
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
|
||||||
|
<add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
|
||||||
|
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" responseBufferLimit="0" />
|
||||||
|
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
|
||||||
|
</handlers>
|
||||||
|
</system.webServer>
|
||||||
|
</location>
|
||||||
|
<location path="WmsMobileServe" inheritInChildApplications="false">
|
||||||
|
<system.webServer>
|
||||||
|
<modules>
|
||||||
|
<remove name="WebMatrixSupportModule" />
|
||||||
|
</modules>
|
||||||
|
<handlers>
|
||||||
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
|
||||||
|
</handlers>
|
||||||
|
<aspNetCore processPath="%LAUNCHER_PATH%" stdoutLogEnabled="false" hostingModel="InProcess" startupTimeLimit="3600" requestTimeout="23:00:00" />
|
||||||
|
<httpCompression>
|
||||||
|
<dynamicTypes>
|
||||||
|
<add mimeType="text/event-stream" enabled="false" />
|
||||||
|
</dynamicTypes>
|
||||||
|
</httpCompression>
|
||||||
|
</system.webServer>
|
||||||
|
</location>
|
||||||
|
</configuration>
|
||||||
BIN
.vs/WmsMobileServe/v17/.futdcache.v2
Normal file
BIN
.vs/WmsMobileServe/v17/.futdcache.v2
Normal file
Binary file not shown.
BIN
.vs/WmsMobileServe/v17/.suo
Normal file
BIN
.vs/WmsMobileServe/v17/.suo
Normal file
Binary file not shown.
127
.vs/WmsMobileServe/v17/DocumentLayout.backup.json
Normal file
127
.vs/WmsMobileServe/v17/DocumentLayout.backup.json
Normal file
|
|
@ -0,0 +1,127 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 992,
|
||||||
|
"SelectedChildIndex": 6,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:15:0:{57d563b6-44a5-47df-85be-f4199ad6b651}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 4,
|
||||||
|
"Title": "GetGoodsDetailResp.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"ViewState": "AgIAABMAAAAAAAAAAAA5wDAAAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T07:49:03.656Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 3,
|
||||||
|
"Title": "TOnGoodsShelfDao.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T06:47:03.896Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "StockInService.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"ViewState": "AgIAAJYAAAAAAAAAAAAswLwAAAAAAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-27T03:58:09.272Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 2,
|
||||||
|
"Title": "StockInController.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAACsAAAB4AAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-27T02:43:33.699Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DockedWidth": 992,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "BindingVehicleInReq.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"ViewState": "AgIAAD0AAAAAAAAAAAAwwFwAAAAYAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T12:13:17.451Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
127
.vs/WmsMobileServe/v17/DocumentLayout.json
Normal file
127
.vs/WmsMobileServe/v17/DocumentLayout.json
Normal file
|
|
@ -0,0 +1,127 @@
|
||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"WorkspaceRootPath": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\",
|
||||||
|
"Documents": [
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\service\\stockinservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\bindingvehicleinreq.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\controllers\\stockincontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\database\\base\\dao\\tongoodsshelfdao.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"AbsoluteMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|f:\\a\u5F00\u53D1\u9879\u76EE\\a\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\application\\wmsmobileserve\\wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||||
|
"RelativeMoniker": "D:0:0:{EDF77B93-3209-4D19-9BC5-789FBB0960FA}|WmsMobileServe\\WmsMobileServe.csproj|solutionrelative:wmsmobileserve\\apiserve\\mobile\\dto\\getgoodsdetailresp.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"DocumentGroupContainers": [
|
||||||
|
{
|
||||||
|
"Orientation": 0,
|
||||||
|
"VerticalTabListWidth": 256,
|
||||||
|
"DocumentGroups": [
|
||||||
|
{
|
||||||
|
"DockedWidth": 992,
|
||||||
|
"SelectedChildIndex": 6,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:15:0:{57d563b6-44a5-47df-85be-f4199ad6b651}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:129:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Bookmark",
|
||||||
|
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 4,
|
||||||
|
"Title": "GetGoodsDetailResp.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\GetGoodsDetailResp.cs",
|
||||||
|
"ViewState": "AgIAABMAAAAAAAAAAAA5wDAAAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T07:49:03.656Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 3,
|
||||||
|
"Title": "TOnGoodsShelfDao.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\DataBase\\Base\\Dao\\TOnGoodsShelfDao.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAAC8AAAAbAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T06:47:03.896Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 0,
|
||||||
|
"Title": "StockInService.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Service\\StockInService.cs",
|
||||||
|
"ViewState": "AgIAAIoAAAAAAAAAAAAswK4AAAA3AAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-27T03:58:09.272Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 2,
|
||||||
|
"Title": "StockInController.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Controllers\\StockInController.cs",
|
||||||
|
"ViewState": "AgIAAAAAAAAAAAAAAAAAACsAAAB4AAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-27T02:43:33.699Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DockedWidth": 992,
|
||||||
|
"SelectedChildIndex": 0,
|
||||||
|
"Children": [
|
||||||
|
{
|
||||||
|
"$type": "Document",
|
||||||
|
"DocumentIndex": 1,
|
||||||
|
"Title": "BindingVehicleInReq.cs",
|
||||||
|
"DocumentMoniker": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"RelativeDocumentMoniker": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"ToolTip": "F:\\A\u5F00\u53D1\u9879\u76EE\\A\u83F2\u8FBE\u5B9D\u5F00\u9879\u76EE\\2024-11-3_\u666F\u65FA\u7535\u5B50\\Application\\WmsMobileServe\\WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"RelativeToolTip": "WmsMobileServe\\ApiServe\\Mobile\\Dto\\BindingVehicleInReq.cs",
|
||||||
|
"ViewState": "AgIAAD0AAAAAAAAAAAAwwFwAAAAYAAAAAAAAAA==",
|
||||||
|
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||||
|
"WhenOpened": "2024-11-30T12:13:17.451Z",
|
||||||
|
"EditorCaption": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
25
WmsMobileServe.sln
Normal file
25
WmsMobileServe.sln
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.11.35327.3
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WmsMobileServe", "WmsMobileServe\WmsMobileServe.csproj", "{EDF77B93-3209-4D19-9BC5-789FBB0960FA}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{EDF77B93-3209-4D19-9BC5-789FBB0960FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{EDF77B93-3209-4D19-9BC5-789FBB0960FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{EDF77B93-3209-4D19-9BC5-789FBB0960FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{EDF77B93-3209-4D19-9BC5-789FBB0960FA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {E875D27A-E9B8-4F84-A79E-89D977D22178}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
13
WmsMobileServe/.config/dotnet-tools.json
Normal file
13
WmsMobileServe/.config/dotnet-tools.json
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"isRoot": true,
|
||||||
|
"tools": {
|
||||||
|
"dotnet-ef": {
|
||||||
|
"version": "9.0.0",
|
||||||
|
"commands": [
|
||||||
|
"dotnet-ef"
|
||||||
|
],
|
||||||
|
"rollForward": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
WmsMobileServe/Annotation/Component.cs
Normal file
9
WmsMobileServe/Annotation/Component.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
namespace WmsMobileServe.Annotation;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 特性,标记一个类需要被注入
|
||||||
|
/// </summary>
|
||||||
|
[AttributeUsage(AttributeTargets.Class)]
|
||||||
|
public class ComponentAttribute : Attribute
|
||||||
|
{
|
||||||
|
}
|
||||||
44
WmsMobileServe/ApiClient/ApiClientResponseEvent.cs
Normal file
44
WmsMobileServe/ApiClient/ApiClientResponseEvent.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
using WmsMobileServe.Utils.HttpUtils.Entity;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiClient;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 客户端请求的响应后事件
|
||||||
|
/// </summary>
|
||||||
|
public class ApiClientResponseEvent
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 当请求其他系统时触发本方法
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="responseInfo"></param>
|
||||||
|
public static void ApiResponse(ApiResponseInfo responseInfo)
|
||||||
|
{
|
||||||
|
//try
|
||||||
|
//{
|
||||||
|
// // 写日志
|
||||||
|
// //WcsLog.Instance().WriteApiRequestLog(responseInfo.ToString());
|
||||||
|
// // 存库
|
||||||
|
// AppApiRequest insertData = new()
|
||||||
|
// {
|
||||||
|
// RequestId = dataBaseData.GetNewUUID(),
|
||||||
|
// RequestUrl = responseInfo.RequestUrl,
|
||||||
|
// RequestMethod = responseInfo.RequestMethod,
|
||||||
|
// IsSuccess = responseInfo.IsSend ? 1 : 0,
|
||||||
|
// RequestMsg = responseInfo.RequestMsg,
|
||||||
|
// ResponseMsg = responseInfo.ResponseMsg,
|
||||||
|
// RequestTime = responseInfo.RequestTime,
|
||||||
|
// ResponseTime = responseInfo.ResponseTime,
|
||||||
|
// UseTime = responseInfo.UseTime,
|
||||||
|
// ErrMsg = responseInfo.RequestException?.Message,
|
||||||
|
// };
|
||||||
|
// apiRequestDao.Insert(insertData);
|
||||||
|
//}
|
||||||
|
//catch (Exception ex)
|
||||||
|
//{
|
||||||
|
// ConsoleLog.Error($"【异常】写接口日志发生异常,信息:{ex}");
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
17
WmsMobileServe/ApiClient/Mes/Dto/EmptyVehicleInReq.cs
Normal file
17
WmsMobileServe/ApiClient/Mes/Dto/EmptyVehicleInReq.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiClient.Mes.Dto;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 空箱入库
|
||||||
|
/// </summary>
|
||||||
|
public class EmptyVehicleInReq
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 载具号
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("vehicleNo")]
|
||||||
|
public string? VehicleNo { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
14
WmsMobileServe/ApiClient/Mes/Dto/GetOutBoxInfoResp.cs
Normal file
14
WmsMobileServe/ApiClient/Mes/Dto/GetOutBoxInfoResp.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiClient.Mes.Dto;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 请求MES获取箱号的返回值
|
||||||
|
/// </summary>
|
||||||
|
[XmlRoot("string", Namespace = "http://tempuri.org/")]
|
||||||
|
public class GetOutBoxInfoResp
|
||||||
|
{
|
||||||
|
[XmlText]
|
||||||
|
public string? Data { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
37
WmsMobileServe/ApiClient/Mes/MesApiClient.cs
Normal file
37
WmsMobileServe/ApiClient/Mes/MesApiClient.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
using Microsoft.IdentityModel.Tokens;
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
using WmsMobileServe.Utils.HttpUtils;
|
||||||
|
using WmsMobileServe.Utils.HttpUtils.Entity;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiClient.Mes;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 访问 Mes 的 api 客户端
|
||||||
|
/// </summary>
|
||||||
|
[Component]
|
||||||
|
public class MesApiClient : WebApiClient
|
||||||
|
{
|
||||||
|
public MesApiClient()
|
||||||
|
{
|
||||||
|
SetBaseUrl("http://ip:port");
|
||||||
|
SetResponseAction(ApiClientResponseEvent.ApiResponse);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取箱子信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="boxNo"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ApiResponseInfo GetOutBoxInfo(string boxNo)
|
||||||
|
{
|
||||||
|
Dictionary<string, object> request = [];
|
||||||
|
request.Add("pSN", boxNo);
|
||||||
|
return HttpGet(request, "/Camstar/PackStock.asmx/getOutBoxInf");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,46 @@
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using WmsMobileServe.ApiClient.Mes.Dto;
|
||||||
|
using WmsMobileServe.ApiServe.Mobile.Dto;
|
||||||
|
using WmsMobileServe.ApiServe.Mobile.Service;
|
||||||
|
using WmsMobileServe.ApiServe.Mobile.Vo;
|
||||||
|
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiServe.Mobile.Controllers;
|
||||||
|
|
||||||
|
// 入库专用 API
|
||||||
|
|
||||||
|
[Route("api/mobile/stockIn")]
|
||||||
|
[ApiController]
|
||||||
|
public class StockInController(StockInService stockInService) : ControllerBase
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 接口测试
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet("test")]
|
||||||
|
public string ApiTest() => "OK";
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 空箱入库接口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost("emptyVehicleIn")]
|
||||||
|
public MobileApiResponse EmptyVehicleIn([FromBody] EmptyVehicleInReq request) => stockInService.EmptyVehicleIn(request);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 传入箱号获取箱号详细信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet("getGoodsDetail")]
|
||||||
|
public MobileApiResponse<GetGoodsDetailResp> GetGoodsDetail([FromQuery] string? boxNo) => stockInService.GetGoodsDetail(boxNo);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 码盘入库
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpPost("bindingVehicleIn")]
|
||||||
|
public MobileApiResponse BindingVehicleIn([FromBody] BindingVehicleInReq request) => stockInService.BindingVehicleIn(request);
|
||||||
|
|
||||||
|
}
|
||||||
112
WmsMobileServe/ApiServe/Mobile/Dto/BindingVehicleInReq.cs
Normal file
112
WmsMobileServe/ApiServe/Mobile/Dto/BindingVehicleInReq.cs
Normal file
|
|
@ -0,0 +1,112 @@
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiServe.Mobile.Dto;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 码盘完成请求入库的参数
|
||||||
|
/// </summary>
|
||||||
|
public class BindingVehicleInReq
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 载具号
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("vehicleNo")]
|
||||||
|
public string? VehicleNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 入库模式
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 1 -- 直接入库
|
||||||
|
/// 2 -- 去往站台
|
||||||
|
/// </remarks>
|
||||||
|
[JsonPropertyName("taskType")]
|
||||||
|
public int? TaskType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定的物料
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("bindingGoods")]
|
||||||
|
public List<BindingGoodsDetails>? BindingGoodsDetails { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 绑定的物品名称
|
||||||
|
/// </summary>
|
||||||
|
public class BindingGoodsDetails
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 箱号
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("boxNo")]
|
||||||
|
public string? BoxNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 每包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("numPerBox")]
|
||||||
|
public decimal? NumPerBox { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包装数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsNum")]
|
||||||
|
public decimal? GoodsNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("picketNum")]
|
||||||
|
public decimal? PacketNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 零包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("otherNum")]
|
||||||
|
public decimal? OtherNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 产品编码
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsId")]
|
||||||
|
public string? GoodsId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 销售订单
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("saleOrderNo")]
|
||||||
|
public string? SaleOrderNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包装层级
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("packetLevel")]
|
||||||
|
public string? PacketLevel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 周期
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("cycle")]
|
||||||
|
public string? Cycle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 客户销售订单
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("customSaleOrderNo")]
|
||||||
|
public string? CustomSaleOrderNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 子库
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("minorWarehouseId")]
|
||||||
|
public string? MinorWarehouseId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 产品描述
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsDesc")]
|
||||||
|
public string? GoodsDesc { get; set; }
|
||||||
|
}
|
||||||
81
WmsMobileServe/ApiServe/Mobile/Dto/GetGoodsDetailResp.cs
Normal file
81
WmsMobileServe/ApiServe/Mobile/Dto/GetGoodsDetailResp.cs
Normal file
|
|
@ -0,0 +1,81 @@
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiServe.Mobile.Dto;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Mes 返回的物料信息
|
||||||
|
/// </summary>
|
||||||
|
public class GetGoodsDetailResp
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 箱号
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("boxNo")]
|
||||||
|
public string? BoxNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 每包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("numPerBox")]
|
||||||
|
public decimal? NumPerBox { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包装数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsNum")]
|
||||||
|
public decimal? GoodsNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("picketNum")]
|
||||||
|
public decimal? PacketNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 零包数量
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("otherNum")]
|
||||||
|
public decimal? OtherNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 产品编码
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsId")]
|
||||||
|
public string? GoodsId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 销售订单
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("saleOrderNo")]
|
||||||
|
public string? SaleOrderNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 包装层级
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("packetLevel")]
|
||||||
|
public string? PacketLevel { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 周期
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("cycle")]
|
||||||
|
public string? Cycle { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 客户销售订单
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("customSaleOrderNo")]
|
||||||
|
public string? CustomSaleOrderNo { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 字库
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("minorWarehouseId")]
|
||||||
|
public string? MinorWarehouseId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 产品描述
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("goodsDesc")]
|
||||||
|
public string? GoodsDesc { get; set; }
|
||||||
|
}
|
||||||
188
WmsMobileServe/ApiServe/Mobile/Service/StockInService.cs
Normal file
188
WmsMobileServe/ApiServe/Mobile/Service/StockInService.cs
Normal file
|
|
@ -0,0 +1,188 @@
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
using WmsMobileServe.ApiClient.Mes;
|
||||||
|
using WmsMobileServe.ApiClient.Mes.Dto;
|
||||||
|
using WmsMobileServe.ApiServe.Mobile.Dto;
|
||||||
|
using WmsMobileServe.ApiServe.Mobile.Vo;
|
||||||
|
using WmsMobileServe.DataBase.Base.Dao;
|
||||||
|
using WmsMobileServe.DataBase.Base.Po;
|
||||||
|
using WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiServe.Mobile.Service;
|
||||||
|
|
||||||
|
|
||||||
|
[Component]
|
||||||
|
public class StockInService(MesApiClient mesApiClient, TOnGoodsShelfDao onGoodsShelfDao, TMiStockDao miStockDao)
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 空载具入库
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="request"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public MobileApiResponse EmptyVehicleIn(EmptyVehicleInReq request)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(request.VehicleNo)) return MobileApiResponse.Fail("传入的载具号为空");
|
||||||
|
/* 检验载具是否有入库任务 */
|
||||||
|
var stackInRasks = onGoodsShelfDao.SelectWithVehicleNo(request.VehicleNo);
|
||||||
|
if(stackInRasks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||||
|
if(stackInRasks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 存在入库任务,请核实后再试", request.VehicleNo));
|
||||||
|
/* 检验载具是否在库存中 */
|
||||||
|
var stocks = miStockDao.SelectWithVehicleNo(request.VehicleNo);
|
||||||
|
if (stocks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||||
|
if (stocks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 仍在库中,请核实后再试", request.VehicleNo));
|
||||||
|
/* 构建空载具信息插入数据库 */
|
||||||
|
TOnGoodsShelf onGoodsShelf = new()
|
||||||
|
{
|
||||||
|
LotId = UUIDUtils.GetNewUUID2(),
|
||||||
|
GoodsId = "000000",
|
||||||
|
ProviderId = "景旺",
|
||||||
|
LocationId = "",
|
||||||
|
StoNum = 1,
|
||||||
|
AccNum = 1,
|
||||||
|
ShelfNum = 1,
|
||||||
|
StockNum = 0,
|
||||||
|
OnDate = DateTime.Now,
|
||||||
|
OnShelfUserId = "Mobile_Android",
|
||||||
|
StorageId = "-",
|
||||||
|
StorageAreaId = "-",
|
||||||
|
UpGoodsId = UUIDUtils.GetNewUUID2(),
|
||||||
|
GoodsTypeId = "0",
|
||||||
|
StorageMode = "空托入库",
|
||||||
|
ProdictionDate = DateTime.Now,
|
||||||
|
Ctl = request.VehicleNo,
|
||||||
|
BarCode = "-",
|
||||||
|
CustomerId = "景旺",
|
||||||
|
GoodsName = "空载具",
|
||||||
|
Status = "0",
|
||||||
|
Unit = "-",
|
||||||
|
TaskType = "1",
|
||||||
|
GoodsMeasureId = UUIDUtils.GetNewUUID2(),
|
||||||
|
PackingNum = 1,
|
||||||
|
DamageNum = 1,
|
||||||
|
Remark = ""
|
||||||
|
};
|
||||||
|
var insertResult = onGoodsShelfDao.Insert(onGoodsShelf);
|
||||||
|
if (insertResult > 0) return MobileApiResponse.Success(string.Format("空载具:{0} 产生入库任务成功", request.VehicleNo));
|
||||||
|
return MobileApiResponse.Fail(string.Format("空载具:{0} 产生入库任务失败,数据无法插入", request.VehicleNo));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取箱子号对应的信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="boxNo"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public MobileApiResponse<GetGoodsDetailResp> GetGoodsDetail(string? boxNo)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(boxNo)) return MobileApiResponse<GetGoodsDetailResp>.Fail("无法识别的箱子号");
|
||||||
|
/* -------------- 测试 --------------------------- */
|
||||||
|
GetGoodsDetailResp mesGoodsDetailTest = new()
|
||||||
|
{
|
||||||
|
BoxNo = boxNo,
|
||||||
|
NumPerBox = 1,
|
||||||
|
GoodsNum = 23,
|
||||||
|
PacketNum = 44,
|
||||||
|
OtherNum = 12,
|
||||||
|
GoodsId = "000",
|
||||||
|
SaleOrderNo = "sa123",
|
||||||
|
PacketLevel = "1",
|
||||||
|
Cycle = "20天",
|
||||||
|
CustomSaleOrderNo = "Csale1122",
|
||||||
|
MinorWarehouseId = "99",
|
||||||
|
GoodsDesc = "测试物料",
|
||||||
|
};
|
||||||
|
return MobileApiResponse<GetGoodsDetailResp>.Success(data: mesGoodsDetailTest);
|
||||||
|
/* -------------- 测试结束 --------------------------- */
|
||||||
|
var response = mesApiClient.GetOutBoxInfo(boxNo);
|
||||||
|
if (!response.IsSend) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("请求MES货物物料信息失败,异常信息:{0}", response.Exception?.Message));
|
||||||
|
string? responseData = response.ResponseMsg;
|
||||||
|
if (string.IsNullOrEmpty(responseData)) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的信息无法识别,信息:{0}", responseData));
|
||||||
|
var responseDto = XmlUtils.Deserialize<GetOutBoxInfoResp>(responseData);
|
||||||
|
if (responseDto == null) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的信息无法解析,信息:{0}", responseData));
|
||||||
|
string mesData = responseDto.Data ?? "";
|
||||||
|
string[] dataDetail = mesData.Split(':');
|
||||||
|
if (dataDetail.Length < 2) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的信息格式不正确,信息:{0}", responseData));
|
||||||
|
if (dataDetail[0] != "Succ") return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回箱子错误,信息:{0}", responseData));
|
||||||
|
string goodsInfo = dataDetail[1];
|
||||||
|
string[] goodsDetails = goodsInfo.Split("|");
|
||||||
|
if (goodsDetails.Length < 12) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的箱子信息参数数量不足,信息:{0}", goodsDetails));
|
||||||
|
if(goodsDetails[0] != boxNo) return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的箱子号和扫描的箱子号不一致,返回的箱号:{0}", goodsDetails[0]));
|
||||||
|
string numPerBox = goodsDetails[1]; // 每包数量
|
||||||
|
string goodsNum = goodsDetails[2]; // 包装数量
|
||||||
|
string packetNum = goodsDetails[3]; // 包数量
|
||||||
|
string otherNum = goodsDetails[4]; // 零包数量
|
||||||
|
if(numPerBox.IsNotDecimal() || goodsNum.IsNotDecimal() || packetNum.IsNotDecimal() || otherNum.IsNotDecimal())
|
||||||
|
return MobileApiResponse<GetGoodsDetailResp>.Fail(string.Format("MES返回的箱子信息内的数量存在不是数字情况,信息:{0}", goodsDetails));
|
||||||
|
GetGoodsDetailResp mesGoodsDetail = new()
|
||||||
|
{
|
||||||
|
BoxNo = dataDetail[0],
|
||||||
|
NumPerBox = numPerBox.ToDecimal(),
|
||||||
|
GoodsNum = goodsNum.ToDecimal(),
|
||||||
|
PacketNum = packetNum.ToDecimal(),
|
||||||
|
OtherNum = otherNum.ToDecimal(),
|
||||||
|
GoodsId = dataDetail[5],
|
||||||
|
SaleOrderNo = dataDetail[6],
|
||||||
|
PacketLevel = dataDetail[7],
|
||||||
|
Cycle = dataDetail[8],
|
||||||
|
CustomSaleOrderNo = dataDetail[9],
|
||||||
|
MinorWarehouseId = dataDetail[10],
|
||||||
|
GoodsDesc = dataDetail[11],
|
||||||
|
};
|
||||||
|
return MobileApiResponse<GetGoodsDetailResp>.Success(data: mesGoodsDetail);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public MobileApiResponse BindingVehicleIn(BindingVehicleInReq request)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(request.VehicleNo) || request.BindingGoodsDetails == default) return MobileApiResponse.Fail("传入的数据无法识别");
|
||||||
|
if (request.BindingGoodsDetails.Count < 1) return MobileApiResponse.Fail("传入的数据为空");
|
||||||
|
/* 检验载具是否有入库任务 */
|
||||||
|
var stackInRasks = onGoodsShelfDao.SelectWithVehicleNo(request.VehicleNo);
|
||||||
|
if (stackInRasks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||||
|
if (stackInRasks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 存在入库任务,请核实后再试", request.VehicleNo));
|
||||||
|
/* 检验载具是否在库存中 */
|
||||||
|
var stocks = miStockDao.SelectWithVehicleNo(request.VehicleNo);
|
||||||
|
if (stocks == default) return MobileApiResponse.Fail("数据服务异常,请稍后再试");
|
||||||
|
if (stocks.Count > 0) return MobileApiResponse.Fail(string.Format("该载具号:{0} 仍在库中,请核实后再试", request.VehicleNo));
|
||||||
|
/* 构建入库任务 */
|
||||||
|
List<TOnGoodsShelf> onGoodsShelves = []; // 需要入库的任务
|
||||||
|
foreach (var item in request.BindingGoodsDetails)
|
||||||
|
{
|
||||||
|
onGoodsShelves.Add(new()
|
||||||
|
{
|
||||||
|
LotId = UUIDUtils.GetNewUUID2(),
|
||||||
|
GoodsId = item.GoodsId,
|
||||||
|
ProviderId = item.SaleOrderNo,
|
||||||
|
LocationId = "",
|
||||||
|
StoNum = item.OtherNum,
|
||||||
|
AccNum = item.NumPerBox,
|
||||||
|
ShelfNum = item.GoodsNum,
|
||||||
|
StockNum = item.PacketNum,
|
||||||
|
OnDate = DateTime.Now,
|
||||||
|
OnShelfUserId = "Mobile_Android",
|
||||||
|
StorageId = "-",
|
||||||
|
StorageAreaId = item.MinorWarehouseId,
|
||||||
|
UpGoodsId = UUIDUtils.GetNewUUID2(),
|
||||||
|
GoodsTypeId = item.PacketLevel,
|
||||||
|
StorageMode = "码盘入库",
|
||||||
|
ProdictionDate = DateTime.Now,
|
||||||
|
Ctl = request.VehicleNo,
|
||||||
|
BarCode = item.BoxNo,
|
||||||
|
CustomerId = item.CustomSaleOrderNo,
|
||||||
|
GoodsName = item.GoodsDesc,
|
||||||
|
Status = "0",
|
||||||
|
Unit = "-",
|
||||||
|
TaskType = request.TaskType.ToString(),
|
||||||
|
GoodsMeasureId = item.SaleOrderNo,
|
||||||
|
PackingNum = 1,
|
||||||
|
DamageNum = 1,
|
||||||
|
ScaleUnit = item.Cycle,
|
||||||
|
Remark = ""
|
||||||
|
});
|
||||||
|
}
|
||||||
|
var insertResult = onGoodsShelfDao.Insert([.. onGoodsShelves]);
|
||||||
|
if (insertResult > 0) return MobileApiResponse.Success(string.Format("载具:{0} 产生入库任务成功", request.VehicleNo));
|
||||||
|
return MobileApiResponse.Fail(string.Format("载具:{0} 产生入库任务失败,数据无法插入", request.VehicleNo));
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
79
WmsMobileServe/ApiServe/Mobile/Vo/MobileApiResponse.cs
Normal file
79
WmsMobileServe/ApiServe/Mobile/Vo/MobileApiResponse.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.ApiServe.Mobile.Vo;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 移动端接口的响应基础返回类
|
||||||
|
/// </summary>
|
||||||
|
public class MobileApiResponse
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 响应码
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("code")]
|
||||||
|
public int? Code { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 响应消息
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("message")]
|
||||||
|
public string? Message { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成功的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse Success(string message = "SUCCESS") => new() { Code = 200, Message = message };
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据重复的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse Repeat(string message = "DATA_REPEAT") => new() { Code = 201, Message = message };
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 失败的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse Fail(string message = "ERROR") => new() { Code = 400, Message = message };
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 移动端接口的响应带数据返回类
|
||||||
|
/// </summary>
|
||||||
|
public class MobileApiResponse<T> : MobileApiResponse
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 返回数据
|
||||||
|
/// </summary>
|
||||||
|
[JsonPropertyName("data")]
|
||||||
|
public T? Data { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 成功的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse<T> Success(string message = "SUCCESS", T? data = default) => new() { Code = 200, Message = message, Data = data };
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 数据重复的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse<T> Repeat(string message = "DATA_REPEAT", T? data = default) => new() { Code = 201, Message = message, Data = data };
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 失败的响应
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="message"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static MobileApiResponse<T> Fail(string message = "ERROR", T? data = default) => new() { Code = 400, Message = message, Data = data };
|
||||||
|
|
||||||
|
}
|
||||||
20
WmsMobileServe/AppRunning/AutofacModule.cs
Normal file
20
WmsMobileServe/AppRunning/AutofacModule.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
using Autofac;
|
||||||
|
using System.Reflection;
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.AppRunning;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 依赖注入的相关
|
||||||
|
/// </summary>
|
||||||
|
public class AutofacModule : Autofac.Module
|
||||||
|
{
|
||||||
|
protected override void Load(ContainerBuilder builder)
|
||||||
|
{
|
||||||
|
var assembly = Assembly.GetExecutingAssembly();
|
||||||
|
// 注册 Component
|
||||||
|
builder.RegisterAssemblyTypes(assembly)
|
||||||
|
.Where(w => w.GetCustomAttribute(typeof(ComponentAttribute)) != default)
|
||||||
|
.SingleInstance(); // 注入单例
|
||||||
|
}
|
||||||
|
}
|
||||||
39
WmsMobileServe/AppRunning/HostService.cs
Normal file
39
WmsMobileServe/AppRunning/HostService.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
|
||||||
|
namespace WmsMobileServe.AppRunning;
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 程序生命周期
|
||||||
|
/// </summary>
|
||||||
|
public class HostService : IHostedLifecycleService
|
||||||
|
{
|
||||||
|
public Task StartAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task StartedAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task StartingAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task StopAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task StoppedAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task StoppingAsync(CancellationToken cancellationToken)
|
||||||
|
{
|
||||||
|
return Task.CompletedTask;
|
||||||
|
}
|
||||||
|
}
|
||||||
33
WmsMobileServe/DataBase/Base/Dao/TMiStockDao.cs
Normal file
33
WmsMobileServe/DataBase/Base/Dao/TMiStockDao.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
using WmsMobileServe.DataBase.Base.Po;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.DataBase.Base.Dao;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 库存表操作
|
||||||
|
/// </summary>
|
||||||
|
[Component]
|
||||||
|
public class TMiStockDao(DataBaseClient client)
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据载具号查询库存
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="vehicleNo"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public List<TMiStock>? SelectWithVehicleNo(string vehicleNo)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return client.Instance().Queryable<TMiStock>()
|
||||||
|
.Where(w => w.Ctl == vehicleNo).ToList();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_ = ex;
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
57
WmsMobileServe/DataBase/Base/Dao/TOnGoodsShelfDao.cs
Normal file
57
WmsMobileServe/DataBase/Base/Dao/TOnGoodsShelfDao.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
using System.DirectoryServices.Protocols;
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
using WmsMobileServe.DataBase.Base.Po;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.DataBase.Base.Dao;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 入库任务表操作类
|
||||||
|
/// </summary>
|
||||||
|
[Component]
|
||||||
|
public class TOnGoodsShelfDao(DataBaseClient client)
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 插入数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="onGoodsShelfs"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public int Insert(params TOnGoodsShelf[] onGoodsShelfs)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return client.Instance().Insertable(onGoodsShelfs).ExecuteCommand();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_ = ex;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据载具号查询任务
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="vehicleNo"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public List<TOnGoodsShelf>? SelectWithVehicleNo(string vehicleNo)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return client.Instance().Queryable<TOnGoodsShelf>()
|
||||||
|
.Where(w => w.Ctl == vehicleNo).ToList();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_ = ex;
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
26
WmsMobileServe/DataBase/Base/DataBaseClient.cs
Normal file
26
WmsMobileServe/DataBase/Base/DataBaseClient.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
using SqlSugar;
|
||||||
|
using WmsMobileServe.Annotation;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.DataBase.Base;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 基础数据库操作类
|
||||||
|
/// </summary>
|
||||||
|
[Component]
|
||||||
|
public class DataBaseClient
|
||||||
|
{
|
||||||
|
|
||||||
|
private static SqlSugarScope? _instance;
|
||||||
|
|
||||||
|
public SqlSugarScope Instance()
|
||||||
|
{
|
||||||
|
_instance ??= new SqlSugarScope(new ConnectionConfig()
|
||||||
|
{
|
||||||
|
IsAutoCloseConnection = true,
|
||||||
|
ConfigId = "0",
|
||||||
|
DbType = DbType.Oracle,
|
||||||
|
ConnectionString = "Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=120.53.102.2)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ORCL)));User Id=C##JWDZ_WMS;Password=JWDZ_WMS;",
|
||||||
|
});
|
||||||
|
return _instance;
|
||||||
|
}
|
||||||
|
}
|
||||||
29
WmsMobileServe/DataBase/Base/Po/TMiStock.cs
Normal file
29
WmsMobileServe/DataBase/Base/Po/TMiStock.cs
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.DataBase.Base.Po;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 库存表
|
||||||
|
/// </summary>
|
||||||
|
[SugarTable("T_MI_STOCK")]
|
||||||
|
public class TMiStock
|
||||||
|
{
|
||||||
|
|
||||||
|
// ---
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 载具号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "CTL")]
|
||||||
|
public string? Ctl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 库存状态
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STS")]
|
||||||
|
public string? Status { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
200
WmsMobileServe/DataBase/Base/Po/TOnGoodsShelf.cs
Normal file
200
WmsMobileServe/DataBase/Base/Po/TOnGoodsShelf.cs
Normal file
|
|
@ -0,0 +1,200 @@
|
||||||
|
using Microsoft.SqlServer.Server;
|
||||||
|
using SqlSugar;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.DataBase.Base.Po;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 入库任务表
|
||||||
|
/// </summary>
|
||||||
|
[SugarTable("T_ONGOODSSHELF")]
|
||||||
|
public class TOnGoodsShelf
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 入库单号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "LOT_ID", IsPrimaryKey = true)]
|
||||||
|
public string? LotId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 物料编号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "GOODSID")]
|
||||||
|
public string? GoodsId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 货主
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "PROVIDER_ID")]
|
||||||
|
public string? ProviderId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 库位
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "LOCATION_ID")]
|
||||||
|
public string? LocationId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 入库数量
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STO_NUM")]
|
||||||
|
public decimal? StoNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 接收数量
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "ACC_NUM")]
|
||||||
|
public decimal? AccNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上架数量
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "SHELF_NUM")]
|
||||||
|
public decimal? ShelfNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 实际上架数量
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STOCK_NUM")]
|
||||||
|
public decimal? StockNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上架时间
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "ONDATE")]
|
||||||
|
public DateTime? OnDate { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上架人
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "ONSHELFUSERID")]
|
||||||
|
public string? OnShelfUserId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 仓库编号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STORAGE_ID")]
|
||||||
|
public string? StorageId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 库区编号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STORAGE_AREA_ID")]
|
||||||
|
public string? StorageAreaId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上架单号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "UPGOODS_ID")]
|
||||||
|
public string? UpGoodsId { get; set; }
|
||||||
|
|
||||||
|
// HASVOLUME
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 商品类别编号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "GOODS_TYPEID")]
|
||||||
|
public string? GoodsTypeId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 入库类型
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STORAGE_MODE")]
|
||||||
|
public string? StorageMode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 生产日期
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "PRODUCTION_DATE")]
|
||||||
|
public DateTime? ProdictionDate { get; set; }
|
||||||
|
|
||||||
|
// GOODSVOLUME
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 载具号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "CTL")]
|
||||||
|
public string? Ctl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "BARCODE")]
|
||||||
|
public string? BarCode { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 客户编号
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "CUSTOMER_ID")]
|
||||||
|
public string? CustomerId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 物品名称
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "GOODSNAME")]
|
||||||
|
public string? GoodsName { get; set; }
|
||||||
|
|
||||||
|
// PLCID
|
||||||
|
// HIGH
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 状态
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "STATUS")]
|
||||||
|
public string? Status { get; set; }
|
||||||
|
|
||||||
|
// PRODUCLOTID
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 单位
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "UNIT")]
|
||||||
|
public string? Unit { get; set; }
|
||||||
|
|
||||||
|
// BAOZHIQI
|
||||||
|
// WHSELOC
|
||||||
|
// INSTAND
|
||||||
|
// WGH
|
||||||
|
// DECID
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "TASKTYPE")]
|
||||||
|
public string? TaskType { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "GOODS_MEASURE_ID")]
|
||||||
|
public string? GoodsMeasureId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 打包数量
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "PACKING_NUM")]
|
||||||
|
public decimal? PackingNum { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "DAMAGE_NUM")]
|
||||||
|
public decimal? DamageNum { get; set; }
|
||||||
|
|
||||||
|
// ......
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "SCALE_UNIT")]
|
||||||
|
public string? ScaleUnit { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 备注
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnName = "REMARK")]
|
||||||
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
37
WmsMobileServe/Program.cs
Normal file
37
WmsMobileServe/Program.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
|
||||||
|
using System.Text;
|
||||||
|
using Autofac.Extensions.DependencyInjection;
|
||||||
|
using Autofac;
|
||||||
|
using WmsMobileServe.AppRunning;
|
||||||
|
using WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
Console.Title = "WMS后台服务";
|
||||||
|
Console.OutputEncoding = Encoding.UTF8;
|
||||||
|
ConsoleLog.DisbleQuickEditMode();
|
||||||
|
|
||||||
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
builder.Services.AddControllers().AddJsonOptions(options =>
|
||||||
|
{
|
||||||
|
options.JsonSerializerOptions.PropertyNamingPolicy = null; // 修改返回配置,返回原实体类数据
|
||||||
|
});
|
||||||
|
builder.Services.AddHostedService<HostService>();
|
||||||
|
// 添加跨域,允许任何人访问
|
||||||
|
builder.Services.AddCors(options =>
|
||||||
|
{
|
||||||
|
options.AddPolicy("any", policyBuilder =>
|
||||||
|
{
|
||||||
|
policyBuilder.WithOrigins("*").AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
builder.WebHost.UseUrls("http://*:19990");
|
||||||
|
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()); // 使用 autoFac 替换注入容器
|
||||||
|
builder.Host.ConfigureContainer<ContainerBuilder>(builder =>
|
||||||
|
{
|
||||||
|
builder.RegisterModule<AutofacModule>();
|
||||||
|
});
|
||||||
|
|
||||||
|
var app = builder.Build();
|
||||||
|
app.UseCors("any");
|
||||||
|
app.UseAuthorization();
|
||||||
|
app.MapControllers();
|
||||||
|
app.Run();
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<DeleteExistingFiles>true</DeleteExistingFiles>
|
||||||
|
<ExcludeApp_Data>false</ExcludeApp_Data>
|
||||||
|
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
|
||||||
|
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||||
|
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||||
|
<PublishProvider>FileSystem</PublishProvider>
|
||||||
|
<PublishUrl>bin\Release\net8.0\publish\</PublishUrl>
|
||||||
|
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||||
|
<_TargetId>Folder</_TargetId>
|
||||||
|
<SiteUrlToLaunchAfterPublish />
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
|
<PublishSingleFile>true</PublishSingleFile>
|
||||||
|
<ProjectGuid>edf77b93-3209-4d19-9bc5-789fbb0960fa</ProjectGuid>
|
||||||
|
<SelfContained>true</SelfContained>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<_PublishTargetUrl>F:\A开发项目\A菲达宝开项目\2024-11-3_景旺电子\Application\WmsMobileServe\WmsMobileServe\bin\Release\net8.0\publish\</_PublishTargetUrl>
|
||||||
|
<History>True|2024-11-30T10:55:01.7053760Z||;True|2024-11-28T10:34:31.9681134+08:00||;</History>
|
||||||
|
<LastFailureDetails />
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
31
WmsMobileServe/Properties/launchSettings.json
Normal file
31
WmsMobileServe/Properties/launchSettings.json
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||||
|
"iisSettings": {
|
||||||
|
"windowsAuthentication": false,
|
||||||
|
"anonymousAuthentication": true,
|
||||||
|
"iisExpress": {
|
||||||
|
"applicationUrl": "http://localhost:50960",
|
||||||
|
"sslPort": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"profiles": {
|
||||||
|
"http": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"dotnetRunMessages": true,
|
||||||
|
"launchBrowser": true,
|
||||||
|
"launchUrl": "weatherforecast",
|
||||||
|
"applicationUrl": "http://localhost:5134",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"IIS Express": {
|
||||||
|
"commandName": "IISExpress",
|
||||||
|
"launchBrowser": true,
|
||||||
|
"launchUrl": "weatherforecast",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
244
WmsMobileServe/Utils/ConsoleLog.cs
Normal file
244
WmsMobileServe/Utils/ConsoleLog.cs
Normal file
|
|
@ -0,0 +1,244 @@
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出信息
|
||||||
|
/// </summary>
|
||||||
|
public class ConsoleLog
|
||||||
|
{
|
||||||
|
|
||||||
|
private static readonly object _locker = new();
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出提示信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Info(params string[] messages) => Info(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出提示信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Info(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.DarkCyan;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出错误信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Error(params string[] messages) => Error(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出错误信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Error(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出异常信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Exception(params string[] messages) => Exception(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出异常信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Exception(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.DarkRed;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出成功信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Success(params string[] messages) => Success(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出成功信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Success(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.DarkGreen;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出警告信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Warning(params string[] messages) => Warning(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出警告信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Warning(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.DarkYellow;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出蓝色提示信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Tip(params string[] messages) => Tip(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 输出蓝色提示信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Tip(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.Blue;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Tcp 通讯专用
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Tcp(params string[] messages) => Tcp(true, messages);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Tcp 通讯专用
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="isShow"></param>
|
||||||
|
/// <param name="messages"></param>
|
||||||
|
public static void Tcp(bool isShow, params string[] messages)
|
||||||
|
{
|
||||||
|
if (!isShow) return;
|
||||||
|
if (messages.Length == 0) return;
|
||||||
|
DateTime now = DateTime.Now;
|
||||||
|
StringBuilder stringBuilder = new();
|
||||||
|
stringBuilder.AppendLine(now.ToString("yyyy-MM-dd HH:mm:ss:fff"));
|
||||||
|
foreach (string message in messages)
|
||||||
|
{
|
||||||
|
stringBuilder.AppendLine($" -- {message}");
|
||||||
|
}
|
||||||
|
lock (_locker)
|
||||||
|
{
|
||||||
|
Console.ForegroundColor = ConsoleColor.White;
|
||||||
|
Console.Write(stringBuilder.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const int STD_INPUT_HANDLE = -10;
|
||||||
|
const uint ENABLE_QUICK_EDIT_MODE = 0x0040;
|
||||||
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
internal static extern nint GetStdHandle(int hConsoleHandle);
|
||||||
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
internal static extern bool GetConsoleMode(nint hConsoleHandle, out uint mode);
|
||||||
|
[DllImport("kernel32.dll", SetLastError = true)]
|
||||||
|
internal static extern bool SetConsoleMode(nint hConsoleHandle, uint mode);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 禁用快速编辑 ---- 此项会屏蔽控制台输入
|
||||||
|
/// </summary>
|
||||||
|
public static void DisbleQuickEditMode()
|
||||||
|
{
|
||||||
|
nint hStdin = GetStdHandle(STD_INPUT_HANDLE);
|
||||||
|
GetConsoleMode(hStdin, out uint mode);
|
||||||
|
mode &= ~ENABLE_QUICK_EDIT_MODE;
|
||||||
|
SetConsoleMode(hStdin, mode);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
84
WmsMobileServe/Utils/HttpUtils/Entity/ApiResponseInfo.cs
Normal file
84
WmsMobileServe/Utils/HttpUtils/Entity/ApiResponseInfo.cs
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.Utils.HttpUtils.Entity;
|
||||||
|
|
||||||
|
public class ApiResponseInfo
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 请求 URL
|
||||||
|
/// </summary>
|
||||||
|
public string? RequestUrl { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 请求字符串
|
||||||
|
/// </summary>
|
||||||
|
public string? RequestMsg { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 响应字符串
|
||||||
|
/// </summary>
|
||||||
|
public string? ResponseMsg { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 请求时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? RequestTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 响应时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? ResponseTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 是否发送成功
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 注意:这里仅表示服务端有响应
|
||||||
|
/// </remarks>
|
||||||
|
public bool IsSend { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 请求方式
|
||||||
|
/// </summary>
|
||||||
|
public string? RequestMethod { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 请求耗时
|
||||||
|
/// </summary>
|
||||||
|
public double UseTime { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 返回的异常,没有异常返回 null
|
||||||
|
/// </summary>
|
||||||
|
public Exception? Exception { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 重写toString
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public override string ToString()
|
||||||
|
{
|
||||||
|
StringBuilder builder = new();
|
||||||
|
builder.AppendLine($"[请求结果] {IsSend}");
|
||||||
|
builder.AppendLine($"[请求方式] {RequestMethod}");
|
||||||
|
builder.AppendLine($"[请求地址] {RequestUrl}");
|
||||||
|
builder.AppendLine($"[请求信息] {RequestMsg}");
|
||||||
|
builder.AppendLine($"[响应信息] {ResponseMsg}");
|
||||||
|
builder.AppendLine($"[请求时间] {RequestTime}");
|
||||||
|
builder.AppendLine($"[响应时间] {RequestTime}");
|
||||||
|
builder.AppendLine($"[请求耗时] {UseTime} ms");
|
||||||
|
if (Exception != default)
|
||||||
|
{
|
||||||
|
builder.AppendLine($"[异常信息] {Exception.Message}");
|
||||||
|
}
|
||||||
|
return builder.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class ApiResponseInfo<T> : ApiResponseInfo where T : class, new()
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 响应的实体类
|
||||||
|
/// </summary>
|
||||||
|
public T? ResponseEntity { get; set; }
|
||||||
|
}
|
||||||
191
WmsMobileServe/Utils/HttpUtils/WebApiClient.cs
Normal file
191
WmsMobileServe/Utils/HttpUtils/WebApiClient.cs
Normal file
|
|
@ -0,0 +1,191 @@
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Net.Http.Headers;
|
||||||
|
using System.Text;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using WmsMobileServe.Utils.HttpUtils.Entity;
|
||||||
|
|
||||||
|
|
||||||
|
namespace WmsMobileServe.Utils.HttpUtils;
|
||||||
|
|
||||||
|
public class WebApiClient
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* 作者:菻蔃
|
||||||
|
*
|
||||||
|
* 版本时间:2024年5月10日
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
public WebApiClient() { }
|
||||||
|
|
||||||
|
private string? _baseUrl = string.Empty;
|
||||||
|
|
||||||
|
private Action<ApiResponseInfo>? _apiAction;
|
||||||
|
|
||||||
|
public WebApiClient(Action<ApiResponseInfo> apiAction)
|
||||||
|
{
|
||||||
|
_apiAction = apiAction;
|
||||||
|
}
|
||||||
|
|
||||||
|
public WebApiClient(string url, Action<ApiResponseInfo> action)
|
||||||
|
{
|
||||||
|
_baseUrl = url;
|
||||||
|
_apiAction = action;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 设置响应事件,
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="action"></param>
|
||||||
|
public void SetResponseAction(Action<ApiResponseInfo> action)
|
||||||
|
{
|
||||||
|
_apiAction = action;
|
||||||
|
}
|
||||||
|
public void SetBaseUrl(string url)
|
||||||
|
{
|
||||||
|
_baseUrl = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 执行POST请求
|
||||||
|
/// </summary>
|
||||||
|
/// <typeparam name="TRequest"></typeparam>
|
||||||
|
/// <typeparam name="TResponse"></typeparam>
|
||||||
|
/// <param name="requestEntity"></param>
|
||||||
|
/// <param name="method"></param>
|
||||||
|
/// <param name="time"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public ApiResponseInfo<TResponse> HttpPost<TRequest, TResponse>(TRequest requestEntity, string method = "", int time = 10000, bool executeAction = true) where TRequest : class where TResponse : class, new()
|
||||||
|
{
|
||||||
|
ApiResponseInfo<TResponse> result = new()
|
||||||
|
{
|
||||||
|
RequestMethod = "POST"
|
||||||
|
};
|
||||||
|
string address = _baseUrl + method;
|
||||||
|
Encoding encoding = Encoding.UTF8;
|
||||||
|
Stopwatch sw = new();
|
||||||
|
string sendMes = JsonConvert.SerializeObject(requestEntity);
|
||||||
|
sw.Start();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
HttpContent content = new StringContent(sendMes, encoding, "application/json");
|
||||||
|
HttpClient client = new();
|
||||||
|
client.DefaultRequestHeaders.Accept.Clear();
|
||||||
|
client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
|
||||||
|
client.Timeout = new TimeSpan(0, 0, 0, 0, time);
|
||||||
|
result.RequestTime = DateTime.Now;
|
||||||
|
var requestTask = client.PostAsync(address, content);
|
||||||
|
requestTask.Wait();
|
||||||
|
var responseResult = requestTask.Result;
|
||||||
|
if (responseResult.IsSuccessStatusCode)
|
||||||
|
{
|
||||||
|
var responseRead = responseResult.Content.ReadAsStringAsync();
|
||||||
|
responseRead.Wait();
|
||||||
|
string responseString = responseRead.Result;
|
||||||
|
result.IsSend = true;
|
||||||
|
result.RequestMsg = sendMes;
|
||||||
|
result.RequestUrl = address;
|
||||||
|
result.ResponseMsg = responseString;
|
||||||
|
result.ResponseEntity = JsonConvert.DeserializeObject<TResponse>(responseString);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var responseCode = responseResult.StatusCode;
|
||||||
|
var responseRead = responseResult.Content.ReadAsStringAsync();
|
||||||
|
responseRead.Wait();
|
||||||
|
string responseString = responseRead.Result;
|
||||||
|
result.IsSend = false;
|
||||||
|
result.RequestMsg = sendMes;
|
||||||
|
result.RequestUrl = address;
|
||||||
|
result.Exception = new Exception($"[{responseCode}]{responseString}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
result.IsSend = false;
|
||||||
|
result.RequestMsg = sendMes;
|
||||||
|
result.RequestUrl = address;
|
||||||
|
result.Exception = ex;
|
||||||
|
}
|
||||||
|
result.ResponseTime = DateTime.Now;
|
||||||
|
sw.Stop();
|
||||||
|
result.ResponseTime = DateTime.Now;
|
||||||
|
TimeSpan ts = sw.Elapsed;
|
||||||
|
result.UseTime = ts.TotalMilliseconds;
|
||||||
|
if (executeAction)
|
||||||
|
{
|
||||||
|
_apiAction?.Invoke(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public ApiResponseInfo HttpGet(Dictionary<string, object>? request, string method = "", int time = 10000, bool executeAction = true)
|
||||||
|
{
|
||||||
|
ApiResponseInfo result = new()
|
||||||
|
{
|
||||||
|
RequestMethod = "GET"
|
||||||
|
};
|
||||||
|
Encoding encoding = Encoding.UTF8;
|
||||||
|
string paramString = "";
|
||||||
|
if (request != null)
|
||||||
|
{
|
||||||
|
foreach (var param in request)
|
||||||
|
{
|
||||||
|
paramString += $"{param.Key}={param.Value}";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
string url = _baseUrl + method + $"{(string.IsNullOrEmpty(paramString) ? "" : $"?{paramString}")}";
|
||||||
|
Stopwatch sw = new();
|
||||||
|
sw.Start();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
HttpClient client = new();
|
||||||
|
client.Timeout = new TimeSpan(0, 0, 0, 0, time);
|
||||||
|
result.RequestTime = DateTime.Now;
|
||||||
|
var requestTask = client.GetAsync(url);
|
||||||
|
requestTask.Wait();
|
||||||
|
var responseResult = requestTask.Result;
|
||||||
|
if (responseResult.IsSuccessStatusCode)
|
||||||
|
{
|
||||||
|
var responseRead = responseResult.Content.ReadAsStringAsync();
|
||||||
|
responseRead.Wait();
|
||||||
|
string responseString = responseRead.Result;
|
||||||
|
result.IsSend = true;
|
||||||
|
result.RequestMsg = paramString;
|
||||||
|
result.RequestUrl = url;
|
||||||
|
result.ResponseMsg = responseString;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var responseCode = responseResult.StatusCode;
|
||||||
|
var responseRead = responseResult.Content.ReadAsStringAsync();
|
||||||
|
responseRead.Wait();
|
||||||
|
string responseString = responseRead.Result;
|
||||||
|
result.IsSend = false;
|
||||||
|
result.RequestMsg = paramString;
|
||||||
|
result.RequestUrl = url;
|
||||||
|
result.Exception = new Exception($"[{responseCode}]{responseString}");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
result.IsSend = false;
|
||||||
|
result.RequestMsg = paramString;
|
||||||
|
result.RequestUrl = url;
|
||||||
|
result.Exception = ex;
|
||||||
|
}
|
||||||
|
result.ResponseTime = DateTime.Now;
|
||||||
|
sw.Stop();
|
||||||
|
result.ResponseTime = DateTime.Now;
|
||||||
|
TimeSpan ts = sw.Elapsed;
|
||||||
|
result.UseTime = ts.TotalMilliseconds;
|
||||||
|
if (executeAction)
|
||||||
|
{
|
||||||
|
_apiAction?.Invoke(result);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
44
WmsMobileServe/Utils/StringUtils.cs
Normal file
44
WmsMobileServe/Utils/StringUtils.cs
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
public static class StringUtils
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 判断一个字符串是不是 decimal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsDecimal(this string? value)
|
||||||
|
{
|
||||||
|
if(string.IsNullOrWhiteSpace(value)) return false;
|
||||||
|
return Regex.IsMatch(value, "^\\d+\\.?\\d+$");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 判断一个字符串 是不是 decimal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static bool IsNotDecimal(this string? value)
|
||||||
|
{
|
||||||
|
return !value.IsDecimal();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 将字符串转换为 decimal
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="value"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static decimal? ToDecimal(this string? value)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (!value.IsDecimal()) return default;
|
||||||
|
return Convert.ToDecimal(value);
|
||||||
|
}
|
||||||
|
catch { return default; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
52
WmsMobileServe/Utils/UUIDUtils.cs
Normal file
52
WmsMobileServe/Utils/UUIDUtils.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
namespace WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 唯一识别号工具
|
||||||
|
/// </summary>
|
||||||
|
public class UUIDUtils
|
||||||
|
{
|
||||||
|
|
||||||
|
const string sysId = "009"; // 系统的编号
|
||||||
|
|
||||||
|
#region 返回一个 UUID,以时间戳形式
|
||||||
|
|
||||||
|
private static readonly object getNewUUIDLock2 = new();
|
||||||
|
private static string lastUUID2 = string.Empty;
|
||||||
|
private static string lasTimeTick2 = DateTime.Now.ToString("yyyyMMddHHmmssfff");
|
||||||
|
private static ushort sortUUID2 = 0;
|
||||||
|
/// <summary>
|
||||||
|
/// 返回一个唯一识别号 以时间戳为基础
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
/// <remarks>
|
||||||
|
/// 这方法产生的ID会短一点,但是单位时间内产生的数量较少
|
||||||
|
/// </remarks>
|
||||||
|
public static string GetNewUUID2()
|
||||||
|
{
|
||||||
|
lock (getNewUUIDLock2)
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
string timeTick = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds().ToString();
|
||||||
|
if (timeTick != lasTimeTick2)
|
||||||
|
{
|
||||||
|
lasTimeTick2 = timeTick;
|
||||||
|
sortUUID2 = 0;
|
||||||
|
}
|
||||||
|
string sort = sortUUID2.ToString().PadLeft(3, '0');
|
||||||
|
string newUUID = $"{timeTick}{sysId}{sort}";
|
||||||
|
sortUUID2++;
|
||||||
|
if (sortUUID2 > 900)
|
||||||
|
sortUUID2 = 0;
|
||||||
|
if (newUUID != lastUUID2)
|
||||||
|
{
|
||||||
|
lastUUID2 = newUUID;
|
||||||
|
return newUUID;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
32
WmsMobileServe/Utils/XmlUtils.cs
Normal file
32
WmsMobileServe/Utils/XmlUtils.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
using System.Reflection.PortableExecutable;
|
||||||
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
|
namespace WmsMobileServe.Utils;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// XML 工具类
|
||||||
|
/// </summary>
|
||||||
|
public class XmlUtils
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 格式化xml字符串到实体类
|
||||||
|
/// </summary>
|
||||||
|
/// <typeparam name="T"></typeparam>
|
||||||
|
/// <param name="xmlString"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static T? Deserialize<T>(string xmlString) where T : class
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using StringReader reader = new(xmlString);
|
||||||
|
XmlSerializer xs = new(typeof(T));
|
||||||
|
T? ret = xs.Deserialize(reader) as T;
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
catch { }
|
||||||
|
return default;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
22
WmsMobileServe/WmsMobileServe.csproj
Normal file
22
WmsMobileServe/WmsMobileServe.csproj
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Autofac" Version="8.1.1" />
|
||||||
|
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="10.0.0" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
|
<PackageReference Include="SqlSugarCore" Version="5.1.4.170" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Model\Bo\" />
|
||||||
|
<Folder Include="Model\Po\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
12
WmsMobileServe/WmsMobileServe.csproj.user
Normal file
12
WmsMobileServe/WmsMobileServe.csproj.user
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Controller_SelectedScaffolderID>ApiControllerWithActionsScaffolder</Controller_SelectedScaffolderID>
|
||||||
|
<Controller_SelectedScaffolderCategoryPath>root/Common/Api</Controller_SelectedScaffolderCategoryPath>
|
||||||
|
<ActiveDebugProfile>http</ActiveDebugProfile>
|
||||||
|
<NameOfLastUsedPublishProfile>F:\A开发项目\A菲达宝开项目\2024-11-3_景旺电子\Application\WmsMobileServe\WmsMobileServe\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
8
WmsMobileServe/appsettings.Development.json
Normal file
8
WmsMobileServe/appsettings.Development.json
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
WmsMobileServe/appsettings.json
Normal file
9
WmsMobileServe/appsettings.json
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Autofac.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Autofac.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Azure.Core.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Azure.Core.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Azure.Identity.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Azure.Identity.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/DM.DmProvider.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/DM.DmProvider.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Kdbndp.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Kdbndp.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Data.SqlClient.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Data.Sqlite.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Identity.Client.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Identity.Client.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.SqlServer.Server.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.SqlServer.Server.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Win32.SystemEvents.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Microsoft.Win32.SystemEvents.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/MySqlConnector.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/MySqlConnector.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Newtonsoft.Json.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Npgsql.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Npgsql.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Oracle.ManagedDataAccess.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Oracle.ManagedDataAccess.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/Oscar.Data.SqlClient.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/Oscar.Data.SqlClient.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/SQLitePCLRaw.batteries_v2.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/SQLitePCLRaw.core.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/SqlSugar.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/SqlSugar.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.ClientModel.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.ClientModel.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.DirectoryServices.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.DirectoryServices.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.Drawing.Common.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.Drawing.Common.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.Memory.Data.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.Memory.Data.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.Runtime.Caching.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.Runtime.Caching.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.Security.Permissions.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.Security.Permissions.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/System.Windows.Extensions.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/System.Windows.Extensions.dll
Normal file
Binary file not shown.
1383
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.deps.json
Normal file
1383
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.dll
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.dll
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.exe
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.exe
Normal file
Binary file not shown.
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.pdb
Normal file
BIN
WmsMobileServe/bin/Debug/net8.0/WmsMobileServe.pdb
Normal file
Binary file not shown.
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"frameworks": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configProperties": {
|
||||||
|
"System.GC.Server": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
9
WmsMobileServe/bin/Debug/net8.0/appsettings.json
Normal file
9
WmsMobileServe/bin/Debug/net8.0/appsettings.json
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user