123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?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="16384000" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
- <security mode="None">
- <transport clientCredentialType="None" />
- <message clientCredentialType="None" />
- </security>
- </binding>
- </netTcpBinding>
- </bindings>
- <services>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.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="FurnaceSimulator.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="FurnaceSimulator.Instances.SimulatorPlc3">
- <endpoint address="net.tcp://localhost:6703/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc4">
- <endpoint address="net.tcp://localhost:6704/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc5">
- <endpoint address="net.tcp://localhost:6705/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc6">
- <endpoint address="net.tcp://localhost:6706/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc7">
- <endpoint address="net.tcp://localhost:6707/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc8">
- <endpoint address="net.tcp://localhost:6708/SimulatorPlcService" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.PLC.IWcfPlcService" />
- </service>
- <service behaviorConfiguration="BasicBehavior" name="FurnaceSimulator.Instances.SimulatorPlc9">
- <endpoint address="net.tcp://localhost:6709/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>
- <client>
- <endpoint address="net.tcp://localhost:8771/QueryDataService/Simulator" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.DataCenter.IQueryDataService" name="Client_IQueryDataService" />
- <endpoint address="net.tcp://localhost:8751/InvokeService/Simulator" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.OperationCenter.IInvokeService" name="Client_IInvokeService" />
- </client>
- </system.serviceModel>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
- <bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- </configuration>
|