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