|
|
<?xml version="1.0"?>
|
|
|
<configuration>
|
|
|
<configSections>
|
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
|
|
</configSections>
|
|
|
<connectionStrings>
|
|
|
<add name="MailAnalyzeTools.Properties.Settings.ShippingWeb_LNHTConnectionString"
|
|
|
connectionString="Data Source=.;Initial Catalog=dongshengdata_jf;User ID=sa;Password=ds20040201"
|
|
|
providerName="System.Data.SqlClient" />
|
|
|
</connectionStrings>
|
|
|
<log4net>
|
|
|
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
|
|
|
<file value="log\\"/>
|
|
|
<appendToFile value="true"/>
|
|
|
<rollingStyle value="Date"/>
|
|
|
<datePattern value="yyyy\\yyyyMM\\yyyyMMdd'.txt'"/>
|
|
|
<staticLogFileName value="false"/>
|
|
|
<param name="MaxSizeRollBackups" value="100"/>
|
|
|
<layout type="log4net.Layout.PatternLayout">
|
|
|
<conversionPattern value="%newline %n记录时间:%date %n线程ID:[%thread] %n日志级别: %-5level %n出错类:%logger property: [%property{NDC}] - %n错误描述:%message%newline %n"/>
|
|
|
</layout>
|
|
|
</appender>
|
|
|
<root>
|
|
|
<level value="ERROR"/>
|
|
|
<appender-ref ref="RollingLogFileAppender"/>
|
|
|
</root>
|
|
|
</log4net>
|
|
|
<appSettings>
|
|
|
<!--数据库配置-->
|
|
|
<add key="ConnectionString" value="Data Source=ds-hxt;Initial Catalog=dongshengdata_jf;User ID=sa;Password=ds20040201"/>
|
|
|
<!--挂单文件使用的数据库-->
|
|
|
<add key="ConnectionStringFile" value="Data Source=ds-hxt;Initial Catalog=dongshengdata_jf;User ID=sa;Password=ds20040201"/>
|
|
|
<!--初始化要处理的邮件的起始日期-->
|
|
|
<add key="MailStartDate" value="2017-11-06"/>
|
|
|
<!-- BL FTP 服务器配置,不再使用,通过配置界面进行设置 -->
|
|
|
<add key="FtpServer" value="ftp://192.168.0.118/data2"/>
|
|
|
<add key="TimeZoneNum" value="8"/>
|
|
|
<add key="LoginID" value="user"/>
|
|
|
<add key="LoginPWD" value="user"/>
|
|
|
<add key="Port" value="21"/>
|
|
|
<add key="DownloadPath" value="F:\Download"/>
|
|
|
<!--BC报文FTP服务器配置-->
|
|
|
<add key="BcFtpServer_AuoDeal" value="1"/>
|
|
|
<add key="BcFtpServer" value="ftp://localhost/bc"/>
|
|
|
<add key="BcTimeZoneNum" value="8"/>
|
|
|
<add key="BcLoginID" value="user"/>
|
|
|
<add key="BcLoginPWD" value="user"/>
|
|
|
<add key="BcAutoDownload" value="1"/>
|
|
|
<add key="BcPort" value="21"/>
|
|
|
<add key="BcDownloadPath" value="F:\Download\BC"/>
|
|
|
<!--是否自动转发BC报文-->
|
|
|
<add key="BcMailAutoForword" value="0"/>
|
|
|
<!--Invoice报文服务器配置-->
|
|
|
<add key="InvoiceFtpServer_AuoDeal" value="1"/>
|
|
|
<add key="InvoiceFtpServer" value="ftp://localhost/Invoice"/>
|
|
|
<add key="InvoiceTimeZoneNum" value="8"/>
|
|
|
<add key="InvoiceLoginID" value="user"/>
|
|
|
<add key="InvoiceLoginPWD" value="user"/>
|
|
|
<add key="InvoiceAutoDownload" value="1"/>
|
|
|
<add key="InvoicePort" value="21"/>
|
|
|
<add key="InvoiceDownloadPath" value="F:\Download\Invoice"/>
|
|
|
<!--下面是鸿安货运edi的报文设置内容-->
|
|
|
<add key="HA_Edi_AuoDeal" value="0"/>
|
|
|
<!--HA_Edi_Path 鸿安货运原始edi报文位置-->
|
|
|
<add key="HA_Edi_Path" value="F:\cjb_work\鸿安\edi\"/>
|
|
|
<!--HA_Edi_TargetPath 鸿安货运edi报文目标位置 -->
|
|
|
<add key="HA_Edi_TargetPath" value="F:\cjb_work\鸿安\ediOK\"/>
|
|
|
</appSettings>
|
|
|
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
|