123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- <?xml version="1.0" encoding="utf-8"?>
- <configuration>
- <configSections>
- <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
- <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
- <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
- <section name="oracle.manageddataaccess.client" type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
- </configSections>
- <startup>
- <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
- </startup>
- <entityFramework>
- <defaultConnectionFactory type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
- <providers>
- <provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
- </providers>
- </entityFramework>
- <system.data>
- <DbProviderFactories>
- <remove invariant="Oracle.ManagedDataAccess.Client" />
- <add name="ODP.NET, Managed Driver" invariant="Oracle.ManagedDataAccess.Client" description="Oracle Data Provider for .NET, Managed Driver" type="Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
- </DbProviderFactories>
- </system.data>
- <runtime>
- <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
- <dependentAssembly>
- <publisherPolicy apply="no" />
- <assemblyIdentity name="Oracle.ManagedDataAccess" publicKeyToken="89b483f429c47342" culture="neutral" />
- <bindingRedirect oldVersion="4.121.0.0 - 4.65535.65535.65535" newVersion="4.121.2.0" />
- </dependentAssembly>
- </assemblyBinding>
- </runtime>
- <oracle.manageddataaccess.client>
- <version number="*">
- <dataSources>
- <dataSource alias="SampleDataSource" descriptor="(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-HQT08HUB45B)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE))) " />
- </dataSources>
- </version>
- </oracle.manageddataaccess.client>
- <oracle.dataaccess.client>
- <settings>
- <add name="bool" value="edmmapping number(1,0)" />
- <add name="byte" value="edmmapping number(3,0)" />
- <add name="int16" value="edmmapping number(4,0)" />
- <add name="int32" value="edmmapping number(9,0)" />
- <add name="int64" value="edmmapping number(18,0)" />
- </settings>
- </oracle.dataaccess.client>
- <connectionStrings>
- <add name="OracleDbContext" providerName="Oracle.ManagedDataAccess.Client" connectionString="Data Source= (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 172.168.1.14)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = GDNXFD) ) );User Id=nxfdprod;Password=gdnxfd123;" />
- </connectionStrings>
- <system.serviceModel>
- <bindings>
- <basicHttpBinding>
- <binding name="MyBinding" sendTimeout="00:03:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" >
- <readerQuotas maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxDepth="2147483647" maxNameTableCharCount="2147483647" maxStringContentLength="2147483647"/>
- </binding>
- </basicHttpBinding>
- </bindings>
- <services>
- <service name="GDNXFD.WcfService.AlertService">
- <endpoint address="" binding="basicHttpBinding" contract="GDNXFD.WcfService.IAlertService">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8733/GDNXFD/AlertService/" />
- </baseAddresses>
- </host>
- </service>
- <service name="GDNXFD.WcfService.AdviceService">
- <endpoint address="" binding="basicHttpBinding" contract="GDNXFD.WcfService.IAdviceService">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8733/GDNXFD/AdviceService/" />
- </baseAddresses>
- </host>
- </service>
- <service name="GDNXFD.WcfService.DefectBillService">
- <endpoint address="" binding="basicHttpBinding" contract="GDNXFD.WcfService.IDefectBillService">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8733/GDNXFD/DefectBillService/" />
- </baseAddresses>
- </host>
- </service>
- <service name="GDNXFD.WcfService.FaultInfoService">
- <endpoint address="" binding="basicHttpBinding" contract="GDNXFD.WcfService.IFaultInfoService">
- <identity>
- <dns value="localhost" />
- </identity>
- </endpoint>
- <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="http://localhost:8733/GDNXFD/FaultInfoService/" />
- </baseAddresses>
- </host>
- </service>
- </services>
- <behaviors>
- <serviceBehaviors>
- <behavior>
- <!-- To avoid disclosing metadata information,
- set the values below to false before deployment -->
- <serviceMetadata httpGetEnabled="True" httpsGetEnabled="True" />
- <!-- To receive exception details in faults for debugging purposes,
- set the value below to true. Set to false before deployment
- to avoid disclosing exception information -->
- <serviceDebug includeExceptionDetailInFaults="False" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
- <appSettings>
- <add key="ClientSettingsProvider.ServiceUri" value="" />
- <add key="RestServerUrl" value="http://127.0.0.1:8011/ts" />
- <!--风机启停推荐计算 短期风速统一编码-->
- <add key="WindSpeed_Up82" value="AI024" />
- <add key="WindSpeed_Up105" value="AI381" />
- <add key="WindSpeedCode_FiveMin" value="5FZPJFS" />
- <!--用户取消推荐 有效期-->
- <add key="UserCancelTime" value="300000" />
- <!-- 全局无风的情况下 推荐待机状态的风机变成维护状态 -->
- <add key="ThereIsNoWind" value="2.70"/>
- <add key="TheWindIsComing" value="3.40"/>
- <add key="ThereIsAlmostNoWind" value="3.00"/>
- <!-- kW.h,小于这个值,则推荐停机 -->
- <add key="ThereIsAlmostNoPower" value="-2.00" />
- <!-- 大风天气,风机这个时候不可推荐启动 -->
- <add key="ThereIsSuperWind" value="18.00"/>
- <add key="MaintainLowTemperature" value="0.00"/>
- <add key="UnMaintainLowTemperature" value="-10.00"/>
- <add key ="StationFGLYC" value="FCFGCDQ0001,FCFGCDQ0002,FCFGCDQ0003,FCFGCDQ0004,FCFGCDQ0005,FCFGCDQ0006,FCFGCDQ0007,FCFGCDQ0008,FCFGCDQ0009,FCFGCDQ0010,FCFGCDQ0011,FCFGCDQ0012,FCFGCDQ0013,FCFGCDQ0014,FCFGCDQ0015,FCFGCDQ0016"></add>
- <add key ="StationFGLYCSBQ" value="FCFGCDQ0001A,FCFGCDQ0002A,FCFGCDQ0003A,FCFGCDQ0004A,FCFGCDQ0005A,FCFGCDQ0006A,FCFGCDQ0007A,FCFGCDQ0008A,FCFGCDQ0009A,FCFGCDQ0010A,FCFGCDQ0011A,FCFGCDQ0012A,FCFGCDQ0013A,FCFGCDQ0014A,FCFGCDQ0015A,FCFGCDQ0016A"></add>
- <add key="AllowDebug" value="Y"/>
- <add key="AllowPrint" value="Y"/>
- </appSettings>
- <log4net>
- <appender name="AppLogFile" type="log4net.Appender.RollingFileAppender,log4net">
- <param name="File" value="log\AppLog.txt" />
- <param name="AppendToFile" value="false" />
- <param name="RollingStyle" value="Date" />
- <param name="DatePattern" value=".yyyy.MM.dd" />
- <param name="StaticLogFileName" value="true" />
- <layout type="log4net.Layout.PatternLayout,log4net">
- <param name="ConversionPattern" value="%d -- %m%n" />
- </layout>
- </appender>
- <appender name="ErrorRollingFileAppender" type="log4net.Appender.RollingFileAppender" LEVEL="ERROR">
- <param name="File" value="log\ErrorLog.txt" />
- <param name="AppendToFile" value="false" />
- <param name="RollingStyle" value="Date" />
- <param name="DatePattern" value=".yyyy.MM.dd" />
- <param name="StaticLogFileName" value="true" />
- <layout type="log4net.Layout.PatternLayout,log4net">
- <param name="ConversionPattern" value="%d -- %m%n" />
- </layout>
- <filter type="log4net.Filter.LevelRangeFilter">
- <param name="LevelMin" value="ERROR" />
- <param name="LevelMax" value="ERROR" />
- </filter>
- </appender>
- <appender name="RichTextBoxAppender" type="TestEDos.RichTextBoxAppender">
- <layout type="log4net.Layout.PatternLayout">
- <param name="Header" value="[Header]\r\n" />
- <param name="Footer" value="[Footer]\r\n" />
- <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} -- %m%n" />
- </layout>
- </appender>
- <appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
- <layout type="log4net.Layout.PatternLayout">
- <conversionPattern value="%d{yyyy-MM-dd HH:mm:ss} -- %m%n" />
- </layout>
- </appender>
- <logger name="AppLog">
- <level value="Info" />
- <appender-ref ref="ErrorRollingFileAppender" />
- <appender-ref ref="AppLogFile" />
- </logger>
- </log4net>
- <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>
- </configuration>
|