app.config 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <appSettings>
  4. <add key="DbConncetion" value="Data Source=47.92.134.169;Initial Catalog=jingshan;uid=sa;password=wwkj@2136807" />
  5. <add key="WaterFactoryDbConncetion" value="Data Source=39.99.237.110;Initial Catalog=大安水厂;uid=sa;password=wwkj@2136807" />
  6. <add key="ChargeDB" value="Data Source=222.163.159.218,10433;Initial Catalog=ChargeManage;uid=sa;password=Daswwwkj@123" />
  7. <add key="zhihuishuiwuDB" value="server=39.99.237.110;user id=root;password=wwkj@2136807;database=smartwater_daan;charset=utf8" />
  8. <add key="changleWaterFactoryDb" value=""/>
  9. <add key="ChangLeWaterQualityDb" value="Data Source=47.105.90.108;Initial Catalog=舜水水质;uid=sa;password=wwkj@2136807" />
  10. <!-- 智慧水务系统RabbitMQ信息 start -->
  11. <add key="UploadUrl" value="119.188.171.115" />
  12. <add key="UploadPort" value="5672" />
  13. <add key="UploadUserName" value="wwkj" />
  14. <add key="UploadPassword" value="wwkj123!" />
  15. <!-- 智慧水务系统RabbitMQ信息 end -->
  16. <add key="ManufacturerCode" value="1" />
  17. <add key="MeterId" value="636" />
  18. <!-- 二供数据是否推送到分区记录 1:是;0:否-->
  19. <add key="SecondaryToDMA" value="1" />
  20. <!-- 二供设备已同步到分区计量的设备编码 -->
  21. <add key="SecondaryToDMACode" value="" />
  22. <add key="ChangLeWaterQualityId" value="0" />
  23. <add key="ChangLeWaterQualityHisId" value="0" />
  24. <add key="BmId" value="154" />
  25. <add key="UserMeterId" value="78843" />
  26. <add key="UserMeterDate" value="20220225" />
  27. <add key="UserMeterReadId" value="8389976" />
  28. <add key="UserMeterReadDate" value="2022-02-25 00:00:00" />
  29. <add key="WaterFactoryColumn" value="MeterCode,ReadTime,NetCumulativeFlow,InstantaneousFlow,Pressure,PH,Chlorine,Turbidity" />
  30. <add key="SecondaryPumpColumn" value="PumpCode,ReadTime,Frequency,Current,RunState,Power,Voltage" />
  31. <add key="ServiceName" value="二供和水厂同步智慧水务系统" />
  32. <!-- 和同智慧水务系统RabbitMQ信息 start -->
  33. <add key="DbMySQL" value="data source=182.92.149.41;database=smartwater;user id=root;password=wwkj@2136807;pooling=false;charset=utf8" />
  34. <add key="UploadUrlHeTong" value="47.104.100.143" />
  35. <add key="UploadPortHeTong" value="5672" />
  36. <add key="UploadUserNameHeTong" value="admin" />
  37. <add key="UploadPasswordHeTong" value="Hetong@2022$05" />
  38. <add key="VirtualHostHeTong" value="sw_vhost" />
  39. <!-- 和同智慧水务系统RabbitMQ信息 end -->
  40. </appSettings>
  41. <runtime>
  42. <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
  43. <dependentAssembly>
  44. <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
  45. <bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
  46. </dependentAssembly>
  47. <dependentAssembly>
  48. <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
  49. <bindingRedirect oldVersion="0.0.0.0-6.9.12.0" newVersion="6.9.12.0" />
  50. </dependentAssembly>
  51. </assemblyBinding>
  52. </runtime>
  53. <system.data>
  54. <DbProviderFactories>
  55. <remove invariant="MySql.Data.MySqlClient" />
  56. <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.12.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
  57. </DbProviderFactories>
  58. </system.data></configuration>