App_local.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <startup>
  4. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  5. </startup>
  6. <appSettings>
  7. <add key="retryCount" value="3"/>
  8. <add key="defaultLic" value="鄂ZZZZZZ"/>
  9. <!--数据库信息-->
  10. <!--<add key="remoteDBConnStr" value="Data Source=59.175.148.85;port=3306;uid=root;pooling=true;max pool size=1024;pwd=x5;database=zxpark;CharSet=utf8;Allow Zero Datetime=true;"/>-->
  11. <!--<add key="remoteDBConnStr" value="Data Source=192.168.111.61;port=3306;uid=remote;pooling=true;max pool size=1024;pwd=x5;database=zxpark_cloud_2;CharSet=utf8;Allow Zero Datetime=true;"/>-->
  12. <add key="remoteDBConnStr" value="Data Source=127.0.0.1;port=20000;uid=root;pooling=true;max pool size=1024;pwd=yct;database=zxpark_cloud_2;CharSet=utf8;Allow Zero Datetime=true;"/>
  13. <!--<add key="remoteDBConnStr" value="Data Source=192.168.0.106;port=3306;uid=remote;pooling=true;max pool size=1024;pwd=x5;database=zxpark_cloud_2;CharSet=utf8;Allow Zero Datetime=true;"/>-->
  14. <add key="localDBConnStr" value="Data Source=127.0.0.1;port=20000;uid=root;pooling=true;max pool size=1024;pwd=yct;database=zxpark_local;CharSet=utf8;Allow Zero Datetime=true;"/>
  15. <add key="DBtimeout" value="3"/>
  16. <!--号牌机信息-->
  17. <add key="192.168.10.42" value="1"/>
  18. <add key="192.168.10.41" value="2"/>
  19. <add key="filterRatio" value="0.7"/>
  20. <!--PLC基本配置-->
  21. <!--<add key="PLC_ip_address" value="192.168.0.10" />-->
  22. <add key="plcIpAddress" value="192.168.10.60" />
  23. <add key="plcRack" value="0" />
  24. <add key="plcSlot" value="1" />
  25. <!--PLCdb块,分别对应终端、中控、车位-->
  26. <add key="plcDatablockId" value="18,41,20" />
  27. <add key="plcTerminalCount" value="6" />
  28. <add key="plcParkingSpaceCount" value="200" />
  29. <add key="plcRefreshInterval" value="200"/>
  30. <!--显示屏信息-->
  31. <add key="allInOneMachineIP" value="192.168.10.90"/>
  32. <add key="allInOneMachinePort" value="8888"/>
  33. <!--中控webServer端口,deprecated-->
  34. <add key="webPort" value="9000"/>
  35. <!--车库信息-->
  36. <add key="garageID" value="2"/>
  37. <!--日志写入地址配置文件-->
  38. <add key="LogAddress" value="c:\\c#workspace\\LogDemo\\LoggerTest" />
  39. <!--广告存放路径-->
  40. <add key ="advertPath" value ="c:\\c#workspace\\LogDemo\\advert\\"/>
  41. </appSettings>
  42. </configuration>