天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
5.6 KiB

<?xml version="1.0"?>
<configuration>
<configSections>
<!--日志处理组件-->
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<appSettings>
<add key="Dictionary" value="Dictionary.xml" />
<!--服务端口-->
<add key="HtisPort" value="9501" />
<!--业务逻辑动态库路径-->
<add key="AWMSServiceUrl" value="http://10.123.4.16:8938/GeneralService.svc" />
<add key="BusinessDLLPath" value="" />
<add key="DBConnection" value="server=10.123.4.21;database=ADIENT_QD_MES;uid=mesadmin;pwd=qdMES123"/>
<add key="JK_MAT" value="ZT99_CHK_MDATAM" />
<add key="JK_CODE" value="ZT99_UPDATA_CODE" />
<add key="JK_CKYH" value="ZT99_NLK_CKYH" />
<add key="JK_GR" value="ZKANBAN_GR" />
<add key="FirstName" value="is-wk651" />
<add key="SecondName" value="is-wk651" />
<add key="JK_LIFNRS" value="ZT99_YH_LIFNRS" />
<!--sap接口信息-->
<add key="sfserver" value="AppServerHost=168.168.17.21;GatewayHost=;MessageServerHost=;LogonGroup=;SystemNumber=00;Client=096;User=is-wk651;Password=wk_20651;Language=ZH;PoolSize=5;MaxPoolSize=10;IdleTimeout=600;OnlineMode=;SystemID=Q11;SAPFirstUser=is-wk651;SAPSecondUser=SAPSecondUser;" />
<!--sap接口版本-->
<add key="sfversion" value="3.0" />
<!--与MQ200的服务接口-->
<add key="ServerIP" value="10.228.48.125" />
<add key="ServerPort" value="8398" />
<add key="CorpCode" value="H61" />
<add key="Location" value="成都" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<connectionStrings>
<!--主数据库连接-->
<!--<add name="maindb" connectionString="Data Source=10.123.4.21;Initial Catalog=ADIENT_QD_MES;User Id=mesadmin;Password=qdMES123;" providerName="System.Data.SqlClient"/>-->
<add name="maindb" connectionString="Data Source=119.3.213.202,13315;Initial Catalog=ADIENT_CD_MES;User Id=sa;Password=ChangkeTec@2020;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<!--日志组件配置开始-->
<log4net>
<logger name="loginfo">
<level value="INFO" />
<appender-ref ref="InfoAppender" />
</logger>
<logger name="debuginfo">
<level value="DEBUG" />
<appender-ref ref="DebugAppender" />
</logger>
<logger name="errorinfo">
<level value="ERROR" />
<appender-ref ref="ErrorAppender" />
</logger>
<appender name="InfoAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Log\\Info\\" />
<param name="AppendToFile" value="true" />
<param name="MaxFileSize" value="10240" />
<param name="MaxSizeRollBackups" value="100" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m" />
</layout>
</appender>
<appender name="DebugAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Log\\Debug\\" />
<param name="AppendToFile" value="true" />
<param name="MaxFileSize" value="10240" />
<param name="MaxSizeRollBackups" value="100" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m" />
</layout>
</appender>
<appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
<param name="File" value="Log\\Error\\" />
<param name="AppendToFile" value="true" />
<param name="MaxFileSize" value="10240" />
<param name="MaxSizeRollBackups" value="100" />
<param name="StaticLogFileName" value="false" />
<param name="DatePattern" value="yyyyMMdd&quot;.txt&quot;" />
<param name="RollingStyle" value="Date" />
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="日志时间:%d %n日志级别:%-5p %n日 志 类:%c [%x] %n%m " />
</layout>
</appender>
</log4net>
<system.data>
<DbProviderFactories>
<add name="SqlClient Data Provider" invariant="System.Data.SqlClient" description=".Net Framework Data Provider for SqlServer" type="System.Data.SqlClient.SqlClientFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</DbProviderFactories>
</system.data>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
</startup>
<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>