123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <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" />
- <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" />
- </configSections>
- <!--日志配置-->
- <loggingConfiguration name="" tracingEnabled="true" defaultCategory="General">
- <listeners>
- <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" />
- <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" />
- <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" />
- <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" />
- </listeners>
- <formatters>
- <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}
Message: {message}" name="Text Formatter" />
- </formatters>
- <categorySources>
- <add switchValue="All" name="General">
- <listeners>
- <add name="GeneralListener" />
- </listeners>
- </add>
- <add switchValue="All" name="Sock">
- <listeners>
- <add name="SockListener" />
- </listeners>
- </add>
- <add switchValue="All" name="AdapterScan">
- <listeners>
- <add name="ScanListener" />
- </listeners>
- </add>
- <add switchValue="All" name="SQL">
- <listeners>
- <add name="SqlListener" />
- </listeners>
- </add>
- </categorySources>
- <specialSources>
- <allEvents switchValue="All" name="All Events" />
- <notProcessed switchValue="All" name="Unprocessed Category" />
- <errors switchValue="All" name="Logging Errors & Warnings" />
- </specialSources>
- </loggingConfiguration>
- <dataConfiguration defaultDatabase="DefaultDB" />
- <connectionStrings>
- <add name="DefaultDB" connectionString="Data Source=.;
- Initial Catalog=HL7_Platform;
- Persist Security Info=True;
- Integrated Security=False;
- User ID=sa;Password=123" providerName="System.Data.SqlClient"/>
- <add name="HealthCare" connectionString="Data Source=.;
- Initial Catalog=KC_JX;
- Persist Security Info=True;
- Integrated Security=False;
- User ID=sa;Password=123" providerName="System.Data.SqlClient"/>
- </connectionStrings>
- <appSettings>
- <!--测试-->
- <!--正式-->
- <add key="MediIIAddress" value="192.9.216.206" />
- <add key="MediIIPort" value="31001" />
- <add key="BufferSize" value="4048" />
- <add key="ReviceTimeOut" value="30000" />
- <add key="ErrorRepeatCount" value="1" />
- <add key="ErrorSleepMSecodes" value="3000" />
- <!--<add key="SedingApplication" value="UEHIS" />-->
- <add key="HosiptalName" value="" />
- <add key="AddMinues" value="30" />
- <add key="BranchID" value="" />
- <!--查询数量-->
- <add key="SearchNum" value="50" />
- <!--任务解锁时间 单位分钟-->
- <add key="TaskRunTime" value="5" />
- <!--启动SQL日志-->
- <add key="LogSql" value="1" />
- <add key="ClientSettingsProvider.ServiceUri" value="" />
- </appSettings>
- <system.web>
- <membership defaultProvider="ClientAuthenticationMembershipProvider">
- <providers>
- <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
- </providers>
- </membership>
- <roleManager defaultProvider="ClientRoleProvider" enabled="true">
- <providers>
- <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
- </providers>
- </roleManager>
- </system.web>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="WebServiceSoap"/>
- </basicHttpBinding>
- </bindings>
- <client>
- <endpoint address="http://localhost:8092/WebService.asmx" binding="basicHttpBinding" bindingConfiguration="WebServiceSoap" contract="ServiceTest.WebServiceSoap" name="WebServiceSoap"/>
- </client>
- </system.serviceModel>
- </configuration>
|