MediII.Adapter.WinForm.Scanner.exe.config 6.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. <add name="DefaultDB" connectionString="server=120.27.235.181;port=3306; UserID=root;Password=xywl2021!;Charset=utf8;database=performance_message" providerName="MySql.Data.MySqlClient"/>
  59. <add name="HealthCare" connectionString="server=120.27.235.181;port=3306; UserID=root;Password=xywl2021!;Charset=utf8;database=intermediate_gc;Allow User Variables=True" providerName="MySql.Data.MySqlClient"/>
  60. </connectionStrings>
  61. <appSettings>
  62. <!--测试-->
  63. <!--正式-->
  64. <add key="MediIIAddress" value="192.9.216.206" />
  65. <add key="MediIIPort" value="31001" />
  66. <add key="BufferSize" value="4048" />
  67. <add key="ReviceTimeOut" value="30000" />
  68. <add key="ErrorRepeatCount" value="1" />
  69. <add key="ErrorSleepMSecodes" value="3000" />
  70. <!--<add key="SedingApplication" value="UEHIS" />-->
  71. <add key="HosiptalName" value="" />
  72. <add key="AddMinues" value="30" />
  73. <add key="BranchID" value="" />
  74. <!--查询数量-->
  75. <add key="SearchNum" value="50" />
  76. <!--任务解锁时间 单位分钟-->
  77. <add key="TaskRunTime" value="5" />
  78. <!--启动SQL日志-->
  79. <add key="LogSql" value="1" />
  80. <add key="ClientSettingsProvider.ServiceUri" value="" />
  81. <add key="SetTime" value="-01 02:00:00" />
  82. <add key="Post_url" value="http://10.10.5.120:80/wilink/api/wilink/gateway/allInOne"/>
  83. </appSettings>
  84. <system.web>
  85. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  86. <providers>
  87. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  88. </providers>
  89. </membership>
  90. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  91. <providers>
  92. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  93. </providers>
  94. </roleManager>
  95. </system.web>
  96. </configuration>