| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 | <?xml version="1.0" encoding="utf-8"?><configuration>	<configSections>		<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net "/>	</configSections>	<startup useLegacyV2RuntimeActivationPolicy="true">		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>	</startup>	<connectionStrings>		<add name="PostgreSQL" connectionString="Server=localhost;Port=5432;User Id=postgres;Password=123456;Database=postgres;Enlist=true;Preload Reader = true;"/>	</connectionStrings>	<appSettings>		<add key="IsSimulationMode" value="false"/>		<add key="RobotAddress" value="127.0.0.1:10110"/>		<add key="AlignerAddress" value="127.0.0.1:10111"/>		<add key="WIDReaderAddress" value="127.0.0.1:23"/>		<add key="Su" value="21232f297a57a5a743894a0e4a801fc3"/>		<add key="ClientSettingsProvider.ServiceUri" value=""/>	</appSettings>	<log4net>		<appender name="fileAppender" type="log4net.Appender.RollingFileAppender">			<param name="Encoding" value="utf-8" />			<param name="File" value="Logs\log"/>			<param name="AppendToFile" value="true"/>			<param name="RollingStyle" value="Date"/>			<param name="StaticLogFileName" value="false"/>			<datePattern value="yyyyMMdd'.txt'"/>			<layout type="log4net.Layout.PatternLayout,log4net">				<param name="ConversionPattern" value="%m%n"/>				<param name="Header" value="<== "/>				<param name="Footer" value="==>"/>			</layout>		</appender>		<root>			<level value="ALL"/>			<appender-ref ref="fileAppender"/>		</root>	</log4net>	<system.diagnostics>		<sources>			<source name="System.ServiceModel" switchValue="Information,ActivityTracing" propagateActivity="true">				<listeners>					<add name="xml"/>				</listeners>			</source>			<source name="System.ServiceModel.MessageLogging">				<listeners>					<add name="xml"/>				</listeners>			</source>		</sources>		<sharedListeners>			<add initializeData="C:\logs\TracingAndLogging-service.svclog" type="System.Diagnostics.XmlWriterTraceListener" name="xml"/>		</sharedListeners>		<trace autoflush="true"/>	</system.diagnostics>	<!--<system.diagnostics>    <sources>      <source name="System.ServiceModel.MessageLogging">        <listeners>          <add name="messages"          type="System.Diagnostics.XmlWriterTraceListener"          initializeData="c:\logs\mitrt.svclog" />        </listeners>      </source>    </sources>  </system.diagnostics>-->	<system.serviceModel>		<!--<diagnostics>      <messageLogging logEntireMessage="true" logMalformedMessages="false" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxMessagesToLog="3000" maxSizeOfMessageToLog="2000" />    </diagnostics>-->		<bindings>			<netTcpBinding>				<binding name="Aitex_netTcpBinding" maxReceivedMessageSize="2147483647" receiveTimeout="infinite">					<readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>					<security mode="None">						<transport clientCredentialType="None"/>						<message clientCredentialType="None"/>					</security>				</binding>			</netTcpBinding>		</bindings>		<services>			<service behaviorConfiguration="BasicBehavior" name="Aitex.Core.Account.AccountService">				<endpoint address="net.tcp://localhost:8775/AccountService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.Account.IAccountService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="MECF.Framework.Common.OperationCenter.InvokeService">				<endpoint address="net.tcp://localhost:8751/InvokeService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.OperationCenter.IInvokeService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="Aitex.Core.WCF.EventService">				<endpoint address="net.tcp://localhost:8752/EventService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.WCF.Interface.IEventService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="MECF.Framework.Common.DataCenter.QueryDataService">				<endpoint address="net.tcp://localhost:8771/QueryDataService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.DataCenter.IQueryDataService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="MECF.Framework.Common.RecipeCenter.RecipeService">				<endpoint address="net.tcp://localhost:8773/RecipeService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.RecipeCenter.IRecipeService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="MECF.Framework.Common.ParameterCenter.ParameterService">				<endpoint address="net.tcp://localhost:8777/ParameterService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.ParameterCenter.IParameterService"/>			</service>			<service behaviorConfiguration="BasicBehavior" name="MECF.Framework.Common.Alarms.AlarmDefineService">				<endpoint address="net.tcp://localhost:8779/AlarmDefineService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.Alarms.IAlarmDefineService"/>			</service>		</services>		<client>			<endpoint address="net.tcp://localhost:6701/SimulatorPlcService"					behaviorConfiguration="EndpointBehavior"					binding="netTcpBinding"					bindingConfiguration="Aitex_netTcpBinding"					contract="MECF.Framework.Common.PLC.IWcfPlcService"					name="WcfPlc_PM1"/>			<endpoint address="net.tcp://localhost:6702/SimulatorPlcService"					behaviorConfiguration="EndpointBehavior"					binding="netTcpBinding"					bindingConfiguration="Aitex_netTcpBinding"					contract="MECF.Framework.Common.PLC.IWcfPlcService"					name="WcfPlc_Heater"/>		</client>		<behaviors>			<serviceBehaviors>				<behavior name="BasicBehavior">					<dataContractSerializer maxItemsInObjectGraph="2147483647"/>					<serviceMetadata httpGetEnabled="false"/>					<serviceDebug includeExceptionDetailInFaults="true"/>					<serviceAuthorization impersonateCallerForAllOperations="false"/>				</behavior>				<behavior name="SingleModeBehavior">					<dataContractSerializer maxItemsInObjectGraph="2147483647"/>					<serviceMetadata httpGetEnabled="false"/>					<serviceDebug includeExceptionDetailInFaults="true"/>					<serviceAuthorization impersonateCallerForAllOperations="false"/>				</behavior>			</serviceBehaviors>			<endpointBehaviors>				<behavior name="EndpointBehavior">					<dataContractSerializer maxItemsInObjectGraph="2147483647"/>				</behavior>			</endpointBehaviors>		</behaviors>	</system.serviceModel>	<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>
 |