You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

129 lines
6.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="soa" type="SOA.Config.ConfigHandler, SOA.Core" />
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=mes.nisco.cn)(PORT=1521))) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ora9))); User Id=user3d;Password=bkd3dksh;" providerName="Oracle.ManagedDataAccess" />
<add name="PlatformConnectionOracle" connectionString="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.63.30)(PORT=9910))) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl))); User Id=ipd_test;Password=iet_ipd;" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<soa>
<server>
<channel name="http" host="localhost" port="8210" />
</server>
<appService>
<!--<service object="" active=""/>-->
</appService>
<registries>
<registry id="center1" address="consul://localhost" port="8500" route="ipd" />
</registries>
<!--services-->
<!--service interface="timeservice" registry="center1" register="true" protocol="http"/>-->
<!--service interface="kpi/configservice" registry="center1" register="true" protocol="http"/>-->
<!--service interface="kpi" registry="center1" register="true" protocol="http"/>-->
<!--/services-->
<schedule>
<!--<job id="1" object="PDIDataHandling" trigger="timer(10)" active="true"/>-->
</schedule>
<objects>
<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=172.25.63.30)(PORT=9910))) (CONNECT_DATA=(SERVICE_NAME=orcl)));Connection Timeout=200; User Id=ipd_test;Password=iet_ipd;" />
</object>
<object id="db_sur" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=mes.nisco.cn)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=ora9)));Connection Timeout=200; User Id=user3d;Password=bkd3dksh;" />
</object>
<!--<object id="db" type="SOA.Persistent.OracleDataStore, SOA.Persistent" scope="prototype">
<constructor-arg value="Data Source=(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=47.103.104.33)(PORT=1521))) (CONNECT_DATA=(SERVICE_NAME=afmes))); User Id=ipd;Password=aabb;"/>
</object>-->
<!--<object id="cached" type="SOA.Cache.RedisCached, SOA.Core" scope="prototype">
<constructor-arg value="192.168.10.92"/>
</object>
<object id="redis" type="SOA.Redis.RedisClient, SOA.Data" scope="prototype">
<constructor-arg value="192.168.10.92"/>
</object>-->
<!--<object id="PDIDataHandling" type="PDIDataHandling.DataHandllerController, PDIDataHandling" scope="prototype"/>-->
<!--<object id="cached" type="SOA.Cache.SimpleCached, SOA.Core"/>-->
</objects>
</soa>
<log4net>
<appender name="ConsoleLogOutput" type="log4net.Appender.ConsoleAppender">
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="[%-5level] %date [%-5.5thread] %logger - %message%newline" />
</layout>
</appender>
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value=".\log\" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<param name="StaticLogFileName" value="false" />
<datePattern value="yyyyMM\\'logfile'_yyyyMMdd.'log'" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%thread] %-5level %logger [%property{NDC}] - %message%newline" />
</layout>
</appender>
<root>
<appender-ref ref="ConsoleLogOutput" />
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<!--<dependentAssembly>
<assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="4.2.2.0"/>
</dependentAssembly>-->
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<!--<dependentAssembly>
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>-->
</assemblyBinding>
</runtime>
<appSettings>
<!-- 工厂编号 -->
<add key="FAC_ID" value="C3" />
<add key="HB" value="2" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
</configuration>