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.
246 lines
12 KiB
246 lines
12 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<configSections>
|
|
<!--日志组件配置-->
|
|
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
|
|
<section name="cachingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Caching.Configuration.CacheManagerSettings,Microsoft.Practices.EnterpriseLibrary.Caching, Version=5.0.414.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true"/>
|
|
</configSections>
|
|
<appSettings>
|
|
<add key="sfserver" value="AppServerHost=192.168.3.154;GatewayHost=;MessageServerHost=;LogonGroup=;SystemNumber=00;Client=800;User=BAOCHUNBIN;Password=qiming;Language=ZH;PoolSize=5;MaxPoolSize=10;IdleTimeout=600;OnlineMode=;SystemID=DEV;SAPFirstUser=MS-FS;SAPSecondUser=SAPSecondUser;" />
|
|
<add key="sfversion" value="3.0" />
|
|
<!--配置数据字典-->
|
|
<add key="Dictionary" value="App_Data\Dictionary.xml"/>
|
|
|
|
<add key="ServiceCredentialID" value="d7911036-d36f-460f-a052-979628322df3" />
|
|
<!--服务调用凭据-->
|
|
<add key="ServiceCredential" value="123456"/>
|
|
<add key="Location" value="CC" />
|
|
|
|
<add key="MoulderConfig" value="TRUE" />
|
|
|
|
<!--报警自动发送,邮件相关配置-->
|
|
<!--SMTP服务器-->
|
|
<add key="SmtpServer" value="123.185.67.209" />
|
|
<!--用户名-->
|
|
<add key="SmtpUser" value="jinghe.zhang" />
|
|
<!--密码-->
|
|
<add key="SmtpPassword" value="" />
|
|
<!--邮件服务器-->
|
|
<add key="DoMain" value="mail.qmht.cn" />
|
|
<!--发件人邮箱-->
|
|
<add key="FromUserMail" value="" />
|
|
|
|
<!--COM口名称-->
|
|
<add key="CommPort" value="COM1"/>
|
|
<!--邮件服务器地址-->
|
|
<add key="SmtpServerAndon" value="192.168.1.123"/>
|
|
<!--发送人用户-->
|
|
<add key="SenderUser" value="Admin"/>
|
|
<!--发送人密码-->
|
|
<add key="SenderPassword" value="123456"/>
|
|
<!--邮件服务器-->
|
|
<add key="DoMainAndon" value="POP3.163.com"/>
|
|
<!--发件人邮箱-->
|
|
<add key="SenderUserEmail" value="admin@163.com"/>
|
|
<!--邮件标题-->
|
|
<add key="Subject" value="报警"/>
|
|
|
|
<!--设备合模次数同步服务-->
|
|
<!--报告人-->
|
|
<add key="INSPECTOR" value="QDMES01" />
|
|
<!--仪表编号-->
|
|
<add key="METERNAME" value="QDMESR" />
|
|
|
|
<!--门板fis同步服务-->
|
|
<!--是否屏蔽计划-->
|
|
<add key="IsPlan" value="0" />
|
|
|
|
<!--指示灯控制器项目文件-->
|
|
<add key ="XGateProjectPath" value="D:\ADIENT_CD_MES.PTLInstallProject.xml"/>
|
|
<add key ="XGatePanelLight" value="Blue"/>
|
|
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<!--主数据库连接-->
|
|
|
|
|
|
<add name="maindb" connectionString="Data Source=10.111.144.98;Initial Catalog=ADIENT_CD_MES;User Id=CDMESADM;Password=CDmes123;max pool size=10240;" providerName="System.Data.SqlClient"/>
|
|
|
|
<add name="maindbBZD" connectionString="Data Source=10.111.144.98;Initial Catalog=BZD;User Id=CDMESADM;Password=CDmes123;" providerName="System.Data.SqlClient"/>
|
|
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=123.56.115.74;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=qwe123$%^;" providerName="System.Data.SqlClient" />-->
|
|
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.111.144.99;Initial Catalog=ADIENT_CD_MES9;User Id=sa;Password=Password2018;max pool size=10240;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.117.133.48;Initial Catalog=ADIENT_TJ_MES;User Id=sa;Password=ASDqwe123!@#;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
<!--<add name="maindbYBB" connectionString="Data Source=10.111.144.72;Initial Catalog=CdFisYbbNCSNF;User Id=mesreaderdcs;Password=mesreaderdcs;" providerName="System.Data.SqlClient"/>
|
|
<add name="maindbNCSYBB" connectionString="Data Source=10.111.144.72;Initial Catalog=CdFisYbbDY;User Id=mesreaderdcs;Password=mesreaderdcs;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
<!--<add name="maindbBZD" connectionString="Data Source=10.111.144.99;Initial Catalog=BZD;User Id=sa;Password=Password2018;" providerName="System.Data.SqlClient"/>-->
|
|
|
|
<!--<add name="maindb" connectionString="Data Source=10.114.50.240;Initial Catalog=ADIENT_QD_MES;Persist Security Info=True;User ID=qdmes;Password=Password1;" providerName="System.Data.SqlClient"/>
|
|
<add name="maindbMB" connectionString="Data Source=10.123.4.20;Initial Catalog=QdFisMB;Persist Security Info=True;User ID=sa;Password=qm;" providerName="System.Data.SqlClient"/>
|
|
<add name="maindbYBB" connectionString="Data Source=10.123.4.20;Initial Catalog=QdFisYBB;Persist Security Info=True;User ID=sa;Password=qm;" providerName="System.Data.SqlClient"/>-->
|
|
</connectionStrings>
|
|
<!--缓存设置-->
|
|
<cachingConfiguration defaultCacheManager="Cache Manager">
|
|
<cacheManagers>
|
|
<add name="Cache Manager" type="Microsoft.Practices.EnterpriseLibrary.Caching.CacheManager,Microsoft.Practices.EnterpriseLibrary.Caching, Version=5.0.414.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35"
|
|
expirationPollFrequencyInSeconds="60" maximumElementsInCacheBeforeScavenging="1000"
|
|
numberToRemoveWhenScavenging="10" backingStoreName="NullBackingStore"/>
|
|
</cacheManagers>
|
|
<backingStores>
|
|
<add type="Microsoft.Practices.EnterpriseLibrary.Caching.BackingStoreImplementations.NullBackingStore,Microsoft.Practices.EnterpriseLibrary.Caching, Version=5.0.414.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="NullBackingStore"/>
|
|
</backingStores>
|
|
</cachingConfiguration>
|
|
<!--日志组件配置-->
|
|
<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".txt"" />
|
|
<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".txt"" />
|
|
<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".txt"" />
|
|
<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.web>
|
|
<compilation debug="true" targetFramework="4.0" />
|
|
</system.web>
|
|
<system.serviceModel>
|
|
<client>
|
|
<endpoint address="http://10.111.226.149:8000/ServiceModelSamples/service"
|
|
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IBarCodePrint"
|
|
contract="BarCodePrintService.IBarCodePrint" name="WSHttpBinding_IBarCodePrint" />
|
|
</client>
|
|
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" aspNetCompatibilityEnabled="true" />
|
|
<bindings>
|
|
<basicHttpBinding>
|
|
<binding name="NoneSecurity" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"
|
|
useDefaultWebProxy="false">
|
|
<readerQuotas maxStringContentLength="9097152" maxArrayLength="16384"
|
|
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
<security mode="None" />
|
|
</binding>
|
|
</basicHttpBinding>
|
|
<wsHttpBinding>
|
|
<binding name="WSHttpBinding_IBarCodePrint" closeTimeout="00:01:00"
|
|
openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
|
|
bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
|
|
maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" messageEncoding="Text"
|
|
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
|
|
<readerQuotas maxDepth="32" maxStringContentLength="9097152" maxArrayLength="16384"
|
|
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
|
|
<reliableSession ordered="true" inactivityTimeout="00:10:00"
|
|
enabled="false" />
|
|
<security mode="None">
|
|
<transport clientCredentialType="Windows" proxyCredentialType="None"
|
|
realm="" />
|
|
<message clientCredentialType="Windows" negotiateServiceCredential="true" />
|
|
</security>
|
|
</binding>
|
|
</wsHttpBinding>
|
|
</bindings>
|
|
<services>
|
|
|
|
<service behaviorConfiguration="GeneralServiceBehavior" name="QMFrameWork.WebServiceHost.GeneralService">
|
|
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="NoneSecurity" contract="QMFrameWork.WebServiceHost.IGeneralService">
|
|
<identity>
|
|
<dns value="localhost" />
|
|
</identity>
|
|
</endpoint>
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
</service>
|
|
|
|
<service behaviorConfiguration="GeneralServiceBehavior" name="QMFrameWork.WebServiceHost.OpcService">
|
|
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="NoneSecurity" contract="QMFrameWork.WebServiceHost.IOpcService">
|
|
<identity>
|
|
<dns value="localhost" />
|
|
</identity>
|
|
</endpoint>
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
</service>
|
|
|
|
<service behaviorConfiguration="GeneralServiceBehavior" name="QMFrameWork.WebServiceHost.AirbagSupportPackageService">
|
|
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="NoneSecurity" contract="QMFrameWork.WebServiceHost.IAirbagSupportPackageService">
|
|
<identity>
|
|
<dns value="localhost" />
|
|
</identity>
|
|
</endpoint>
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
</service>
|
|
|
|
<service behaviorConfiguration="GeneralServiceBehavior" name="QMFrameWork.WebServiceHost.LoginService">
|
|
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="NoneSecurity" contract="QMFrameWork.WebServiceHost.ILoginService">
|
|
<identity>
|
|
<dns value="localhost" />
|
|
</identity>
|
|
</endpoint>
|
|
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
|
|
</service>
|
|
|
|
</services>
|
|
<behaviors>
|
|
<serviceBehaviors>
|
|
<behavior name="GeneralServiceBehavior">
|
|
<serviceThrottling maxConcurrentCalls="1000" maxConcurrentInstances="1000" maxConcurrentSessions="1000"/>
|
|
<serviceMetadata httpGetEnabled="true" />
|
|
<serviceDebug includeExceptionDetailInFaults="false" />
|
|
</behavior>
|
|
<behavior name="">
|
|
<serviceMetadata httpGetEnabled="true" />
|
|
<serviceDebug includeExceptionDetailInFaults="false" />
|
|
</behavior>
|
|
</serviceBehaviors>
|
|
</behaviors>
|
|
</system.serviceModel>
|
|
<system.webServer>
|
|
<modules runAllManagedModulesForAllRequests="true" />
|
|
<directoryBrowse enabled="true" />
|
|
</system.webServer>
|
|
|
|
</configuration>
|
|
|