This commit is contained in:
parent
aa76c46459
commit
83af82659c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,973 @@
|
|||
<?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" />
|
||||
<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="DongYingAPI" id="2">
|
||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||
<virtualDirectory path="/" physicalPath="E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DongYingAPI" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:53875:localhost" />
|
||||
<binding protocol="https" bindingInformation="*:44319: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="AspNetCoreModule" image="%IIS_BIN%\aspnetcore.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" />
|
||||
<add mimeType="text/event-stream" 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" />
|
||||
<add name="ANCM" value="65536" />
|
||||
</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="AspNetCoreModule" lockItem="true" />
|
||||
<add name="AspNetCoreModuleV2" lockItem="true" />
|
||||
</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="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="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="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>
|
||||
</configuration>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,179 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* device_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: device_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2024/1/4 16:13:39 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Collections.Generic;
|
||||
using Maticsoft.Common;
|
||||
using DataServer.Model;
|
||||
namespace DataServer.BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// device_data
|
||||
/// </summary>
|
||||
public partial class device_data
|
||||
{
|
||||
private readonly DataServer.DAL.device_data dal=new DataServer.DAL.device_data();
|
||||
public device_data()
|
||||
{}
|
||||
#region BasicMethod
|
||||
/// <summary>
|
||||
/// 是否存在该记录
|
||||
/// </summary>
|
||||
public bool Exists(string DeviceId)
|
||||
{
|
||||
return dal.Exists(DeviceId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加一条数据
|
||||
/// </summary>
|
||||
public bool Add(DataServer.Model.device_data model)
|
||||
{
|
||||
return dal.Add(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新一条数据
|
||||
/// </summary>
|
||||
public bool Update(DataServer.Model.device_data model)
|
||||
{
|
||||
return dal.Update(model);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool Delete(string DeviceId)
|
||||
{
|
||||
|
||||
return dal.Delete(DeviceId);
|
||||
}
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool DeleteList(string DeviceIdlist )
|
||||
{
|
||||
return dal.DeleteList(DeviceIdlist );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataServer.Model.device_data GetModel(string DeviceId)
|
||||
{
|
||||
|
||||
return dal.GetModel(DeviceId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体,从缓存中
|
||||
/// </summary>
|
||||
public DataServer.Model.device_data GetModelByCache(string DeviceId)
|
||||
{
|
||||
|
||||
string CacheKey = "device_dataModel-" + DeviceId;
|
||||
object objModel = Maticsoft.Common.DataCache.GetCache(CacheKey);
|
||||
if (objModel == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
objModel = dal.GetModel(DeviceId);
|
||||
if (objModel != null)
|
||||
{
|
||||
int ModelCache = Maticsoft.Common.ConfigHelper.GetConfigInt("ModelCache");
|
||||
Maticsoft.Common.DataCache.SetCache(CacheKey, objModel, DateTime.Now.AddMinutes(ModelCache), TimeSpan.Zero);
|
||||
}
|
||||
}
|
||||
catch{}
|
||||
}
|
||||
return (DataServer.Model.device_data)objModel;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(string strWhere)
|
||||
{
|
||||
return dal.GetList(strWhere);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public List<DataServer.Model.device_data> GetModelList(string strWhere)
|
||||
{
|
||||
DataSet ds = dal.GetList(strWhere);
|
||||
return DataTableToList(ds.Tables[0]);
|
||||
}
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public List<DataServer.Model.device_data> DataTableToList(DataTable dt)
|
||||
{
|
||||
List<DataServer.Model.device_data> modelList = new List<DataServer.Model.device_data>();
|
||||
int rowsCount = dt.Rows.Count;
|
||||
if (rowsCount > 0)
|
||||
{
|
||||
DataServer.Model.device_data model;
|
||||
for (int n = 0; n < rowsCount; n++)
|
||||
{
|
||||
model = dal.DataRowToModel(dt.Rows[n]);
|
||||
if (model != null)
|
||||
{
|
||||
modelList.Add(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
return modelList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetAllList()
|
||||
{
|
||||
return GetList("");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public int GetRecordCount(string strWhere)
|
||||
{
|
||||
return dal.GetRecordCount(strWhere);
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
|
||||
{
|
||||
return dal.GetListByPage( strWhere, orderby, startIndex, endIndex);
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
//public DataSet GetList(int PageSize,int PageIndex,string strWhere)
|
||||
//{
|
||||
//return dal.GetList(PageSize,PageIndex,strWhere);
|
||||
//}
|
||||
|
||||
#endregion BasicMethod
|
||||
#region ExtensionMethod
|
||||
|
||||
#endregion ExtensionMethod
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,436 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* device_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: device_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2024/1/4 16:13:39 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Text;
|
||||
using MySql.Data.MySqlClient;
|
||||
using Maticsoft.DBUtility;//Please add references
|
||||
namespace DataServer.DAL
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据访问类:device_data
|
||||
/// </summary>
|
||||
public partial class device_data
|
||||
{
|
||||
public device_data()
|
||||
{}
|
||||
#region BasicMethod
|
||||
|
||||
/// <summary>
|
||||
/// 是否存在该记录
|
||||
/// </summary>
|
||||
public bool Exists(string DeviceId)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select count(1) from device_data");
|
||||
strSql.Append(" where DeviceId=@DeviceId ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@DeviceId", MySqlDbType.VarChar,255) };
|
||||
parameters[0].Value = DeviceId;
|
||||
|
||||
return DbHelperMySQL.Exists(strSql.ToString(),parameters);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 增加一条数据
|
||||
/// </summary>
|
||||
public bool Add(DataServer.Model.device_data model)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("insert into device_data(");
|
||||
strSql.Append("DeviceId,DeviceNumber,FloorName,DeviceName,EH,P,Kvar,Ia,Ib,Ic,Ua,Ub,Uc,CreateTime,Reserve1,Reserve2,Reserve3,Reserve4,Reserve5)");
|
||||
strSql.Append(" values (");
|
||||
strSql.Append("@DeviceId,@DeviceNumber,@FloorName,@DeviceName,@EH,@P,@Kvar,@Ia,@Ib,@Ic,@Ua,@Ub,@Uc,@CreateTime,@Reserve1,@Reserve2,@Reserve3,@Reserve4,@Reserve5)");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@DeviceId", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@DeviceNumber", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@FloorName", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@DeviceName", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@EH", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@P", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Kvar", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ia", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ib", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ic", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ua", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ub", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Uc", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@CreateTime", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@Reserve1", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve2", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve3", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve4", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve5", MySqlDbType.VarChar,255)};
|
||||
parameters[0].Value = model.DeviceId;
|
||||
parameters[1].Value = model.DeviceNumber;
|
||||
parameters[2].Value = model.FloorName;
|
||||
parameters[3].Value = model.DeviceName;
|
||||
parameters[4].Value = model.EH;
|
||||
parameters[5].Value = model.P;
|
||||
parameters[6].Value = model.Kvar;
|
||||
parameters[7].Value = model.Ia;
|
||||
parameters[8].Value = model.Ib;
|
||||
parameters[9].Value = model.Ic;
|
||||
parameters[10].Value = model.Ua;
|
||||
parameters[11].Value = model.Ub;
|
||||
parameters[12].Value = model.Uc;
|
||||
parameters[13].Value = model.CreateTime;
|
||||
parameters[14].Value = model.Reserve1;
|
||||
parameters[15].Value = model.Reserve2;
|
||||
parameters[16].Value = model.Reserve3;
|
||||
parameters[17].Value = model.Reserve4;
|
||||
parameters[18].Value = model.Reserve5;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 更新一条数据
|
||||
/// </summary>
|
||||
public bool Update(DataServer.Model.device_data model)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("update device_data set ");
|
||||
strSql.Append("DeviceNumber=@DeviceNumber,");
|
||||
strSql.Append("FloorName=@FloorName,");
|
||||
strSql.Append("DeviceName=@DeviceName,");
|
||||
strSql.Append("EH=@EH,");
|
||||
strSql.Append("P=@P,");
|
||||
strSql.Append("Kvar=@Kvar,");
|
||||
strSql.Append("Ia=@Ia,");
|
||||
strSql.Append("Ib=@Ib,");
|
||||
strSql.Append("Ic=@Ic,");
|
||||
strSql.Append("Ua=@Ua,");
|
||||
strSql.Append("Ub=@Ub,");
|
||||
strSql.Append("Uc=@Uc,");
|
||||
strSql.Append("CreateTime=@CreateTime,");
|
||||
strSql.Append("Reserve1=@Reserve1,");
|
||||
strSql.Append("Reserve2=@Reserve2,");
|
||||
strSql.Append("Reserve3=@Reserve3,");
|
||||
strSql.Append("Reserve4=@Reserve4,");
|
||||
strSql.Append("Reserve5=@Reserve5");
|
||||
strSql.Append(" where DeviceId=@DeviceId ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@DeviceNumber", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@FloorName", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@DeviceName", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@EH", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@P", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Kvar", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ia", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ib", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ic", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ua", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Ub", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@Uc", MySqlDbType.Float,255),
|
||||
new MySqlParameter("@CreateTime", MySqlDbType.DateTime),
|
||||
new MySqlParameter("@Reserve1", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve2", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve3", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve4", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@Reserve5", MySqlDbType.VarChar,255),
|
||||
new MySqlParameter("@DeviceId", MySqlDbType.VarChar,255)};
|
||||
parameters[0].Value = model.DeviceNumber;
|
||||
parameters[1].Value = model.FloorName;
|
||||
parameters[2].Value = model.DeviceName;
|
||||
parameters[3].Value = model.EH;
|
||||
parameters[4].Value = model.P;
|
||||
parameters[5].Value = model.Kvar;
|
||||
parameters[6].Value = model.Ia;
|
||||
parameters[7].Value = model.Ib;
|
||||
parameters[8].Value = model.Ic;
|
||||
parameters[9].Value = model.Ua;
|
||||
parameters[10].Value = model.Ub;
|
||||
parameters[11].Value = model.Uc;
|
||||
parameters[12].Value = model.CreateTime;
|
||||
parameters[13].Value = model.Reserve1;
|
||||
parameters[14].Value = model.Reserve2;
|
||||
parameters[15].Value = model.Reserve3;
|
||||
parameters[16].Value = model.Reserve4;
|
||||
parameters[17].Value = model.Reserve5;
|
||||
parameters[18].Value = model.DeviceId;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 删除一条数据
|
||||
/// </summary>
|
||||
public bool Delete(string DeviceId)
|
||||
{
|
||||
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete from device_data ");
|
||||
strSql.Append(" where DeviceId=@DeviceId ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@DeviceId", MySqlDbType.VarChar,255) };
|
||||
parameters[0].Value = DeviceId;
|
||||
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString(),parameters);
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 批量删除数据
|
||||
/// </summary>
|
||||
public bool DeleteList(string DeviceIdlist )
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("delete from device_data ");
|
||||
strSql.Append(" where DeviceId in ("+DeviceIdlist + ") ");
|
||||
int rows=DbHelperMySQL.ExecuteSql(strSql.ToString());
|
||||
if (rows > 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataServer.Model.device_data GetModel(string DeviceId)
|
||||
{
|
||||
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select DeviceId,DeviceNumber,FloorName,DeviceName,EH,P,Kvar,Ia,Ib,Ic,Ua,Ub,Uc,CreateTime,Reserve1,Reserve2,Reserve3,Reserve4,Reserve5 from device_data ");
|
||||
strSql.Append(" where DeviceId=@DeviceId ");
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@DeviceId", MySqlDbType.VarChar,255) };
|
||||
parameters[0].Value = DeviceId;
|
||||
|
||||
DataServer.Model.device_data model=new DataServer.Model.device_data();
|
||||
DataSet ds=DbHelperMySQL.Query(strSql.ToString(),parameters);
|
||||
if(ds.Tables[0].Rows.Count>0)
|
||||
{
|
||||
return DataRowToModel(ds.Tables[0].Rows[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 得到一个对象实体
|
||||
/// </summary>
|
||||
public DataServer.Model.device_data DataRowToModel(DataRow row)
|
||||
{
|
||||
DataServer.Model.device_data model=new DataServer.Model.device_data();
|
||||
if (row != null)
|
||||
{
|
||||
if(row["DeviceId"]!=null)
|
||||
{
|
||||
model.DeviceId=row["DeviceId"].ToString();
|
||||
}
|
||||
if(row["DeviceNumber"]!=null)
|
||||
{
|
||||
model.DeviceNumber=row["DeviceNumber"].ToString();
|
||||
}
|
||||
if(row["FloorName"]!=null)
|
||||
{
|
||||
model.FloorName=row["FloorName"].ToString();
|
||||
}
|
||||
if(row["DeviceName"]!=null)
|
||||
{
|
||||
model.DeviceName=row["DeviceName"].ToString();
|
||||
}
|
||||
if(row["EH"]!=null && row["EH"].ToString()!="")
|
||||
{
|
||||
model.EH=decimal.Parse(row["EH"].ToString());
|
||||
}
|
||||
if(row["P"]!=null && row["P"].ToString()!="")
|
||||
{
|
||||
model.P=decimal.Parse(row["P"].ToString());
|
||||
}
|
||||
if(row["Kvar"]!=null && row["Kvar"].ToString()!="")
|
||||
{
|
||||
model.Kvar=decimal.Parse(row["Kvar"].ToString());
|
||||
}
|
||||
if(row["Ia"]!=null && row["Ia"].ToString()!="")
|
||||
{
|
||||
model.Ia=decimal.Parse(row["Ia"].ToString());
|
||||
}
|
||||
if(row["Ib"]!=null && row["Ib"].ToString()!="")
|
||||
{
|
||||
model.Ib=decimal.Parse(row["Ib"].ToString());
|
||||
}
|
||||
if(row["Ic"]!=null && row["Ic"].ToString()!="")
|
||||
{
|
||||
model.Ic=decimal.Parse(row["Ic"].ToString());
|
||||
}
|
||||
if(row["Ua"]!=null && row["Ua"].ToString()!="")
|
||||
{
|
||||
model.Ua=decimal.Parse(row["Ua"].ToString());
|
||||
}
|
||||
if(row["Ub"]!=null && row["Ub"].ToString()!="")
|
||||
{
|
||||
model.Ub=decimal.Parse(row["Ub"].ToString());
|
||||
}
|
||||
if(row["Uc"]!=null && row["Uc"].ToString()!="")
|
||||
{
|
||||
model.Uc=decimal.Parse(row["Uc"].ToString());
|
||||
}
|
||||
if(row["CreateTime"]!=null && row["CreateTime"].ToString()!="")
|
||||
{
|
||||
model.CreateTime=DateTime.Parse(row["CreateTime"].ToString());
|
||||
}
|
||||
if(row["Reserve1"]!=null)
|
||||
{
|
||||
model.Reserve1=row["Reserve1"].ToString();
|
||||
}
|
||||
if(row["Reserve2"]!=null)
|
||||
{
|
||||
model.Reserve2=row["Reserve2"].ToString();
|
||||
}
|
||||
if(row["Reserve3"]!=null)
|
||||
{
|
||||
model.Reserve3=row["Reserve3"].ToString();
|
||||
}
|
||||
if(row["Reserve4"]!=null)
|
||||
{
|
||||
model.Reserve4=row["Reserve4"].ToString();
|
||||
}
|
||||
if(row["Reserve5"]!=null)
|
||||
{
|
||||
model.Reserve5=row["Reserve5"].ToString();
|
||||
}
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select DeviceId,DeviceNumber,FloorName,DeviceName,EH,P,Kvar,Ia,Ib,Ic,Ua,Ub,Uc,CreateTime,Reserve1,Reserve2,Reserve3,Reserve4,Reserve5 ");
|
||||
strSql.Append(" FROM device_data ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
return DbHelperMySQL.Query(strSql.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取记录总数
|
||||
/// </summary>
|
||||
public int GetRecordCount(string strWhere)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("select count(1) FROM device_data ");
|
||||
if(strWhere.Trim()!="")
|
||||
{
|
||||
strSql.Append(" where "+strWhere);
|
||||
}
|
||||
object obj = DbHelperSQL.GetSingle(strSql.ToString());
|
||||
if (obj == null)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
return Convert.ToInt32(obj);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetListByPage(string strWhere, string orderby, int startIndex, int endIndex)
|
||||
{
|
||||
StringBuilder strSql=new StringBuilder();
|
||||
strSql.Append("SELECT * FROM ( ");
|
||||
strSql.Append(" SELECT ROW_NUMBER() OVER (");
|
||||
if (!string.IsNullOrEmpty(orderby.Trim()))
|
||||
{
|
||||
strSql.Append("order by T." + orderby );
|
||||
}
|
||||
else
|
||||
{
|
||||
strSql.Append("order by T.DeviceId desc");
|
||||
}
|
||||
strSql.Append(")AS Row, T.* from device_data T ");
|
||||
if (!string.IsNullOrEmpty(strWhere.Trim()))
|
||||
{
|
||||
strSql.Append(" WHERE " + strWhere);
|
||||
}
|
||||
strSql.Append(" ) TT");
|
||||
strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
|
||||
return DbHelperMySQL.Query(strSql.ToString());
|
||||
}
|
||||
|
||||
/*
|
||||
/// <summary>
|
||||
/// 分页获取数据列表
|
||||
/// </summary>
|
||||
public DataSet GetList(int PageSize,int PageIndex,string strWhere)
|
||||
{
|
||||
MySqlParameter[] parameters = {
|
||||
new MySqlParameter("@tblName", MySqlDbType.VarChar, 255),
|
||||
new MySqlParameter("@fldName", MySqlDbType.VarChar, 255),
|
||||
new MySqlParameter("@PageSize", MySqlDbType.Int32),
|
||||
new MySqlParameter("@PageIndex", MySqlDbType.Int32),
|
||||
new MySqlParameter("@IsReCount", MySqlDbType.Bit),
|
||||
new MySqlParameter("@OrderType", MySqlDbType.Bit),
|
||||
new MySqlParameter("@strWhere", MySqlDbType.VarChar,1000),
|
||||
};
|
||||
parameters[0].Value = "device_data";
|
||||
parameters[1].Value = "DeviceId";
|
||||
parameters[2].Value = PageSize;
|
||||
parameters[3].Value = PageIndex;
|
||||
parameters[4].Value = 0;
|
||||
parameters[5].Value = 0;
|
||||
parameters[6].Value = strWhere;
|
||||
return DbHelperMySQL.RunProcedure("UP_GetRecordByPage",parameters,"ds");
|
||||
}*/
|
||||
|
||||
#endregion BasicMethod
|
||||
#region ExtensionMethod
|
||||
|
||||
#endregion ExtensionMethod
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{B6C5DD72-4209-4326-976E-C553C06FD867}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>DataServer</RootNamespace>
|
||||
<AssemblyName>DataServer</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Maticsoft.Common">
|
||||
<HintPath>..\packages\Maticsoft.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Maticsoft.DBUtility">
|
||||
<HintPath>..\packages\Maticsoft.DBUtility.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MySql.Data">
|
||||
<HintPath>..\packages\MySql.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="api\get_abutment.cs" />
|
||||
<Compile Include="api\get_air_conditioner.cs" />
|
||||
<Compile Include="api\get_carbon_emission.cs" />
|
||||
<Compile Include="api\get_carbon_flux.cs" />
|
||||
<Compile Include="api\get_cell_ranking.cs" />
|
||||
<Compile Include="api\get_chamber_load.cs" />
|
||||
<Compile Include="api\get_current_voltage.cs" />
|
||||
<Compile Include="api\get_distribution_power.cs" />
|
||||
<Compile Include="api\get_electrical_ranking.cs" />
|
||||
<Compile Include="api\get_electricity_consumption.cs" />
|
||||
<Compile Include="api\get_electric_equipment.cs" />
|
||||
<Compile Include="api\get_electric_quantity.cs" />
|
||||
<Compile Include="api\get_equipment_monitoring.cs" />
|
||||
<Compile Include="api\get_essential_information.cs" />
|
||||
<Compile Include="api\get_general_catalogue.cs" />
|
||||
<Compile Include="api\get_information.cs" />
|
||||
<Compile Include="api\get_lighting_load.cs" />
|
||||
<Compile Include="api\get_power_load.cs" />
|
||||
<Compile Include="api\get_realtime_load.cs" />
|
||||
<Compile Include="api\get_room_electricity.cs" />
|
||||
<Compile Include="api\select_switching_name.cs" />
|
||||
<Compile Include="api\select_switching_room.cs" />
|
||||
<Compile Include="BLL\device_data.cs" />
|
||||
<Compile Include="DAL\device_data.cs" />
|
||||
<Compile Include="api\get_realtime_data.cs" />
|
||||
<Compile Include="Model\device_data.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,204 @@
|
|||
/** 版本信息模板在安装目录下,可自行修改。
|
||||
* device_data.cs
|
||||
*
|
||||
* 功 能: N/A
|
||||
* 类 名: device_data
|
||||
*
|
||||
* Ver 变更日期 负责人 变更内容
|
||||
* ───────────────────────────────────
|
||||
* V0.01 2024/1/4 16:13:39 N/A 初版
|
||||
*
|
||||
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
|
||||
*┌──────────────────────────────────┐
|
||||
*│ 此技术信息为本公司机密信息,未经本公司书面同意禁止向第三方披露. │
|
||||
*│ 版权所有:动软卓越(北京)科技有限公司 │
|
||||
*└──────────────────────────────────┘
|
||||
*/
|
||||
using System;
|
||||
namespace DataServer.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// device_data:实体类(属性说明自动提取数据库字段的描述信息)
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public partial class device_data
|
||||
{
|
||||
public device_data()
|
||||
{}
|
||||
#region Model
|
||||
private string _deviceid;
|
||||
private string _devicenumber;
|
||||
private string _floorname;
|
||||
private string _devicename;
|
||||
private decimal? _eh;
|
||||
private decimal? _p;
|
||||
private decimal? _kvar;
|
||||
private decimal? _ia;
|
||||
private decimal? _ib;
|
||||
private decimal? _ic;
|
||||
private decimal? _ua;
|
||||
private decimal? _ub;
|
||||
private decimal? _uc;
|
||||
private DateTime? _createtime;
|
||||
private string _reserve1;
|
||||
private string _reserve2;
|
||||
private string _reserve3;
|
||||
private string _reserve4;
|
||||
private string _reserve5;
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string DeviceId
|
||||
{
|
||||
set{ _deviceid=value;}
|
||||
get{return _deviceid;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string DeviceNumber
|
||||
{
|
||||
set{ _devicenumber=value;}
|
||||
get{return _devicenumber;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string FloorName
|
||||
{
|
||||
set{ _floorname=value;}
|
||||
get{return _floorname;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string DeviceName
|
||||
{
|
||||
set{ _devicename=value;}
|
||||
get{return _devicename;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? EH
|
||||
{
|
||||
set{ _eh=value;}
|
||||
get{return _eh;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? P
|
||||
{
|
||||
set{ _p=value;}
|
||||
get{return _p;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Kvar
|
||||
{
|
||||
set{ _kvar=value;}
|
||||
get{return _kvar;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Ia
|
||||
{
|
||||
set{ _ia=value;}
|
||||
get{return _ia;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Ib
|
||||
{
|
||||
set{ _ib=value;}
|
||||
get{return _ib;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Ic
|
||||
{
|
||||
set{ _ic=value;}
|
||||
get{return _ic;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Ua
|
||||
{
|
||||
set{ _ua=value;}
|
||||
get{return _ua;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Ub
|
||||
{
|
||||
set{ _ub=value;}
|
||||
get{return _ub;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public decimal? Uc
|
||||
{
|
||||
set{ _uc=value;}
|
||||
get{return _uc;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public DateTime? CreateTime
|
||||
{
|
||||
set{ _createtime=value;}
|
||||
get{return _createtime;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Reserve1
|
||||
{
|
||||
set{ _reserve1=value;}
|
||||
get{return _reserve1;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Reserve2
|
||||
{
|
||||
set{ _reserve2=value;}
|
||||
get{return _reserve2;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Reserve3
|
||||
{
|
||||
set{ _reserve3=value;}
|
||||
get{return _reserve3;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Reserve4
|
||||
{
|
||||
set{ _reserve4=value;}
|
||||
get{return _reserve4;}
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public string Reserve5
|
||||
{
|
||||
set{ _reserve5=value;}
|
||||
get{return _reserve5;}
|
||||
}
|
||||
#endregion Model
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("DataServer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("DataServer")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("b6c5dd72-4209-4326-976e-c553c06fd867")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_abutment
|
||||
{
|
||||
public List<devs> devs { get; set; }
|
||||
public string pKey { get; set; }
|
||||
public string sn { get; set; }
|
||||
public int ts { get; set; }
|
||||
public string ver { get; set; }
|
||||
}
|
||||
public class devs
|
||||
{
|
||||
public List<datas> d { get; set; }
|
||||
public string dev { get; set; }
|
||||
}
|
||||
public class datas
|
||||
{
|
||||
public string m { get; set; }
|
||||
public int ts { get; set; }
|
||||
public decimal? v { get; set; }
|
||||
public int dq { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_air_conditioner
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<air_conditionerData> data { get; set; }
|
||||
}
|
||||
public class air_conditionerData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_carbon_emission
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<carbon_emissionData> data { get; set; }
|
||||
}
|
||||
public class carbon_emissionData
|
||||
{
|
||||
public string time { get; set; }
|
||||
/// <summary>
|
||||
/// 一次循环
|
||||
/// </summary>
|
||||
public decimal? PrimaryCirculation { get; set; }
|
||||
/// <summary>
|
||||
/// 侧循环
|
||||
/// </summary>
|
||||
public decimal? CollateralCirculation { get; set; }
|
||||
/// <summary>
|
||||
/// 地源
|
||||
/// </summary>
|
||||
public decimal? TerrestrialSource { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_carbon_flux
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<carbon_fluxData> data { get; set; }
|
||||
}
|
||||
public class carbon_fluxData
|
||||
{
|
||||
public string AggregateName { get; set; }
|
||||
public decimal? AggregateValue { get; set; }
|
||||
public List<secondlevel> list { get; set; }
|
||||
}
|
||||
public class secondlevel
|
||||
{
|
||||
public string SecondName { get; set; }
|
||||
public decimal? SecondValue { get; set; }
|
||||
public List<threelevel> list { get; set; }
|
||||
}
|
||||
public class threelevel
|
||||
{
|
||||
public string ThreeName { get; set;}
|
||||
public decimal? ThreeValue { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_cell_ranking
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<cell_rankingData> data { get; set; }
|
||||
}
|
||||
public class cell_rankingData
|
||||
{
|
||||
public string CellName { get; set; }
|
||||
public decimal? EH { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_chamber_load
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<chamber_loadData> data { get; set; }
|
||||
}
|
||||
public class chamber_loadData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_current_voltage
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<current_voltageData> data { get; set; }
|
||||
}
|
||||
public class current_voltageData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? A { get; set; }
|
||||
public decimal? B { get; set; }
|
||||
public decimal? C { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_distribution_power
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<distribution_powerData> data { get; set; }
|
||||
}
|
||||
public class distribution_powerData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_electric_equipment
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<electric_equipmentData> data { get; set; }
|
||||
}
|
||||
public class electric_equipmentData
|
||||
{
|
||||
public string EquipmentName { get; set; }
|
||||
public decimal? EquipmentValue { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_electric_quantity
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<electric_quantityData> data { get; set; }
|
||||
}
|
||||
public class electric_quantityData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? EH { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_electrical_ranking
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<electrical_rankingData> data { get; set; }
|
||||
}
|
||||
public class electrical_rankingData
|
||||
{
|
||||
public string ElectricaName { get; set; }
|
||||
public decimal? ElectricaValue { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_electricity_consumption
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<electricity_consumptionData> data { get; set; }
|
||||
}
|
||||
public class electricity_consumptionData
|
||||
{
|
||||
public string Time { get; set; }
|
||||
public decimal? EH { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_equipment_monitoring
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<equipment_monitoringData> data { get; set; }
|
||||
}
|
||||
public class equipment_monitoringData
|
||||
{
|
||||
public int SerialNumber { get; set; }
|
||||
public string DeviceName { get; set; }
|
||||
public decimal? EH { get; set; }
|
||||
public string DeviceState { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_essential_information
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<essential_informationData> data { get; set; }
|
||||
}
|
||||
public class essential_informationData
|
||||
{
|
||||
/// <summary>
|
||||
/// 设备名称
|
||||
/// </summary>
|
||||
public string DeviceName { get; set; }
|
||||
/// <summary>
|
||||
/// 设备型号
|
||||
/// </summary>
|
||||
public string UnitType { get; set; }
|
||||
/// <summary>
|
||||
/// 生产厂家
|
||||
/// </summary>
|
||||
public string ManuFacturer { get; set; }
|
||||
/// <summary>
|
||||
/// 额定容量
|
||||
/// </summary>
|
||||
public string RatedCapacity { get; set; }
|
||||
/// <summary>
|
||||
/// 额定电压
|
||||
/// </summary>
|
||||
public string NominalVoltage { get; set; }
|
||||
/// <summary>
|
||||
/// 投运日期
|
||||
/// </summary>
|
||||
public string CarryDate { get; set; }
|
||||
/// <summary>
|
||||
/// 投运状态
|
||||
/// </summary>
|
||||
public string CarryState { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_general_catalogue
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<general_catalogueData> data { get; set; }
|
||||
}
|
||||
public class general_catalogueData
|
||||
{
|
||||
public decimal? TotalRelease { get; set; }
|
||||
public decimal? CarbonOffset { get; set;}
|
||||
public decimal? CarbonReduction { get; set; }
|
||||
public decimal? Electricity { get; set;}
|
||||
public decimal? NaturalGas { get; set;}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_information
|
||||
{
|
||||
public data data { get; set; }
|
||||
}
|
||||
public class data
|
||||
{
|
||||
public string dev { get; set; }
|
||||
public string m { get; set; }
|
||||
public int v { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_lighting_load
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<lighting_loadData> data { get; set; }
|
||||
}
|
||||
public class lighting_loadData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_power_load
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<power_loadData> data { get; set; }
|
||||
}
|
||||
public class power_loadData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
using DataServer.api;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer
|
||||
{
|
||||
public class get_realtime_data
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<realtime_dataData> data { get; set; }
|
||||
}
|
||||
public class realtime_dataData
|
||||
{
|
||||
public decimal? P { get; set; }
|
||||
/// <summary>
|
||||
/// 负载率
|
||||
/// </summary>
|
||||
public decimal? LoadRate { get; set; }
|
||||
/// <summary>
|
||||
/// 变损率
|
||||
/// </summary>
|
||||
public decimal? ConversionRate { get; set; }
|
||||
public string DeviceState { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_realtime_load
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<realtime_loadData> data { get; set; }
|
||||
}
|
||||
public class realtime_loadData
|
||||
{
|
||||
public int LoadCount { get; set; }
|
||||
public decimal? P { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class get_room_electricity
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回码
|
||||
/// </summary>
|
||||
public int code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回说明
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
public List<room_electricityData> data { get; set; }
|
||||
}
|
||||
public class room_electricityData
|
||||
{
|
||||
public string time { get; set; }
|
||||
public decimal? EH { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class select_switching_name
|
||||
{
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataServer.api
|
||||
{
|
||||
public class select_switching_room
|
||||
{
|
||||
public string type { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
79c32f87fb0acba6d359a5e1073537ed069eb160
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\DataServer.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\DataServer.pdb
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.csproj.AssemblyReference.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.csproj.CoreCompileInputs.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.pdb
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\Maticsoft.Common.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\Maticsoft.DBUtility.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\bin\Debug\MySql.Data.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\DataServer\obj\Debug\DataServer.csproj.CopyComplete
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
Binary file not shown.
|
|
@ -0,0 +1,42 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.4.33205.214
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DongYingAPI", "DongYingAPI\DongYingAPI.csproj", "{1F2F8E45-6B20-4569-8A14-B092B31AA240}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataServer", "DataServer\DataServer.csproj", "{B6C5DD72-4209-4326-976E-C553C06FD867}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "服务", "服务", "{9D527052-05DC-428A-8FB3-E034DBB00901}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Security", "Security\Security.csproj", "{00270B31-011F-495F-B906-6E6E466ADA4C}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{1F2F8E45-6B20-4569-8A14-B092B31AA240}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1F2F8E45-6B20-4569-8A14-B092B31AA240}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1F2F8E45-6B20-4569-8A14-B092B31AA240}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1F2F8E45-6B20-4569-8A14-B092B31AA240}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B6C5DD72-4209-4326-976E-C553C06FD867}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B6C5DD72-4209-4326-976E-C553C06FD867}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B6C5DD72-4209-4326-976E-C553C06FD867}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B6C5DD72-4209-4326-976E-C553C06FD867}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{00270B31-011F-495F-B906-6E6E466ADA4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{00270B31-011F-495F-B906-6E6E466ADA4C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{00270B31-011F-495F-B906-6E6E466ADA4C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{00270B31-011F-495F-B906-6E6E466ADA4C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{00270B31-011F-495F-B906-6E6E466ADA4C} = {9D527052-05DC-428A-8FB3-E034DBB00901}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {7A803300-493A-4482-945E-00C108B62940}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||||
|
||||
</configSections>
|
||||
<log4net>
|
||||
<root>
|
||||
<level value="ALL"/>
|
||||
<appender-ref ref="SysAppender"/>
|
||||
</root>
|
||||
<logger name="WebLogger">
|
||||
<level value="DEBUG"/>
|
||||
</logger>
|
||||
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
|
||||
<param name="File" value="App_Data/"/>
|
||||
<param name="AppendToFile" value="true"/>
|
||||
<param name="RollingStyle" value="Date"/>
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt""/>
|
||||
<param name="StaticLogFileName" value="false"/>
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
<param name="Header" value=" ------------------------------------------------
|
||||
"/>
|
||||
<param name="Footer" value=" ------------------------------------------------
|
||||
"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
<appSettings>
|
||||
<add key="ConnectionString" value="Data Source=127.0.0.1;Database=dongying;User ID=root;Password=0822;Charset=gbk;convert zero datetime=True"/>
|
||||
<!--是否测试-->
|
||||
<add key="is_debug" value="1"/>
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Security
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static log4net.ILog log;
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||
log4net.Config.XmlConfigurator.Configure();
|
||||
log = log4net.LogManager.GetLogger("loginfo");
|
||||
var is_debug = ConfigurationManager.AppSettings["is_debug"];
|
||||
if (is_debug == "1")
|
||||
{
|
||||
//var service = new ServiceSecurity();
|
||||
//Thread t = new Thread(delegate ()
|
||||
//{
|
||||
// service.DebugOnStart(null);
|
||||
//});
|
||||
//t.Start();
|
||||
//Console.ReadLine();
|
||||
var service = new ServiceSecurity();
|
||||
Thread t = new Thread(delegate ()
|
||||
{
|
||||
service.DebugOnStart(null);
|
||||
});
|
||||
t.Start();
|
||||
Console.ReadLine();
|
||||
}
|
||||
else
|
||||
{
|
||||
ServiceBase[] ServicesToRun;
|
||||
ServicesToRun = new ServiceBase[]
|
||||
{
|
||||
new ServiceSecurity()
|
||||
};
|
||||
ServiceBase.Run(ServicesToRun);
|
||||
}
|
||||
}
|
||||
|
||||
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
log.Info("time:" + DateTime.Now.ToString() + ";error:" + (e.ExceptionObject as Exception).ToString());//写入一条新log
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
namespace Security
|
||||
{
|
||||
partial class ProjectInstaller
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
|
||||
this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
|
||||
//
|
||||
// serviceProcessInstaller1
|
||||
//
|
||||
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
|
||||
this.serviceProcessInstaller1.Password = null;
|
||||
this.serviceProcessInstaller1.Username = null;
|
||||
//
|
||||
// serviceInstaller1
|
||||
//
|
||||
this.serviceInstaller1.Description = "安防监测服务";
|
||||
this.serviceInstaller1.ServiceName = "ServiceSecurity";
|
||||
this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
|
||||
//
|
||||
// ProjectInstaller
|
||||
//
|
||||
this.Installers.AddRange(new System.Configuration.Install.Installer[] {
|
||||
this.serviceProcessInstaller1,
|
||||
this.serviceInstaller1});
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
|
||||
private System.ServiceProcess.ServiceInstaller serviceInstaller1;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Configuration.Install;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Security
|
||||
{
|
||||
[RunInstaller(true)]
|
||||
public partial class ProjectInstaller : System.Configuration.Install.Installer
|
||||
{
|
||||
public ProjectInstaller()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="serviceProcessInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="serviceInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>279, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的一般信息由以下
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("Security")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Security")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||
//请将此类型的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("dc5ef88e-671b-4ffe-a4a3-ee3fe96fcd21")]
|
||||
|
||||
// 程序集的版本信息由下列四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 生成号
|
||||
// 修订号
|
||||
//
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{DC5EF88E-671B-4FFE-A4A3-EE3FE96FCD21}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Security</RootNamespace>
|
||||
<AssemblyName>ServiceSecurity</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<TargetFrameworkProfile />
|
||||
<PublishUrl>E:\林谷项目\东营两馆一宫\发布文件\Security\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>2</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>8CAFBA8D269CC4B88C16A44CD2BA3FBAA29D83A3</ManifestCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestKeyFile>Security_TemporaryKey.pfx</ManifestKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateManifests>true</GenerateManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>true</SignManifests>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="DataServer">
|
||||
<HintPath>..\DataServer\bin\Debug\DataServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="HslCommunication">
|
||||
<HintPath>..\packages\HslCommunication.10.1.2\lib\net451\HslCommunication.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="LitJSON, Version=0.18.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\LitJson.0.18.0\lib\net45\LitJSON.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\log4net.2.0.8\lib\net45-full\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Configuration.Install" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.ServiceProcess" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="ProjectInstaller.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ProjectInstaller.Designer.cs">
|
||||
<DependentUpon>ProjectInstaller.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceSecurity.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ServiceSecurity.Designer.cs">
|
||||
<DependentUpon>ServiceSecurity.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Security_TemporaryKey.pfx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="ProjectInstaller.resx">
|
||||
<DependentUpon>ProjectInstaller.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4.6 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<EnableSecurityDebugging>false</EnableSecurityDebugging>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,37 @@
|
|||
namespace Security
|
||||
{
|
||||
partial class ServiceSecurity
|
||||
{
|
||||
/// <summary>
|
||||
/// 必需的设计器变量。
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// 清理所有正在使用的资源。
|
||||
/// </summary>
|
||||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要修改
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
components = new System.ComponentModel.Container();
|
||||
this.ServiceName = "ServiceSecurity";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,689 @@
|
|||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using HslCommunication.MQTT;
|
||||
using HslCommunication;
|
||||
using DataServer.api;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Security
|
||||
{
|
||||
partial class ServiceSecurity : ServiceBase
|
||||
{
|
||||
static log4net.ILog log;
|
||||
|
||||
//static DataService.BLL.vis_fire_ip bll_ip=new DataService.BLL.vis_fire_ip();
|
||||
|
||||
static MqttClient mqtt_client;
|
||||
static MqttClient mqtt_client2;
|
||||
static DataServer.BLL.device_data bll = new DataServer.BLL.device_data();
|
||||
public ServiceSecurity()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public void DebugOnStart(string[] args)
|
||||
{
|
||||
OnStart(args);
|
||||
}
|
||||
|
||||
protected override void OnStart(string[] args)
|
||||
{
|
||||
|
||||
// TODO: 在此处添加代码以启动服务。
|
||||
log4net.Config.XmlConfigurator.Configure();
|
||||
log = log4net.LogManager.GetLogger("loginfo");
|
||||
log.Info("服务开始");
|
||||
// 授权示例 调用一次即可 call only once
|
||||
if (!HslCommunication.Authorization.SetAuthorizationCode("4772a1a2-72cf-4fcb-9a8e-9cbdd5984253"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
MqttConnectionOptions options = new MqttConnectionOptions()
|
||||
{
|
||||
//IpAddress = "192.168.9.20",
|
||||
IpAddress = "111.229.30.246",
|
||||
Port = 1883,
|
||||
ClientId = "Service-" + Guid.NewGuid().ToString("N"),
|
||||
};
|
||||
options.Credentials = new MqttCredential("dev", "12345");
|
||||
mqtt_client = new MqttClient(options);
|
||||
log.Info("开始");
|
||||
// 接收到数据的时候进行触发
|
||||
mqtt_client.OnMqttMessageReceived += Client_OnMqttMessageReceived;
|
||||
// 订阅服务器的主题,在连接成功后就去订阅
|
||||
mqtt_client.OnClientConnected += m =>
|
||||
{
|
||||
Console.WriteLine("连接成功");
|
||||
//m.SubscribeMessage("/sys/iot/#");
|
||||
m.SubscribeMessage("data");
|
||||
};
|
||||
mqtt_client.OnNetworkError += MqttClient_OnNetworkError; // 自己来控制异常及重连的操作
|
||||
OperateResult result3 = mqtt_client.ConnectServer();
|
||||
if (result3.IsSuccess)
|
||||
{
|
||||
log.Info("连接成功");
|
||||
}
|
||||
else
|
||||
{
|
||||
log.Info("连接失败");
|
||||
}
|
||||
// TODO: 在此处添加代码以启动服务。
|
||||
log4net.Config.XmlConfigurator.Configure();
|
||||
log = log4net.LogManager.GetLogger("loginfo");
|
||||
log.Info("服务开始");
|
||||
// 授权示例 调用一次即可 call only once
|
||||
if (!HslCommunication.Authorization.SetAuthorizationCode("4772a1a2-72cf-4fcb-9a8e-9cbdd5984253"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
MqttConnectionOptions options2 = new MqttConnectionOptions()
|
||||
{
|
||||
IpAddress = "127.0.0.1",
|
||||
Port = 1883,
|
||||
ClientId = "Service-" + Guid.NewGuid().ToString("N"),
|
||||
};
|
||||
options.Credentials = new MqttCredential("admin", "123456");
|
||||
mqtt_client2 = new MqttClient(options2);
|
||||
// 接收到数据的时候进行触发
|
||||
mqtt_client2.OnMqttMessageReceived += Client_OnMqttMessageReceived;
|
||||
// 订阅服务器的主题,在连接成功后就去订阅
|
||||
mqtt_client2.OnClientConnected += m =>
|
||||
{
|
||||
Console.WriteLine("连接成功");
|
||||
m.SubscribeMessage("data");
|
||||
};
|
||||
mqtt_client2.OnNetworkError += MqttClient2_OnNetworkError; // 自己来控制异常及重连的操作
|
||||
OperateResult result = mqtt_client2.ConnectServer();
|
||||
if (result.IsSuccess)
|
||||
{
|
||||
log.Info("发布连接成功");
|
||||
}
|
||||
else
|
||||
{
|
||||
log.Info("发布连接失败");
|
||||
}
|
||||
}
|
||||
|
||||
private static void MqttClient_OnNetworkError(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
// 当网络异常的时候触发,可以在此处重连服务器
|
||||
if (sender is MqttClient client)
|
||||
{
|
||||
// 开始重连服务器,直到连接成功为止
|
||||
log.Info("网络异常,准备10秒后重新连接。");
|
||||
while (true)
|
||||
{
|
||||
// 每隔10秒重连
|
||||
System.Threading.Thread.Sleep(10_000);
|
||||
log.Info("准备重新连接服务器...");
|
||||
|
||||
// 重连之前需要判断是否关闭了Client,自己重写的异常需要自己手动处理
|
||||
OperateResult connect = client.ConnectServer();
|
||||
if (connect.IsSuccess)
|
||||
{
|
||||
// 连接成功后,可以在下方break之前进行订阅,或是数据初始化操作
|
||||
log.Info("连接服务器成功!");
|
||||
client.SubscribeMessage("/sys/iot/#");
|
||||
break;
|
||||
}
|
||||
log.Info("连接失败,准备10秒后重新连接。");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Info("重连MQTT失败,失败原因:" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private static void MqttClient2_OnNetworkError(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
// 当网络异常的时候触发,可以在此处重连服务器
|
||||
if (sender is MqttClient client)
|
||||
{
|
||||
// 开始重连服务器,直到连接成功为止
|
||||
log.Info("网络异常,准备10秒后重新连接。");
|
||||
while (true)
|
||||
{
|
||||
// 每隔10秒重连
|
||||
System.Threading.Thread.Sleep(10_000);
|
||||
log.Info("准备重新连接服务器...");
|
||||
|
||||
// 重连之前需要判断是否关闭了Client,自己重写的异常需要自己手动处理
|
||||
OperateResult connect = client.ConnectServer();
|
||||
if (connect.IsSuccess)
|
||||
{
|
||||
// 连接成功后,可以在下方break之前进行订阅,或是数据初始化操作
|
||||
log.Info("连接服务器成功!");
|
||||
break;
|
||||
}
|
||||
log.Info("连接失败,准备10秒后重新连接。");
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Info("重连MQTT失败,失败原因:" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private static void Client_OnMqttMessageReceived(MqttClient client, string topic, byte[] payload)
|
||||
{
|
||||
log.Info("进入方法");
|
||||
|
||||
var msg = Encoding.UTF8.GetString(payload);
|
||||
try
|
||||
{
|
||||
|
||||
if (topic.Contains("data"))
|
||||
{
|
||||
var data = JsonConvert.DeserializeObject<DataServer.api.get_abutment>(msg);
|
||||
log.Info("数据1data" + msg);
|
||||
if (data.devs != null)
|
||||
{
|
||||
var model = new DataServer.Model.device_data();
|
||||
foreach (var item in data.devs)
|
||||
{
|
||||
model.DeviceId=Guid.NewGuid().ToString("N");
|
||||
model.DeviceNumber = item.dev;
|
||||
var name=GetDeviceName(item.dev);
|
||||
var name1=GetFloorName(item.dev);
|
||||
model.DeviceName = name;
|
||||
model.FloorName = name1;
|
||||
foreach (var aitem in item.d)
|
||||
{
|
||||
#region 数据添加
|
||||
if (aitem.m == "01040005")
|
||||
{
|
||||
model.EH = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01010001")
|
||||
{
|
||||
model.Ua = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01010002")
|
||||
{
|
||||
model.Ub = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01010003")
|
||||
{
|
||||
model.Uc = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01020001")
|
||||
{
|
||||
model.Ia = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01020002")
|
||||
{
|
||||
model.Ib = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01020003")
|
||||
{
|
||||
model.Ic = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01030004")
|
||||
{
|
||||
model.P = aitem.v;
|
||||
}
|
||||
if (aitem.m == "01030012")
|
||||
{
|
||||
model.Kvar = aitem.v;
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
model.CreateTime= DateTime.Now;
|
||||
bll.Add(model);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else if (topic.Contains("/a16cf30SpyL/device_VyCe/user/update/cmd/set"))
|
||||
{
|
||||
var data = JsonConvert.DeserializeObject<DataServer.api.get_information>(msg);
|
||||
log.Info("数据2data" + msg);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.Info("处理失败,数据:" + msg + ",原因:" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnStop()
|
||||
{
|
||||
// TODO: 在此处添加代码以执行停止服务所需的关闭操作。
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 时间戳转换为DATETIME格式
|
||||
/// </summary>
|
||||
/// <param name="timeStamp">时间戳字符串</param>
|
||||
/// <returns></returns>
|
||||
public static DateTime GetDateTime(string timeStamp)
|
||||
{
|
||||
DateTime dtStart = TimeZone.CurrentTimeZone.ToLocalTime(new DateTime(1970, 1, 1));
|
||||
string ts = timeStamp + "0000000";
|
||||
if (timeStamp.Length == 13)
|
||||
{
|
||||
ts = timeStamp + "0000";
|
||||
}
|
||||
long lTime = long.Parse(ts);
|
||||
TimeSpan toNow = new TimeSpan(lTime);
|
||||
return dtStart.Add(toNow);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取设备名称
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetDeviceName(string code)
|
||||
{
|
||||
var list = new Dictionary<string, string>();
|
||||
list.Add("370510043001", "3#总进线");
|
||||
list.Add("370510043002", "B1照明");
|
||||
list.Add("370510043003", "A-(1-4)AL1 科技馆一楼北配电照明");
|
||||
list.Add("370510043004", "A-(1-4)AL2 科技馆一楼南配电照明");
|
||||
list.Add("370510043005", "A-1/4AL1-LM 科技馆一楼1#北楼顶莲花");
|
||||
list.Add("370510043006", "A-1/4AL2-LM 科技馆一楼楼顶莲花");
|
||||
list.Add("370510043007", "A-2AL1-Z2");
|
||||
list.Add("370510043008", "A-2AL1-Z1");
|
||||
list.Add("370510043009", "A-4AL1-Z1");
|
||||
list.Add("370510043010", "A-3AL1-Z2");
|
||||
list.Add("370510043011", "A-3AL1-Z1");
|
||||
list.Add("370510043012", "2#临展厅预留电源1F");
|
||||
list.Add("370510043013", "B区1F照明");
|
||||
list.Add("370510043014", "A-1AP1-1 特效");
|
||||
list.Add("370510043015", "A-B1AC2 负一楼风机");
|
||||
list.Add("370510043016", "4F-1#展厅 禁毒展厅");
|
||||
list.Add("370510043017", "A-4AP1-1");
|
||||
list.Add("370510043018", "A-1APE1-1 变电所");
|
||||
list.Add("370510043019", "A-B1ALE2");
|
||||
list.Add("370510043020", "A-B1ALE1-1");
|
||||
list.Add("370510043021", "A-(1-4)ALE1 应急照明");
|
||||
list.Add("370510043022", "A-3AL1-Z2");
|
||||
list.Add("370510043023", "A-1APE5");
|
||||
list.Add("370510043024", "A-1APE3");
|
||||
list.Add("370510043025", "A-1APE1 风机");
|
||||
list.Add("370510043026", "A-1APE4");
|
||||
list.Add("370510043027", "A-1APE2");
|
||||
list.Add("370510043028", "A-1APE2、A-2APE2、A-3APE2");
|
||||
list.Add("370510043029", "A单体LM(巨)");
|
||||
list.Add("370510043030", "A-5DT1");
|
||||
list.Add("370510043031", "A-5DT2");
|
||||
list.Add("370510043032", "中水电源");
|
||||
list.Add("370510043033", "S-B1APE1、S-B1APE2 A区");
|
||||
list.Add("370510043034", "S-(XF)B1APE1");
|
||||
list.Add("370510043035", "A区1F2#电房");
|
||||
list.Add("370510043036", "A-(1F-4F) 科技馆热水器1-4");
|
||||
list.Add("370510043037", "A-N(XF)-5APE3 备用");
|
||||
list.Add("370510043038", "A-S(XF)-BAPE1");
|
||||
list.Add("370510043039", "应急照明");
|
||||
list.Add("370510043040", "A-1ALE3-2 巨幕");
|
||||
list.Add("370510043041", "A-N(XF)-2APE3、A-N(XF)-1APE3 巨幕");
|
||||
list.Add("370510043042", "A-N(XF)B1APE 1、2、3");
|
||||
list.Add("370510043043", "B-(XF)-AP 儿童剧场消防备电");
|
||||
list.Add("370510043044", "A-S(XF)-5APE1 常用");
|
||||
list.Add("370510043045", "B-N(XF)-6APE2");
|
||||
list.Add("370510043046", "A-N(XF)-5APE1 常用");
|
||||
list.Add("370510043047", "B-N(XF)6APE1 ");
|
||||
list.Add("370510043048", "B-S(XF)1APE1 5*10");
|
||||
list.Add("370510043049", "货梯6F");
|
||||
list.Add("370510043050", "A-(1-4)ALE2 2号大厅");
|
||||
list.Add("370510043051", "A-(1-4)ALE1");
|
||||
list.Add("370510043052", "A-B1ALE2");
|
||||
list.Add("370510043053", "A-B1ALE2");
|
||||
list.Add("370510043054", "A-1APE-1变电柜");
|
||||
list.Add("370510043055", "A-1APE2");
|
||||
list.Add("370510043056", "手机覆盖机有线电视机房预留电源B1");
|
||||
list.Add("370510043057", "A-1APE1");
|
||||
list.Add("370510043058", "A-1APE3");
|
||||
list.Add("370510043059", "电话机房预留电源B1");
|
||||
list.Add("370510043060", "1#5F货梯");
|
||||
list.Add("370510043061", "A-5DT2");
|
||||
list.Add("370510043062", "A-ZS中水电源");
|
||||
list.Add("370510043063", "S-B1APE1 S-B1APE2 A区污电源");
|
||||
list.Add("370510043064", "2#排水泵房(消防)");
|
||||
list.Add("370510043065", "A-N(XF)-5APE3常用(楼顶东南角)");
|
||||
list.Add("370510043066", "A-S(XF)-BAPE1");
|
||||
list.Add("370510043067", "1##排烟及加压风机5F");
|
||||
list.Add("370510043068", "A-N(XF)-B1APE (1.2.3)");
|
||||
list.Add("370510043069", "A-N(XF)-5APE2 常用");
|
||||
list.Add("370510043070", "A-N(XF)-5APE4 常用");
|
||||
list.Add("370510043071", "B-1AL2-1");
|
||||
list.Add("370510043072", "B-1AL2-2 儿童剧场");
|
||||
list.Add("370510043073", "B-1AL2-3");
|
||||
list.Add("370510043074", "B-1AL2-5");
|
||||
list.Add("370510043075", "B-2AL2-1 B-2AL2-2 儿童剧场舞台设备灯");
|
||||
list.Add("370510043076", "A-1AL-ZS");
|
||||
list.Add("370510043077", "B-1AL2");
|
||||
list.Add("370510043078", "B-1AC2");
|
||||
list.Add("370510043079", "B-1ALE2 常用");
|
||||
list.Add("370510043080", "B-N(XF)-6APE2");
|
||||
list.Add("370510043081", "B-N(XF)-AL 儿童剧场落地箱");
|
||||
list.Add("370510043082", "立面照明");
|
||||
list.Add("370510043083", "B-5DT1");
|
||||
list.Add("370510043084", "B-6AT1");
|
||||
list.Add("370510043085", "B-S(XF)1APE1");
|
||||
list.Add("370510043086", "B-N(XF)6APE1");
|
||||
list.Add("370510043087", "B-1AT1-1");
|
||||
list.Add("370510043088", "B-(1-6)AC1-1 少年宫2F风机");
|
||||
list.Add("370510043089", "B-1/5AL1-LM 少年宫");
|
||||
list.Add("370510043090", "B-(1-5)AL1 B2层");
|
||||
list.Add("370510043091", "B-(1-5)ALE1");
|
||||
list.Add("370510043092", "A-1AC3 巨幕影院");
|
||||
list.Add("370510043093", "A-1AL3 A-2AL3 巨幕");
|
||||
list.Add("370510043094", "A-1ALE3-LM巨幕");
|
||||
list.Add("370510043095", "A-1ALE3-2 巨幕");
|
||||
list.Add("370510043096", "区域报警控制器 预留电源");
|
||||
list.Add("370510043097", "A-N(XF)1APE3 巨幕");
|
||||
list.Add("370510043098", "A-1AL3-1 巨幕");
|
||||
list.Add("370510043099", "A-(1-5)AC1 1号井科一北 空调及通风机(北)");
|
||||
list.Add("370510043100", "空调及通风机(南)");
|
||||
list.Add("370510043101", "AH1-14 及应急屏显");
|
||||
list.Add("370510043102", "4#总进线");
|
||||
list.Add("370510043103", "1#变配电所电源2至1#变电室进线柜AH4");
|
||||
list.Add("370510043104", "2#总变配电所电源2科技馆一层4#变压器");
|
||||
list.Add("370510043105", "3#变配电所电源2至3#变电室进线柜AH4");
|
||||
list.Add("370510043106", "3#变配电所电源1至3#变电室进线柜AH1");
|
||||
list.Add("370510043107", "2#总变配电所电源1科技馆一层3#变压器");
|
||||
list.Add("370510043108", "1#变配电所电源1至1#变电室进线柜AH1");
|
||||
list.Add("370510043109", "一号主机控制柜");
|
||||
list.Add("370510043110", "二号主机控制柜");
|
||||
list.Add("370510043111", "b1-地源侧循环泵1");
|
||||
list.Add("370510043112", "b1-地源侧循环泵2");
|
||||
list.Add("370510043113", "b1-地源侧循环泵3");
|
||||
list.Add("370510043114", "b1-地源侧循环泵4");
|
||||
list.Add("370510043115", "B1一次循环3号泵");
|
||||
list.Add("370510043116", "B1一次循环1号泵");
|
||||
list.Add("370510043117", "B1一次循环4号泵");
|
||||
list.Add("370510043118", "B1一次循环2号泵");
|
||||
list.Add("370510043119", "B5二次循环9号泵");
|
||||
list.Add("370510043120", "B5二次循环10号泵");
|
||||
list.Add("370510043121", "B5二次循环5号泵");
|
||||
list.Add("370510043122", "B5二次循环8号泵");
|
||||
list.Add("370510043123", "B5二次循环7号泵");
|
||||
list.Add("370510043124", "B5二次循环6号泵");
|
||||
list.Add("370510043125", "四号主机控制柜");
|
||||
list.Add("370510043126", "三号主机控制柜");
|
||||
list.Add("370510043127", "5#总进线");
|
||||
list.Add("370510043128", "正常照明及其他2F-5F");
|
||||
list.Add("370510043129", "1#1AL.1-2AL.正常照明及其他1F-2F");
|
||||
list.Add("370510043130", "正常照明及其他3F-5F");
|
||||
list.Add("370510043131", "2#正常照明及其他1F-2F");
|
||||
list.Add("370510043132", "1#立面照明1F-5F");
|
||||
list.Add("370510043133", "变配电所照明");
|
||||
list.Add("370510043134", "应急照明1F-5楼下");
|
||||
list.Add("370510043135", "2#应急照明1F5F");
|
||||
list.Add("370510043136", "排烟机及加压风机6F");
|
||||
list.Add("370510043137", "1#排烟机6F");
|
||||
list.Add("370510043138", "1#排烟机及加压风机6F");
|
||||
list.Add("370510043139", "排烟机及加压风机6F");
|
||||
list.Add("370510043140", "2#补风机");
|
||||
list.Add("370510043141", "2#事故排风机1F");
|
||||
list.Add("370510043142", "C-N(XF)-2APE1单体二层备用");
|
||||
list.Add("370510043143", "应急照明1F");
|
||||
list.Add("370510043144", "2#应急照明1F");
|
||||
list.Add("370510043145", "1#电梯(消防)6F");
|
||||
list.Add("370510043146", "网络机房预留电源");
|
||||
list.Add("370510043147", "消防控制中心1F");
|
||||
list.Add("370510043148", "手机覆盖机有线电视预留电源1F");
|
||||
list.Add("370510043149", "安装预留电源");
|
||||
list.Add("370510043150", "1号货梯6F");
|
||||
list.Add("370510043151", "电话机房预留电源1F");
|
||||
list.Add("370510043152", "1#排水泵(消防)1F");
|
||||
list.Add("370510043153", "6#总进线");
|
||||
list.Add("370510043154", "1#空调及通风机");
|
||||
list.Add("370510043155", "2#空调及通风机B1 5F");
|
||||
list.Add("370510043156", "变配电所通风机");
|
||||
list.Add("370510043157", "电话机房预留电源1F");
|
||||
list.Add("370510043158", "网络机房预留电源1F");
|
||||
list.Add("370510043159", "消防控制中心1F");
|
||||
list.Add("370510043160", "手机覆盖机有线电视预留电源1F");
|
||||
list.Add("370510043161", "安防预留电源1F");
|
||||
list.Add("370510043162", "1#货梯 6F");
|
||||
list.Add("370510043163", "1#电梯(兼消防) 6F");
|
||||
list.Add("370510043164", "1#排水泵(消防) 1F");
|
||||
list.Add("370510043165", "2#排烟风机及加压风机6F");
|
||||
list.Add("370510043166", "2#排烟风机及加压风机6F");
|
||||
list.Add("370510043167", "2#补风机1F");
|
||||
list.Add("370510043168", "2#事故排风机1F");
|
||||
list.Add("370510043169", "学术报告厅电源");
|
||||
list.Add("370510043170", "应急照明");
|
||||
list.Add("370510043171", "外围高杆灯亭");
|
||||
list.Add("370510043172", "2#正常照明及其他");
|
||||
list.Add("370510043173", "2#正常照明及其他");
|
||||
list.Add("370510043174", "D-1AC1 1#空调及通风机1F");
|
||||
list.Add("370510043175", "2#井空调及通风机1F");
|
||||
list.Add("370510043176", "学术报告厅2楼空调风机房");
|
||||
list.Add("370510043177", "青少年宫118消防");
|
||||
list.Add("370510043178", "D-1ALE2 2#应急照明1F");
|
||||
list.Add("370510043179", "变电所应急照明1F");
|
||||
list.Add("370510043180", "1#应急照明1F-5F");
|
||||
list.Add("370510043181", "2#应急照明1F-5F");
|
||||
list.Add("370510043182", "1#排烟机及加压风机6F");
|
||||
list.Add("370510043183", "C-N(XF)-6APE2 1#排烟机6F");
|
||||
if (!list.ContainsKey(code))
|
||||
{
|
||||
return "未知";
|
||||
}
|
||||
return list[code];
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取设备名称
|
||||
/// </summary>
|
||||
/// <param name="code"></param>
|
||||
/// <returns></returns>
|
||||
public static string GetFloorName(string code)
|
||||
{
|
||||
Dictionary<string, string> list = new Dictionary<string, string>();
|
||||
list.Add("370510043001", "科技馆一楼");
|
||||
list.Add("370510043002", "科技馆一楼");
|
||||
list.Add("370510043003", "科技馆一楼");
|
||||
list.Add("370510043004", "科技馆一楼");
|
||||
list.Add("370510043005", "科技馆一楼");
|
||||
list.Add("370510043006", "科技馆一楼");
|
||||
list.Add("370510043007", "科技馆一楼");
|
||||
list.Add("370510043008", "科技馆一楼");
|
||||
list.Add("370510043009", "科技馆一楼");
|
||||
list.Add("370510043010", "科技馆一楼");
|
||||
list.Add("370510043011", "科技馆一楼");
|
||||
list.Add("370510043012", "科技馆一楼");
|
||||
list.Add("370510043013", "科技馆一楼");
|
||||
list.Add("370510043014", "科技馆一楼");
|
||||
list.Add("370510043015", "科技馆一楼");
|
||||
list.Add("370510043016", "科技馆一楼");
|
||||
list.Add("370510043017", "科技馆一楼");
|
||||
list.Add("370510043018", "科技馆一楼");
|
||||
list.Add("370510043019", "科技馆一楼");
|
||||
list.Add("370510043020", "科技馆一楼");
|
||||
list.Add("370510043021", "科技馆一楼");
|
||||
list.Add("370510043022", "科技馆一楼");
|
||||
list.Add("370510043023", "科技馆一楼");
|
||||
list.Add("370510043024", "科技馆一楼");
|
||||
list.Add("370510043025", "科技馆一楼");
|
||||
list.Add("370510043026", "科技馆一楼");
|
||||
list.Add("370510043027", "科技馆一楼");
|
||||
list.Add("370510043028", "科技馆一楼");
|
||||
list.Add("370510043029", "科技馆一楼");
|
||||
list.Add("370510043030", "科技馆一楼");
|
||||
list.Add("370510043031", "科技馆一楼");
|
||||
list.Add("370510043032", "科技馆一楼");
|
||||
list.Add("370510043033", "科技馆一楼");
|
||||
list.Add("370510043034", "科技馆一楼");
|
||||
list.Add("370510043035", "科技馆一楼");
|
||||
list.Add("370510043036", "科技馆一楼");
|
||||
list.Add("370510043037", "科技馆一楼");
|
||||
list.Add("370510043038", "科技馆一楼");
|
||||
list.Add("370510043039", "科技馆一楼");
|
||||
list.Add("370510043040", "科技馆一楼");
|
||||
list.Add("370510043041", "科技馆一楼");
|
||||
list.Add("370510043042", "科技馆一楼");
|
||||
list.Add("370510043043", "科技馆一楼");
|
||||
list.Add("370510043044", "科技馆一楼");
|
||||
list.Add("370510043045", "科技馆一楼");
|
||||
list.Add("370510043046", "科技馆一楼");
|
||||
list.Add("370510043047", "科技馆一楼");
|
||||
list.Add("370510043048", "科技馆一楼");
|
||||
list.Add("370510043049", "科技馆一楼");
|
||||
list.Add("370510043050", "科技馆一楼");
|
||||
list.Add("370510043051", "科技馆一楼");
|
||||
list.Add("370510043052", "科技馆一楼");
|
||||
list.Add("370510043053", "科技馆一楼");
|
||||
list.Add("370510043054", "科技馆一楼");
|
||||
list.Add("370510043055", "科技馆一楼");
|
||||
list.Add("370510043056", "科技馆一楼");
|
||||
list.Add("370510043057", "科技馆一楼");
|
||||
list.Add("370510043058", "科技馆一楼");
|
||||
list.Add("370510043059", "科技馆一楼");
|
||||
list.Add("370510043060", "科技馆一楼");
|
||||
list.Add("370510043061", "科技馆一楼");
|
||||
list.Add("370510043062", "科技馆一楼");
|
||||
list.Add("370510043063", "科技馆一楼");
|
||||
list.Add("370510043064", "科技馆一楼");
|
||||
list.Add("370510043065", "科技馆一楼");
|
||||
list.Add("370510043066", "科技馆一楼");
|
||||
list.Add("370510043067", "科技馆一楼");
|
||||
list.Add("370510043068", "科技馆一楼");
|
||||
list.Add("370510043069", "科技馆一楼");
|
||||
list.Add("370510043070", "科技馆一楼");
|
||||
list.Add("370510043071", "科技馆一楼");
|
||||
list.Add("370510043072", "科技馆一楼");
|
||||
list.Add("370510043073", "科技馆一楼");
|
||||
list.Add("370510043074", "科技馆一楼");
|
||||
list.Add("370510043075", "科技馆一楼");
|
||||
list.Add("370510043076", "科技馆一楼");
|
||||
list.Add("370510043077", "科技馆一楼");
|
||||
list.Add("370510043078", "科技馆一楼");
|
||||
list.Add("370510043079", "科技馆一楼");
|
||||
list.Add("370510043080", "科技馆一楼");
|
||||
list.Add("370510043081", "科技馆一楼");
|
||||
list.Add("370510043082", "科技馆一楼");
|
||||
list.Add("370510043083", "科技馆一楼");
|
||||
list.Add("370510043084", "科技馆一楼");
|
||||
list.Add("370510043085", "科技馆一楼");
|
||||
list.Add("370510043086", "科技馆一楼");
|
||||
list.Add("370510043087", "科技馆一楼");
|
||||
list.Add("370510043088", "科技馆一楼");
|
||||
list.Add("370510043089", "科技馆一楼");
|
||||
list.Add("370510043090", "科技馆一楼");
|
||||
list.Add("370510043091", "科技馆一楼");
|
||||
list.Add("370510043092", "科技馆一楼");
|
||||
list.Add("370510043093", "科技馆一楼");
|
||||
list.Add("370510043094", "科技馆一楼");
|
||||
list.Add("370510043095", "科技馆一楼");
|
||||
list.Add("370510043096", "科技馆一楼");
|
||||
list.Add("370510043097", "科技馆一楼");
|
||||
list.Add("370510043098", "科技馆一楼");
|
||||
list.Add("370510043099", "科技馆一楼");
|
||||
list.Add("370510043100", "科技馆一楼");
|
||||
list.Add("370510043101", "科技馆一楼");
|
||||
list.Add("370510043102", "科技馆一楼");
|
||||
list.Add("370510043103", "科技馆一楼");
|
||||
list.Add("370510043104", "科技馆一楼");
|
||||
list.Add("370510043105", "科技馆一楼");
|
||||
list.Add("370510043106", "科技馆一楼");
|
||||
list.Add("370510043107", "科技馆一楼");
|
||||
list.Add("370510043108", "科技馆一楼");
|
||||
list.Add("370510043109", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043110", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043111", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043112", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043113", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043114", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043115", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043116", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043117", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043118", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043119", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043120", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043121", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043122", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043123", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043124", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043125", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043126", "科技馆负一楼地源热泵");
|
||||
list.Add("370510043127", "图书馆一楼");
|
||||
list.Add("370510043128", "图书馆一楼");
|
||||
list.Add("370510043129", "图书馆一楼");
|
||||
list.Add("370510043130", "图书馆一楼");
|
||||
list.Add("370510043131", "图书馆一楼");
|
||||
list.Add("370510043132", "图书馆一楼");
|
||||
list.Add("370510043133", "图书馆一楼");
|
||||
list.Add("370510043134", "图书馆一楼");
|
||||
list.Add("370510043135", "图书馆一楼");
|
||||
list.Add("370510043136", "图书馆一楼");
|
||||
list.Add("370510043137", "图书馆一楼");
|
||||
list.Add("370510043138", "图书馆一楼");
|
||||
list.Add("370510043139", "图书馆一楼");
|
||||
list.Add("370510043140", "图书馆一楼");
|
||||
list.Add("370510043141", "图书馆一楼");
|
||||
list.Add("370510043142", "图书馆一楼");
|
||||
list.Add("370510043143", "图书馆一楼");
|
||||
list.Add("370510043144", "图书馆一楼");
|
||||
list.Add("370510043145", "图书馆一楼");
|
||||
list.Add("370510043146", "图书馆一楼");
|
||||
list.Add("370510043147", "图书馆一楼");
|
||||
list.Add("370510043148", "图书馆一楼");
|
||||
list.Add("370510043149", "图书馆一楼");
|
||||
list.Add("370510043150", "图书馆一楼");
|
||||
list.Add("370510043151", "图书馆一楼");
|
||||
list.Add("370510043152", "图书馆一楼");
|
||||
list.Add("370510043153", "图书馆一楼");
|
||||
list.Add("370510043154", "图书馆一楼");
|
||||
list.Add("370510043155", "图书馆一楼");
|
||||
list.Add("370510043156", "图书馆一楼");
|
||||
list.Add("370510043157", "图书馆一楼");
|
||||
list.Add("370510043158", "图书馆一楼");
|
||||
list.Add("370510043159", "图书馆一楼");
|
||||
list.Add("370510043160", "图书馆一楼");
|
||||
list.Add("370510043161", "图书馆一楼");
|
||||
list.Add("370510043162", "图书馆一楼");
|
||||
list.Add("370510043163", "图书馆一楼");
|
||||
list.Add("370510043164", "图书馆一楼");
|
||||
list.Add("370510043165", "图书馆一楼");
|
||||
list.Add("370510043166", "图书馆一楼");
|
||||
list.Add("370510043167", "图书馆一楼");
|
||||
list.Add("370510043168", "图书馆一楼");
|
||||
list.Add("370510043169", "图书馆一楼");
|
||||
list.Add("370510043170", "图书馆一楼");
|
||||
list.Add("370510043171", "图书馆一楼");
|
||||
list.Add("370510043172", "图书馆一楼");
|
||||
list.Add("370510043173", "图书馆一楼");
|
||||
list.Add("370510043174", "图书馆一楼");
|
||||
list.Add("370510043175", "图书馆一楼");
|
||||
list.Add("370510043176", "图书馆一楼");
|
||||
list.Add("370510043177", "图书馆一楼");
|
||||
list.Add("370510043178", "图书馆一楼");
|
||||
list.Add("370510043179", "图书馆一楼");
|
||||
list.Add("370510043180", "图书馆一楼");
|
||||
list.Add("370510043181", "图书馆一楼");
|
||||
list.Add("370510043182", "图书馆一楼");
|
||||
list.Add("370510043183", "图书馆一楼");
|
||||
if (!list.ContainsKey(code))
|
||||
{
|
||||
return "未知";
|
||||
}
|
||||
return list[code];
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
public class IdName
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 15:10:19,617 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 15:10:19,694 [3] INFO loginfo - 开始
|
||||
2024-01-02 15:10:21,719 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 15:11:29,342 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 15:11:37,431 [3] INFO loginfo - 开始
|
||||
2024-01-02 15:12:03,917 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 15:20:09,074 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 15:20:09,151 [3] INFO loginfo - 开始
|
||||
2024-01-02 15:20:11,179 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 15:20:55,645 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 15:22:10,430 [3] INFO loginfo - 开始
|
||||
2024-01-02 15:23:28,993 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 15:44:30,465 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 15:44:37,481 [3] INFO loginfo - 开始
|
||||
2024-01-02 15:45:33,568 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 16:25:30,854 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 16:25:30,941 [3] INFO loginfo - 开始
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 16:26:12,047 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 16:26:12,817 [3] INFO loginfo - 开始
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 16:27:00,084 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 16:27:01,966 [3] INFO loginfo - 开始
|
||||
2024-01-02 16:27:03,991 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 16:27:24,175 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 16:27:34,398 [3] INFO loginfo - 开始
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 16:59:25,755 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 16:59:25,978 [3] INFO loginfo - 开始
|
||||
2024-01-02 16:59:26,045 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 17:07:29,851 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 17:07:36,773 [3] INFO loginfo - 开始
|
||||
2024-01-02 17:07:44,931 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 17:10:41,619 [3] INFO loginfo - 服务开始
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 17:14:38,140 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 17:16:10,386 [3] INFO loginfo - 开始
|
||||
2024-01-02 17:18:06,239 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 17:20:25,750 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 17:20:28,861 [3] INFO loginfo - 开始
|
||||
2024-01-02 17:20:41,527 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-02 18:09:50,990 [3] INFO loginfo - 服务开始
|
||||
2024-01-02 18:09:51,068 [3] INFO loginfo - 开始
|
||||
2024-01-02 18:09:51,122 [3] INFO loginfo - 连接成功
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
------------------------------------------------
|
||||
2024-01-02 15:16:57,579 [3] INFO loginfo - ·þÎñ¿ªÊ¼
|
||||
2024-01-02 15:16:57,662 [3] INFO loginfo - ¿ªÊ¼
|
||||
2024-01-02 15:16:59,678 [3] INFO loginfo - Á¬½Óʧ°Ü
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 10:14:08,669 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 10:14:08,743 [3] INFO loginfo - 开始
|
||||
2024-01-03 10:14:08,784 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 10:14:08,785 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 10:14:08,787 [3] INFO loginfo - 发布连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 10:54:27,880 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 10:54:36,072 [3] INFO loginfo - 开始
|
||||
2024-01-03 10:55:38,081 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 10:55:42,330 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 10:55:44,230 [3] INFO loginfo - 发布连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 11:16:48,278 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 11:17:04,123 [3] INFO loginfo - 开始
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 13:17:55,239 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 13:17:55,317 [3] INFO loginfo - 开始
|
||||
2024-01-03 13:17:57,332 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 13:17:57,333 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 13:17:59,334 [3] INFO loginfo - 发布连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:07:54,659 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:07:54,835 [3] INFO loginfo - 开始
|
||||
2024-01-03 14:07:55,007 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:07:55,010 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:07:55,021 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-03 14:08:14,918 [8] INFO loginfo - 进入方法
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:09:38,788 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:09:39,851 [3] INFO loginfo - 开始
|
||||
2024-01-03 14:09:40,089 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:09:40,090 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:09:40,103 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-03 14:09:50,679 [8] INFO loginfo - 进入方法
|
||||
2024-01-03 14:10:05,285 [8] INFO loginfo - 数据1data{
|
||||
"dev":[{
|
||||
"d":[{
|
||||
"m":"tname1",
|
||||
"ts":155522222,
|
||||
"v":0,
|
||||
"dq":192
|
||||
}],
|
||||
"dev":"desdxddxa"
|
||||
}],
|
||||
"pKey":"/sssaAAAAAA/AAAWEEDED",
|
||||
"sn":"/ccccccc/ssssssss",
|
||||
"ver":"2.0.0"
|
||||
}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:26:41,153 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:26:41,232 [3] INFO loginfo - 开始
|
||||
2024-01-03 14:26:46,331 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:26:46,333 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:26:46,371 [3] INFO loginfo - 发布连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:28:30,923 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:28:31,202 [3] INFO loginfo - 开始
|
||||
2024-01-03 14:28:36,293 [3] INFO loginfo - 连接失败
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 14:28:36,295 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 14:29:31,560 [3] INFO loginfo - 发布连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 18:02:07,939 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 18:02:08,037 [3] INFO loginfo - 开始
|
||||
2024-01-03 18:02:08,145 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-03 18:02:08,146 [3] INFO loginfo - 服务开始
|
||||
2024-01-03 18:02:08,426 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-03 18:03:06,562 [20] INFO loginfo - 进入方法
|
||||
2024-01-03 18:03:06,819 [20] INFO loginfo - 数据1data{
|
||||
"dev":[{
|
||||
"d":[{
|
||||
"m":"tname1",
|
||||
"ts":155522222,
|
||||
"v":0,
|
||||
"dq":192
|
||||
}],
|
||||
"dev":"desdxddxa"
|
||||
}],
|
||||
"pKey":"/sssaAAAAAA/AAAWEEDED",
|
||||
"sn":"/ccccccc/ssssssss",
|
||||
"ver":"2.0.0"
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,179 @@
|
|||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 14:40:18,784 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 14:40:18,873 [3] INFO loginfo - 开始
|
||||
2024-01-04 14:40:19,177 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 14:40:19,179 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 14:40:19,180 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 14:40:31,869 [13] INFO loginfo - 进入方法
|
||||
2024-01-04 14:40:34,072 [13] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 14:42:30,025 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 14:42:30,103 [3] INFO loginfo - 开始
|
||||
2024-01-04 14:42:30,227 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 14:42:30,229 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 14:42:30,230 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 14:42:38,664 [9] INFO loginfo - 进入方法
|
||||
2024-01-04 14:42:40,663 [9] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:24:34,295 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:24:34,391 [3] INFO loginfo - 开始
|
||||
2024-01-04 16:24:37,891 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:24:37,893 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:24:37,895 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 16:24:43,359 [10] INFO loginfo - 进入方法
|
||||
2024-01-04 16:24:44,742 [10] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:27:29,533 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:27:29,613 [3] INFO loginfo - 开始
|
||||
2024-01-04 16:27:29,688 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:27:29,690 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:27:29,690 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 16:27:37,859 [9] INFO loginfo - 进入方法
|
||||
2024-01-04 16:27:40,620 [9] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 16:28:27,919 [9] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 16:29:16,366 [5] INFO loginfo - 进入方法
|
||||
2024-01-04 16:29:17,324 [5] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 16:29:28,205 [5] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 16:29:43,831 [21] INFO loginfo - 进入方法
|
||||
2024-01-04 16:29:45,038 [21] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 16:29:47,093 [21] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 16:31:25,022 [28] INFO loginfo - 进入方法
|
||||
2024-01-04 16:31:25,800 [28] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 16:31:35,768 [28] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 16:33:15,470 [53] INFO loginfo - 进入方法
|
||||
2024-01-04 16:33:16,526 [53] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 16:33:44,165 [53] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 16:34:04,801 [60] INFO loginfo - 进入方法
|
||||
2024-01-04 16:34:05,957 [60] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:43:41,402 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:43:41,514 [3] INFO loginfo - 开始
|
||||
2024-01-04 16:43:41,701 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 16:43:41,703 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 16:43:41,704 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 16:43:47,265 [12] INFO loginfo - 进入方法
|
||||
2024-01-04 16:43:49,496 [12] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:02:59,575 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:02:59,712 [3] INFO loginfo - 开始
|
||||
2024-01-04 17:02:59,822 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:02:59,824 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:02:59,825 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 17:03:12,070 [10] INFO loginfo - 进入方法
|
||||
2024-01-04 17:03:15,660 [10] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 17:04:38,962 [10] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 17:04:39,124 [14] INFO loginfo - 网络异常,准备10秒后重新连接。
|
||||
2024-01-04 17:04:49,125 [14] INFO loginfo - 准备重新连接服务器...
|
||||
2024-01-04 17:04:49,157 [14] INFO loginfo - 连接服务器成功!
|
||||
2024-01-04 17:05:03,315 [14] INFO loginfo - 网络异常,准备10秒后重新连接。
|
||||
2024-01-04 17:05:13,316 [14] INFO loginfo - 准备重新连接服务器...
|
||||
2024-01-04 17:05:13,353 [14] INFO loginfo - 连接服务器成功!
|
||||
2024-01-04 17:05:21,752 [18] INFO loginfo - 进入方法
|
||||
2024-01-04 17:05:26,459 [18] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 17:06:19,477 [18] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 17:07:13,264 [25] INFO loginfo - 进入方法
|
||||
2024-01-04 17:07:13,266 [25] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:08:43,733 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:08:43,845 [3] INFO loginfo - 开始
|
||||
2024-01-04 17:08:43,970 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:08:43,971 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:08:43,973 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 17:09:08,348 [13] INFO loginfo - 进入方法
|
||||
2024-01-04 17:09:08,523 [13] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 17:09:12,258 [13] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 17:09:34,523 [11] INFO loginfo - 进入方法
|
||||
2024-01-04 17:09:34,523 [11] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:10:25,276 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:10:25,397 [3] INFO loginfo - 开始
|
||||
2024-01-04 17:10:25,510 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:10:25,512 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:10:25,513 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 17:10:29,334 [9] INFO loginfo - 进入方法
|
||||
2024-01-04 17:10:29,521 [9] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 17:12:00,605 [9] INFO loginfo - 处理失败,数据:{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
,原因:已添加了具有相同键的项。
|
||||
2024-01-04 17:12:00,724 [19] INFO loginfo - 网络异常,准备10秒后重新连接。
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:12:04,718 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:12:04,836 [3] INFO loginfo - 开始
|
||||
2024-01-04 17:12:04,941 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 17:12:04,943 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 17:12:04,945 [3] INFO loginfo - 发布连接成功
|
||||
2024-01-04 17:12:11,509 [9] INFO loginfo - 进入方法
|
||||
2024-01-04 17:12:11,684 [9] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
2024-01-04 17:12:36,409 [15] INFO loginfo - 进入方法
|
||||
2024-01-04 17:12:38,417 [15] INFO loginfo - 数据1data{"devs":[{"d":[{"dq":192,"m":"010400051","ts":1704342327,"v":88.667},{"dq":192,"m":"01040005","ts":1704342327,"v":5.000},{"dq":192,"m":"1040006","ts":1704342327,"v":4.000},{"dq":192,"m":"1040007","ts":1704342327,"v":3.000},{"dq":192,"m":"1040008","ts":1704342327,"v":2.000},{"dq":192,"m":"1040009","ts":1704342327,"v":1.000}],"dev":"310510043001"}],"pKey":"data","sn":"6e352ec4-82fc-4db4-80fd-6699871dd1d2","ts":1704342327,"ver":"2.0.0"}
|
||||
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 18:03:26,302 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 18:03:26,422 [3] INFO loginfo - 开始
|
||||
2024-01-04 18:03:26,612 [3] INFO loginfo - 连接成功
|
||||
------------------------------------------------
|
||||
------------------------------------------------
|
||||
2024-01-04 18:03:26,615 [3] INFO loginfo - 服务开始
|
||||
2024-01-04 18:03:26,616 [3] INFO loginfo - 发布连接成功
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<assemblyIdentity name="ServiceSecurity.application" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<description asmv2:publisher="ServiceSecurity" asmv2:product="ServiceSecurity" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<deployment install="true" mapFileExtensions="true" />
|
||||
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<framework targetVersion="4.7.2" profile="Full" supportedRuntime="4.0.30319" />
|
||||
</compatibleFrameworks>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" codebase="ServiceSecurity.exe.manifest" size="8754">
|
||||
<assemblyIdentity name="ServiceSecurity.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>J0tTq3mxGG7wonr3/aIYzgMap5+sS1Z+uD0hKIVt6YY=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||||
|
||||
</configSections>
|
||||
<log4net>
|
||||
<root>
|
||||
<level value="ALL"/>
|
||||
<appender-ref ref="SysAppender"/>
|
||||
</root>
|
||||
<logger name="WebLogger">
|
||||
<level value="DEBUG"/>
|
||||
</logger>
|
||||
<appender name="SysAppender" type="log4net.Appender.RollingFileAppender,log4net">
|
||||
<param name="File" value="App_Data/"/>
|
||||
<param name="AppendToFile" value="true"/>
|
||||
<param name="RollingStyle" value="Date"/>
|
||||
<param name="DatePattern" value=""Logs_"yyyyMMdd".txt""/>
|
||||
<param name="StaticLogFileName" value="false"/>
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
<param name="Header" value=" ------------------------------------------------
|
||||
"/>
|
||||
<param name="Footer" value=" ------------------------------------------------
|
||||
"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="consoleApp" type="log4net.Appender.ConsoleAppender,log4net">
|
||||
<layout type="log4net.Layout.PatternLayout,log4net">
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
</log4net>
|
||||
<appSettings>
|
||||
<add key="ConnectionString" value="Data Source=127.0.0.1;Database=dongying;User ID=root;Password=0822;Charset=gbk;convert zero datetime=True"/>
|
||||
<!--是否测试-->
|
||||
<add key="is_debug" value="1"/>
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
|
|
@ -0,0 +1,161 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<asmv1:assemblyIdentity name="ServiceSecurity.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<application />
|
||||
<entryPoint>
|
||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<commandLine file="ServiceSecurity.exe" parameters="" />
|
||||
</entryPoint>
|
||||
<trustInfo>
|
||||
<security>
|
||||
<applicationRequestMinimum>
|
||||
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
</applicationRequestMinimum>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!--
|
||||
UAC 清单选项
|
||||
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
|
||||
requestedExecutionLevel 节点。
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
如果要利用文件和注册表虚拟化提供
|
||||
向后兼容性,请删除 requestedExecutionLevel 节点。
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<dependency>
|
||||
<dependentOS>
|
||||
<osVersionInfo>
|
||||
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
|
||||
</osVersionInfo>
|
||||
</dependentOS>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
|
||||
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DataServer.dll" size="36864">
|
||||
<assemblyIdentity name="DataServer" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>5ys3FX0GwC5HbQQsJ01Um+KJ1sFYZimJviQ4EsvPty0=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="HslCommunication.dll" size="3047936">
|
||||
<assemblyIdentity name="HslCommunication" version="10.1.2.0" publicKeyToken="CDB2261FA039ED67" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>+D3v33g63cmNr1daEzrEGzHpwW0ARcLmGeKepWvdhWs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="LitJSON.dll" size="62976">
|
||||
<assemblyIdentity name="LitJSON" version="0.18.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>3uhbnWL34oYEnFBShv37JTiM0R2CABTckj4xdTBJw9I=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="log4net.dll" size="276480">
|
||||
<assemblyIdentity name="log4net" version="2.0.8.0" publicKeyToken="669E0DDF0BB1AA2A" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>r1YQxRXSJE25jGYmNiZMgXfomxr+QH+I/RikHWb25+I=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Maticsoft.Common.dll" size="57344">
|
||||
<assemblyIdentity name="Maticsoft.Common" version="3.5.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>M1lCQ392X+7t5zr+q4noPGzaAmpyuoh3ws4dyZy4t+o=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Maticsoft.DBUtility.dll" size="65536">
|
||||
<assemblyIdentity name="Maticsoft.DBUtility" version="3.5.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>kNSmBt8AYfM/vYXyvJGwXpYD5PV5rJZEVNWK/ZadDYo=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="MySql.Data.dll" size="369152">
|
||||
<assemblyIdentity name="MySql.Data" version="6.4.3.0" publicKeyToken="C5687FC88969C44D" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>OEzmEfLJXlWocY6Tkfrot+E9JwHSz2pBdDSiTJbM9NE=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Newtonsoft.Json.dll" size="700336">
|
||||
<assemblyIdentity name="Newtonsoft.Json" version="12.0.0.0" publicKeyToken="30AD4FE6B2A6AEED" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>f5ErKKB8Im4L46z7L1fwUFOKugEA+h8L8sOfGh8dqBQ=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="29152">
|
||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>AbKS0+JSVPlZR8uzUbbRI1ytNc4cHXFjp0FGtyZNKoM=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<file name="ServiceSecurity.exe.config" size="1662">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>VC/A5PcG7jGUjkYp+iJdt5taMiQQCGcMd27PLz5jnfs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.6", FrameworkDisplayName = ".NET Framework 4.6")]
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1 @@
|
|||
a042ae5e10c88f431d83088528db5952b0a78fa9
|
||||
|
|
@ -0,0 +1,27 @@
|
|||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.csproj.AssemblyReference.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.csproj.SuggestedBindingRedirects.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.csproj.CoreCompileInputs.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.ProjectInstaller.resources
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.csproj.GenerateResource.cache
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\ServiceSecurity.exe.config
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\ServiceSecurity.exe
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\ServiceSecurity.pdb
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\DataServer.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\HslCommunication.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\LitJSON.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\log4net.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Newtonsoft.Json.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\DataServer.pdb
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\HslCommunication.xml
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\log4net.xml
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Newtonsoft.Json.xml
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\Security.csproj.CopyComplete
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\ServiceSecurity.exe
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\ServiceSecurity.pdb
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\ServiceSecurity.exe.manifest
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\ServiceSecurity.application
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\ServiceSecurity.exe.manifest
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\obj\Debug\ServiceSecurity.application
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\MySql.Data.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Maticsoft.DBUtility.dll
|
||||
E:\林谷项目\东营两馆一宫\后端框架\DongYingAPI\Security\bin\Debug\Maticsoft.Common.dll
|
||||
Binary file not shown.
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<assemblyIdentity name="ServiceSecurity.application" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<description asmv2:publisher="ServiceSecurity" asmv2:product="ServiceSecurity" xmlns="urn:schemas-microsoft-com:asm.v1" />
|
||||
<deployment install="true" mapFileExtensions="true" />
|
||||
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<framework targetVersion="4.7.2" profile="Full" supportedRuntime="4.0.30319" />
|
||||
</compatibleFrameworks>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" codebase="ServiceSecurity.exe.manifest" size="8754">
|
||||
<assemblyIdentity name="ServiceSecurity.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>J0tTq3mxGG7wonr3/aIYzgMap5+sS1Z+uD0hKIVt6YY=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</asmv1:assembly>
|
||||
Binary file not shown.
|
|
@ -0,0 +1,161 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
|
||||
<asmv1:assemblyIdentity name="ServiceSecurity.exe" version="1.0.0.2" publicKeyToken="0000000000000000" language="neutral" processorArchitecture="msil" type="win32" />
|
||||
<application />
|
||||
<entryPoint>
|
||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<commandLine file="ServiceSecurity.exe" parameters="" />
|
||||
</entryPoint>
|
||||
<trustInfo>
|
||||
<security>
|
||||
<applicationRequestMinimum>
|
||||
<PermissionSet Unrestricted="true" ID="Custom" SameSite="site" />
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
</applicationRequestMinimum>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!--
|
||||
UAC 清单选项
|
||||
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
|
||||
requestedExecutionLevel 节点。
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
如果要利用文件和注册表虚拟化提供
|
||||
向后兼容性,请删除 requestedExecutionLevel 节点。
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<dependency>
|
||||
<dependentOS>
|
||||
<osVersionInfo>
|
||||
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
|
||||
</osVersionInfo>
|
||||
</dependentOS>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
|
||||
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DataServer.dll" size="36864">
|
||||
<assemblyIdentity name="DataServer" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>5ys3FX0GwC5HbQQsJ01Um+KJ1sFYZimJviQ4EsvPty0=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="HslCommunication.dll" size="3047936">
|
||||
<assemblyIdentity name="HslCommunication" version="10.1.2.0" publicKeyToken="CDB2261FA039ED67" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>+D3v33g63cmNr1daEzrEGzHpwW0ARcLmGeKepWvdhWs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="LitJSON.dll" size="62976">
|
||||
<assemblyIdentity name="LitJSON" version="0.18.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>3uhbnWL34oYEnFBShv37JTiM0R2CABTckj4xdTBJw9I=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="log4net.dll" size="276480">
|
||||
<assemblyIdentity name="log4net" version="2.0.8.0" publicKeyToken="669E0DDF0BB1AA2A" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>r1YQxRXSJE25jGYmNiZMgXfomxr+QH+I/RikHWb25+I=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Maticsoft.Common.dll" size="57344">
|
||||
<assemblyIdentity name="Maticsoft.Common" version="3.5.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>M1lCQ392X+7t5zr+q4noPGzaAmpyuoh3ws4dyZy4t+o=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Maticsoft.DBUtility.dll" size="65536">
|
||||
<assemblyIdentity name="Maticsoft.DBUtility" version="3.5.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>kNSmBt8AYfM/vYXyvJGwXpYD5PV5rJZEVNWK/ZadDYo=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="MySql.Data.dll" size="369152">
|
||||
<assemblyIdentity name="MySql.Data" version="6.4.3.0" publicKeyToken="C5687FC88969C44D" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>OEzmEfLJXlWocY6Tkfrot+E9JwHSz2pBdDSiTJbM9NE=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Newtonsoft.Json.dll" size="700336">
|
||||
<assemblyIdentity name="Newtonsoft.Json" version="12.0.0.0" publicKeyToken="30AD4FE6B2A6AEED" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>f5ErKKB8Im4L46z7L1fwUFOKugEA+h8L8sOfGh8dqBQ=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ServiceSecurity.exe" size="29152">
|
||||
<assemblyIdentity name="ServiceSecurity" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>AbKS0+JSVPlZR8uzUbbRI1ytNc4cHXFjp0FGtyZNKoM=</dsig:DigestValue>
|
||||
</hash>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
<file name="ServiceSecurity.exe.config" size="1662">
|
||||
<hash>
|
||||
<dsig:Transforms>
|
||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||
</dsig:Transforms>
|
||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
|
||||
<dsig:DigestValue>VC/A5PcG7jGUjkYp+iJdt5taMiQQCGcMd27PLz5jnfs=</dsig:DigestValue>
|
||||
</hash>
|
||||
</file>
|
||||
</asmv1:assembly>
|
||||
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