App.config 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net " />
  5. </configSections>
  6. <log4net>
  7. <appender name="fileAppender" type="log4net.Appender.RollingFileAppender">
  8. <param name="Encoding" value="utf-8" />
  9. <param name="File" value="Logs/log" />
  10. <param name="AppendToFile" value="true" />
  11. <param name="RollingStyle" value="Date" />
  12. <param name="StaticLogFileName" value="false" />
  13. <datePattern value="yyyyMMdd'.txt'" />
  14. <layout type="log4net.Layout.PatternLayout,log4net">
  15. <param name="ConversionPattern" value="%d%8p %m%n" />
  16. <param name="Header" value="&#xA;----------------------开启UI--------------------------&#xA;" />
  17. </layout>
  18. </appender>
  19. <root>
  20. <level value="ALL" />
  21. <appender-ref ref="fileAppender" />
  22. </root>
  23. </log4net>
  24. <startup>
  25. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
  26. </startup>
  27. <system.serviceModel>
  28. <bindings>
  29. <netTcpBinding>
  30. <binding name="Aitex_netTcpBinding" maxReceivedMessageSize="2147483647" openTimeout="00:00:05" closeTimeout="00:03:00" receiveTimeout="00:30:00" sendTimeout="00:30:00">
  31. <readerQuotas maxDepth="132" maxStringContentLength="1048576" maxArrayLength="163840000" maxBytesPerRead="14096" maxNameTableCharCount="116384"/>
  32. <security mode="None"/>
  33. </binding>
  34. </netTcpBinding>
  35. </bindings>
  36. <behaviors>
  37. <endpointBehaviors>
  38. <behavior name="EndpointBehavior">
  39. <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
  40. </behavior>
  41. </endpointBehaviors>
  42. </behaviors>
  43. <client>
  44. <endpoint address="net.tcp://localhost:8751/InvokeService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.OperationCenter.IInvokeService" name="Client_IInvokeService"/>
  45. <endpoint address="net.tcp://localhost:8752/EventService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.WCF.Interface.IEventService" name="Client_IEventService"/>
  46. <endpoint address="net.tcp://localhost:8771/QueryDataService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.DataCenter.IQueryDataService" name="Client_IQueryDataService"/>
  47. <endpoint address="net.tcp://localhost:8773/RecipeService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="MECF.Framework.Common.RecipeCenter.IRecipeService" name="Client_IRecipeService"/>
  48. <endpoint address="net.tcp://localhost:8775/AccountService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="Aitex.Core.Account.IAccountService" name="Client_IAccountService"/>
  49. <endpoint address="net.tcp://localhost:9002/PMService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="ClusterInterface.IPmService" name="Client_IPECVDService"/>
  50. <endpoint address="net.tcp://localhost:9004/PMService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="ClusterInterface.IPmService" name="Client_IIBEService"/>
  51. <endpoint address="net.tcp://localhost:9006/PMService" behaviorConfiguration="EndpointBehavior" binding="netTcpBinding" bindingConfiguration="Aitex_netTcpBinding" contract="ClusterInterface.IPmService" name="Client_IICPService"/>
  52. </client>
  53. </system.serviceModel>
  54. <appSettings>
  55. <add key="TimelineDesiredFrameRate" value="30"/>
  56. </appSettings>
  57. </configuration>