app.config 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
  5. <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="true" />
  6. </configSections>
  7. <!--日志配置-->
  8. <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
  9. <listeners>
  10. <add name="GeneralListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fileName="General\rolling.log" formatter="Text Formatter" rollFileExistsBehavior="Increment" rollInterval="Day" maxArchivedFiles="0" traceOutputOptions="None" />
  11. <add name="SockListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fileName="Sock\rolling.log" formatter="Text Formatter" rollInterval="Day" />
  12. <add name="ScanListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fileName="Scan\rolling.log" formatter="Text Formatter" rollInterval="Day" />
  13. <add name="SqlListener" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" fileName="SQL\logSql.log" formatter="Text Formatter" rollInterval="Day" />
  14. </listeners>
  15. <formatters>
  16. <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" template="Timestamp: {timestamp}{newline}&#xA;Message: {message}" name="Text Formatter" />
  17. </formatters>
  18. <categorySources>
  19. <add switchValue="All" name="General">
  20. <listeners>
  21. <add name="GeneralListener" />
  22. </listeners>
  23. </add>
  24. <add switchValue="All" name="Sock">
  25. <listeners>
  26. <add name="SockListener" />
  27. </listeners>
  28. </add>
  29. <add switchValue="All" name="AdapterScan">
  30. <listeners>
  31. <add name="ScanListener" />
  32. </listeners>
  33. </add>
  34. <add switchValue="All" name="SQL">
  35. <listeners>
  36. <add name="SqlListener" />
  37. </listeners>
  38. </add>
  39. </categorySources>
  40. <specialSources>
  41. <allEvents switchValue="All" name="All Events" />
  42. <notProcessed switchValue="All" name="Unprocessed Category" />
  43. <errors switchValue="All" name="Logging Errors &amp; Warnings" />
  44. </specialSources>
  45. </loggingConfiguration>
  46. <dataConfiguration defaultDatabase="DefaultDB" />
  47. <connectionStrings>
  48. <add name="DefaultDB" connectionString="Data Source=.;
  49. Initial Catalog=HL7_Platform;
  50. Persist Security Info=True;
  51. Integrated Security=False;
  52. User ID=sa;Password=123" providerName="System.Data.SqlClient"/>
  53. <add name="HealthCare" connectionString="Data Source=.;
  54. Initial Catalog=HL7_Platform;
  55. Persist Security Info=True;
  56. Integrated Security=False;
  57. User ID=sa;Password=123" providerName="System.Data.SqlClient"/>
  58. </connectionStrings>
  59. <appSettings>
  60. <!--测试-->
  61. <!--正式-->
  62. <add key="MediIIAddress" value="192.9.216.206" />
  63. <add key="MediIIPort" value="31001" />
  64. <add key="BufferSize" value="4048" />
  65. <add key="ReviceTimeOut" value="30000" />
  66. <add key="ErrorRepeatCount" value="1" />
  67. <add key="ErrorSleepMSecodes" value="3000" />
  68. <!--<add key="SedingApplication" value="UEHIS" />-->
  69. <add key="HosiptalName" value="" />
  70. <add key="AddMinues" value="30" />
  71. <add key="BranchID" value="" />
  72. <!--查询数量-->
  73. <add key="SearchNum" value="50" />
  74. <!--任务解锁时间 单位分钟-->
  75. <add key="TaskRunTime" value="5" />
  76. <!--启动SQL日志-->
  77. <add key="LogSql" value="1" />
  78. <add key="ClientSettingsProvider.ServiceUri" value="" />
  79. </appSettings>
  80. <system.web>
  81. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  82. <providers>
  83. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  84. </providers>
  85. </membership>
  86. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  87. <providers>
  88. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  89. </providers>
  90. </roleManager>
  91. </system.web>
  92. </configuration>