<?xml version="1.0" encoding="utf-8"?>
|
<configuration>
|
<configSections>
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework"/>
|
</configSections>
|
<connectionStrings>
|
</connectionStrings>
|
<entityFramework>
|
<providers>
|
</providers>
|
</entityFramework>
|
<appSettings>
|
<!--启动实例数量限制-->
|
<add key="InstanceLimit" value="1"/>
|
<!--是否自动启动PLC(1是,0否)-->
|
<add key="AutoRunPlc" value="1"/>
|
<!--Redis服务地址-->
|
<add key="RedisServerSession" value="127.0.0.1:6379"/>
|
<!--Redis读取池-->
|
<add key="RedisMaxReadPool" value="3"/>
|
<!--Redis写入池-->
|
<add key="RedisMaxWritePool" value="1"/>
|
<!--是否自动启动PLC(1是,0否)-->
|
<add key="AutoRunPLC" value="1"/>
|
<!--MongoConnStr-->
|
<add key="MongoConnStr" value="mongodb://localhost:27017?connectTimeoutMS=3000&socketTimeoutMS=5000"/>
|
<!--MongoDb-->
|
<add key="MongoDb" value="HnSx"/>
|
<!--MongoDb_PLC-->
|
<add key="MongoDb_PLC" value="HnSx_PLC"/>
|
<!--Redis数据库-->
|
<add key="RedisDefaultDb" value="DB0"/>
|
<!--默认语言-->
|
<add key="Lang" value=""/>
|
</appSettings>
|
<system.serviceModel>
|
<bindings>
|
<basicHttpBinding>
|
<binding maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"/>
|
</basicHttpBinding>
|
</bindings>
|
<client/>
|
<services>
|
<service name="MyServices">
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
|
<host>
|
<baseAddresses>
|
</baseAddresses>
|
</host>
|
</service>
|
</services>
|
<behaviors>
|
<serviceBehaviors>
|
<behavior>
|
<serviceMetadata httpGetEnabled="True" httpsGetEnabled="True"/>
|
<serviceDebug includeExceptionDetailInFaults="False"/>
|
</behavior>
|
</serviceBehaviors>
|
</behaviors>
|
</system.serviceModel>
|
<runtime>
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<dependentAssembly>
|
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral"/>
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"/>
|
</dependentAssembly>
|
</assemblyBinding>
|
</runtime>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|