<?xml version="1.0" encoding="utf-8"?>
|
<configuration>
|
<configSections>
|
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework"/>
|
</configSections>
|
<connectionStrings>
|
<add name="NFineDbContext" connectionString="Data Source=DESKTOP-DSS9VVU;Initial Catalog=OIDATABASE;User ID=sa;Password=aux!123;" providerName="System.Data.SqlClient"/>
|
</connectionStrings>
|
<entityFramework>
|
<providers>
|
|
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
|
</providers>
|
</entityFramework>
|
<appSettings>
|
<!--启动实例数量限制-->
|
<add key="InstanceLimit" value="1"/>
|
<!--是否自动启动PLC(1是,0否)-->
|
<add key="AutoRunPlc" value="1"/>
|
<!--日志目录-->
|
<add key="LogDir" value="D:\WCS.LogDB"/>
|
<!--日志文件名-->
|
<add key="LogFile" value="S7Log"/>
|
<!--日志保存期限(天)-->
|
<add key="LogDelDays" value="30"/>
|
<!--日志删除等级-->
|
<add key="LogDelLevel" value="3"/>
|
<!--是否开启调试日志Debug(1是,0否)-->
|
<add key="LogDebug" value="1"/>
|
<!--是否开启通知日志Info(1是,0否)-->
|
<add key="LogInfo" value="1"/>
|
<!--是否开启警告日志Warn(1是,0否)-->
|
<add key="LogWarn" value="1"/>
|
<!--是否开启错误日志Error(1是,0否)-->
|
<add key="LogError" value="1"/>
|
<!--Redis服务地址-->
|
<add key="RedisServerSession" value="127.0.0.1:6379"/>
|
<!--Redis读取池-->
|
<add key="RedisMaxReadPool" value="1000"/>
|
<!--Redis写入池-->
|
<add key="RedisMaxWritePool" value="1000"/>
|
<!--是否自动启动PLC(1是,0否)-->
|
<add key="AutoRunPLC" value="1"/>
|
<!--Redis数据库-->
|
<add key="RedisDefaultDb" value="DB0"/>
|
<!--sql去除char(n)末尾空格-->
|
<add key="sql_TrimEndSpace" value="true"/>
|
</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>
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|