App.config 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
  5. <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  6. </configSections>
  7. <connectionStrings>
  8. <!--<add name="wisdom_cs_entity" connectionString="metadata=res://*/MySqlModel.csdl|res://*/MySqlModel.ssdl|res://*/MySqlModel.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=172.168.1.14;user id=root;password=123;database=wisdom_cs&quot;" providerName="System.Data.EntityClient" />-->
  9. <add name="wisdom_cs_entity" connectionString="metadata=res://*/MySqlModel.csdl|res://*/MySqlModel.ssdl|res://*/MySqlModel.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=172.168.1.14;user id=root;password=123;database=wisdom_cs&quot;" providerName="System.Data.EntityClient" />
  10. </connectionStrings>
  11. <entityFramework>
  12. <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
  13. <parameters>
  14. <parameter value="v11.0" />
  15. </parameters>
  16. </defaultConnectionFactory>
  17. </entityFramework>
  18. <startup>
  19. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  20. </startup>
  21. <appSettings>
  22. <add key="RestServerUrl" value="http://172.168.1.8:8011/ts" />
  23. <!--105机型命令发送间隔-->
  24. <add key="sendInterval" value="5000" />
  25. <!--风机控制操作间隔-->
  26. <add key="controlInterval" value="60000" />
  27. <add key="ClientSettingsProvider.ServiceUri" value="" />
  28. <!-- 172.168.1.151 -->
  29. <add key="WCFServiceUrl" value="http://127.0.0.1:8733/GDNXFD/AlertService/"/>
  30. <add key="WCFServiceBinding" value="basichttpbinding"/>
  31. <!--单位:秒-->
  32. <add key="PollingInterval" value="3"/>
  33. <!--报警声音-->
  34. <add key="AlertMediaFile" value="rank4.wav"/>
  35. <!--报警声音-->
  36. <add key="CriticalMediaFile" value="rank5.wav"/>
  37. <!-- 报警声音重复播放时间间隔 -->
  38. <add key="MediaPlayInterval" value="5"/>
  39. </appSettings>
  40. <system.web>
  41. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  42. <providers>
  43. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  44. </providers>
  45. </membership>
  46. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  47. <providers>
  48. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  49. </providers>
  50. </roleManager>
  51. </system.web>
  52. </configuration>