12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=1b44e1d426115821"/>
- </configSections>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"/>
- </startup>
- <log4net>
- <appender name="fileAppender" type="log4net.Appender.RollingFileAppender">
- <param name="File" value="Logs\appLog"/>
- <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="[%t] %m%n"/>
- <param name="Header" value="--------------------------------[Header Log]-----------------------------------------
- "/>
- <param name="Footer" value="--------------------------------[Footer Log]-----------------------------------------
- "/>
- </layout>
- </appender>
- <root>
- <level value="ALL"/>
- <appender-ref ref="fileAppender"/>
- </root>
- </log4net>
- <system.serviceModel>
- <!--<diagnostics>
- <messageLogging logEntireMessage="true" logMalformedMessages="false" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="false" maxMessagesToLog="3000" maxSizeOfMessageToLog="2000" />
- </diagnostics>-->
- <bindings>
- <netTcpBinding>
- <binding name="Aitex_netTcpBinding" maxReceivedMessageSize="102400000" receiveTimeout="infinite">
- <readerQuotas maxDepth="32" maxStringContentLength="1048576" maxArrayLength="163840000" maxBytesPerRead="4096" maxNameTableCharCount="16384"/>
- <security mode="None">
- <transport clientCredentialType="None"/>
- <message clientCredentialType="None"/>
- </security>
- </binding>
- </netTcpBinding>
- </bindings>
- <services>
- <service behaviorConfiguration="BasicBehavior" name="EfemDualSimulator.Instances.SimulatorPlc1">
- <endpoint address="net.tcp://localhost:6701/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService"/>
- </service>
- <service behaviorConfiguration="BasicBehavior" name="EfemDualSimulator.Instances.SimulatorPlc2">
- <endpoint address="net.tcp://localhost:6702/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService"/>
- </service>
-
- <service behaviorConfiguration="BasicBehavior" name="EfemDualSimulator.Instances.SimulatorPlc0">
- <endpoint address="net.tcp://localhost:6700/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService"/>
- </service>
- </services>
- <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>
- </configuration>
|