App.txt 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <configSections>
  4. <section name="Equipments" type="parkMonitor.model.EquipmentsSection,parkMonitor" allowDefinition="Everywhere" />
  5. </configSections>
  6. <startup>
  7. <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  8. </startup>
  9. <Equipments>
  10. <Equipment key="Core" value="parkMonitor.server.CoreThread.CoreThreadTest2" />
  11. <Equipment key="Monitor" value="parkMonitor.server.MonitorServer" />
  12. <Equipment key="PLC" value="parkMonitor.server.PLCLinker" />
  13. <Equipment key="Num" value="parkMonitor.server.NumMachineManager" />
  14. <Equipment key="Web" value="parkMonitor.server.WebThread.CentralForWeb" />
  15. <Equipment key="Queue" value="parkMonitor.server.CoreThread.QueuingThread" />
  16. </Equipments>
  17. <appSettings>
  18. <!--数据库连接配置文件-->
  19. <add key="SqlConnectionLocation" value="Data Source=127.0.0.1;port=20000;uid=root;pooling=true;max pool size=1024;pwd=yct;database=zxpark;CharSet=utf8;Allow Zero Datetime=true;" />
  20. <add key="SqlConnectionStr" 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;" />
  21. <!--<add key="SqlConnectionStr" value="Data Source=120.79.20.70;port=3306;uid=jw;pooling=true;max pool size=1024;pwd=jingwang1995;database=zxpark;CharSet=utf8;Allow Zero Datetime=true;" />-->
  22. <add key ="remoteDBIP" value ="59.175.148.85"/>
  23. <add key ="localDBIP" value ="127.0.0.1"/>
  24. <!--日志写入地址配置文件-->
  25. <add key="LogAddress" value="c:\\c#workspace\\LogDemo\\LoggerTest" />
  26. <!--测量数据误差-->
  27. <add key="length" value="50" />
  28. <add key="width" value="50" />
  29. <add key="height" value="50" />
  30. <add key="wheelbase" value="50" />
  31. <add key="ClientSettingsProvider.ServiceUri" value="" />
  32. <!--PLC基本配置-->
  33. <!--<add key="PLC_ip_address" value="192.168.0.10" />-->
  34. <add key="PLC_ip_address" value="192.168.0.1" />
  35. <add key="PLC_port" value="30000" />
  36. <add key="PLC_station" value="1" />
  37. <add key="PLC_start_address" value="0" />
  38. <add key="PLC_address_length" value="110" />
  39. <add key="PLC_refresh_interval" value="200"/>
  40. <add key="equipmentStatus_address" value="20" />
  41. <!--PLC停取完成-->
  42. <add key="park_start_address" value="1" />
  43. <add key="park_completed_address" value="21" />
  44. <add key="park_completed_acknowledge_address" value="5" />
  45. <add key="fetch_completed_address" value="22" />
  46. <add key="fetch_completed_acknowledge_address" value="6" />
  47. <!--启动机械手-->
  48. <add key="parking_startRobot_address" value="3" />
  49. <add key="fetching_startRobot_address" value="4" />
  50. <add key="fetch_to_address" value="2" />
  51. <!--机械手停车所需数据-->
  52. <add key="parkingSpaceID_address" value="16" />
  53. <add key="parkingSpaceX_address" value="17" />
  54. <add key="parkingSpaceY_address" value="18" />
  55. <add key="parkingSpaceZ_address" value="19" />
  56. <add key="parkingLaserCenterX_address" value="13" />
  57. <add key="frontWheelbase_address" value="85" />
  58. <add key="rearWheelbase_address" value="86" />
  59. <add key="wheelbase_status_address" value="87" />
  60. <!--激光设备配置-->
  61. <add key="laser_start_address" value="10" />
  62. <add key="laser1_status_address" value="89" /><!--决定激光编号-->
  63. <add key="laser_rescan_count" value="3" />
  64. <add key="laser_countdown" value="100" />
  65. <!--缓冲位配置-->
  66. <add key ="bufferAddress" value ="7"/>
  67. <add key ="completeStatusAddress" value ="9"/>
  68. <!--队列线程参数-->
  69. <add key="fetch_store_ratio" value="3" />
  70. <add key="licenseTime" value="10" />
  71. <add key="userTime" value="10" />
  72. <add key="bookTime" value="120" />
  73. <!--上位机(Web线程)IP地址及配置serverScoket的端口-->
  74. <add key="WebConfig" value="192.168.0.164:9000" />
  75. <!--<add key ="WebConfig" value="127.0.0.1:9000"/>-->
  76. <!--车库入口-->
  77. <add key="parkingEntX" value="0" />
  78. <add key="parkingEntY" value="0" />
  79. <add key="parkingEntZ" value="0" />
  80. <!--监控线程-->
  81. <!--数据更新间隔(毫秒数)-->
  82. <add key="monitor_timGap" value="1000"/>
  83. <!--号牌机ip位置映射表-->
  84. <!--位置编号;基点横坐标;车位宽度;宽度补偿-->
  85. <add key="192.168.0.50" value="2" />
  86. <add key="192.168.0.51" value="1" />
  87. <add key="filterRatio" value="0.7" />
  88. <!--车库权重-->
  89. <add key="garageID" value="7"/>
  90. <add key ="bufferCount" value ="2"/>
  91. <add key="xWeight" value="1"/>
  92. <add key="yWeight" value="1"/>
  93. <add key="zWeight" value="1"/>
  94. </appSettings>
  95. <system.web>
  96. <membership defaultProvider="ClientAuthenticationMembershipProvider">
  97. <providers>
  98. <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
  99. </providers>
  100. </membership>
  101. <roleManager defaultProvider="ClientRoleProvider" enabled="true">
  102. <providers>
  103. <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
  104. </providers>
  105. </roleManager>
  106. </system.web>
  107. <system.data>
  108. <DbProviderFactories>
  109. <remove invariant="MySql.Data.MySqlClient" />
  110. <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.7.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
  111. </DbProviderFactories>
  112. </system.data>
  113. </configuration>