config.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <root>
  3. <compute_thread_count>16</compute_thread_count>
  4. <compute_thread_sdv_interval>10</compute_thread_sdv_interval>
  5. <http_interval>0</http_interval>
  6. <groupCode>WD</groupCode>
  7. <projectId>Pj4403070003</projectId>
  8. <sdk_version>SDK-D</sdk_version>
  9. <!-- 控制模式:同步sync 异步async -->
  10. <control_mode>sync</control_mode>
  11. <!-- IOT采集数据保留小数 -->
  12. <iot_round_d_to enable="true" length="1"/>
  13. <config path="D-config" refresh_enable="true" refresh_interval_second="60"/>
  14. <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
  15. <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
  16. <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
  17. <info_point path="D-info-point" enable="true" version="new" refresh_enable="true" refresh_interval_second="60"/>
  18. <!-- zkt-dmp的服务地址 -->
  19. <zkt_dmp url="http://192.168.100.33:9976/" compress="true" />
  20. <!-- zkt-monitor的服务地址 -->
  21. <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false" />
  22. <!-- zkt-control的服务地址 -->
  23. <zkt_control url="http://192.168.100.33:9909/zkt-control/" />
  24. <!-- iot-collect的服务地址 -->
  25. <iot_collect url="http://192.168.100.33:9909/iot-collect/" />
  26. <!-- iot-project的websocket地址 -->
  27. <iot_websocket url="ws://192.168.100.33:8858/websocket" />
  28. <!-- iot-project的服务地址 -->
  29. <iot_project url="http://192.168.100.33:9909/iot-project/" />
  30. <!-- adm-project的服务地址 -->
  31. <adm_project url="http://39.102.40.239:28888/" />
  32. <!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
  33. <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer" url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm" />
  34. <!-- person-center的服务地址 -->
  35. <person_center url="http://39.102.40.239:9970/person-center/" />
  36. <!-- 天气服务地址 -->
  37. <weather url="http://114.215.64.204:9090/EMS_Weather/" />
  38. <!-- 标尺服务地址 -->
  39. <scaleplate url="http://develop.persagy.com/calendar/dye/sdk/" enable="true" />
  40. <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
  41. <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
  42. <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明"/>
  43. <info_replace objType="building" from="localId" to="ibmsxianshibianma"/>
  44. <info_replace objType="building" from="localName" to="ibmsxianshimingcheng"/>
  45. <info_replace objType="floor" from="localId" to="ibmsxianshibianma"/>
  46. <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng"/>
  47. <info_replace objType="system" from="localId" to="ibmsxianshibianma"/>
  48. <info_replace objType="system" from="localName" to="ibmsxianshimingcheng"/>
  49. <!-- 非万达用下面四行 -->
  50. <info_replace objType="space" from="localId" to="ibmsxianshibianma" />
  51. <info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />
  52. <info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />
  53. <info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />
  54. <!-- 万达用下面四行 -->
  55. <!--
  56. <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  57. <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  58. <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  59. <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  60. -->
  61. <!-- 子系统连接状态里面,产品模块黑名单 -->
  62. <!--
  63. <subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
  64. <subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
  65. <subsystem_connect_status_exclude ibmsSceneCode="led" />
  66. <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
  67. -->
  68. <!-- 室外天气信息点定义 -->
  69. <weather_now dataType="STRING" key="code" info_code="now_weather_code" name="实时天气编码" unit="" />
  70. <weather_now dataType="STRING" key="text" info_code="now_weather_name" name="实时天气名称" unit="" />
  71. <weather_now dataType="DOUBLE" key="temperature" info_code="now_temp" name="温度" unit="℃" />
  72. <weather_now dataType="INTEGER" key="humidity" info_code="now_rh" name="湿度" unit="%" />
  73. <weather_now dataType="STRING" key="quality" info_code="now_quality" name="空气质量" unit="" />
  74. <weather_forecast dataType="STRING" key="codeDay" info_code="day_code" name="日间天气编码" unit="" />
  75. <weather_forecast dataType="STRING" key="textDay" info_code="day_name" name="日间天气名称" unit="" />
  76. <weather_forecast dataType="STRING" key="codeNight" info_code="night_code" name="夜间天气编码" unit="" />
  77. <weather_forecast dataType="STRING" key="textNight" info_code="night_name" name="夜间天气名称" unit="" />
  78. <weather_forecast dataType="DOUBLE" key="maxTemperature" info_code="maxTemperature" name="最高温度" unit="℃" />
  79. <weather_forecast dataType="DOUBLE" key="minTemperature" info_code="minTemperature" name="最低温度" unit="℃" />
  80. <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
  81. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑" multiplicityTo="1" />
  82. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑" multiplicityTo="1" />
  83. <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n" nameInTo="所属楼层" multiplicityTo="1" />
  84. <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑" multiplicityFrom="1" />
  85. <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层" multiplicityFrom="1" />
  86. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space" nameInFrom="所在物业空间" multiplicityFrom="1" nameInTo="包含设备" multiplicityTo="n" />
  87. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space" nameInFrom="所在环境空间" multiplicityFrom="1" nameInTo="包含设备" multiplicityTo="n" />
  88. <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n" />
  89. <ConfigRelation graphCode="MechSubset" relCode="Sy2Eq" objFrom="system" objTo="equipment" nameInTo="所属系统" multiplicityTo="1" />
  90. <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电" multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n" />
  91. <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备" multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n" />
  92. <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment" nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n" />
  93. <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n" />
  94. <!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
  95. <Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
  96. <!-- 中转服务的header,有几项就写几行 -->
  97. <header key="Content-Type" value="application/json" />
  98. </Redirect>
  99. <Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
  100. <!-- 中转服务的header,有几项就写几行 -->
  101. <header key="Content-Type" value="application/json" />
  102. </Redirect>
  103. <Redirect code="香港置地首页能耗数据" http_request_type="post" url="http://39.102.43.179:9982/energy/query">
  104. <!-- 中转服务的header,有几项就写几行 -->
  105. <header key="Content-Type" value="application/json" />
  106. </Redirect>
  107. <Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/query">
  108. <!-- 中转服务的header,有几项就写几行 -->
  109. <header key="Content-Type" value="application/json" />
  110. </Redirect>
  111. <Redirect code="查询楼层平均温度" http_request_type="get" url="http://39.102.43.179:9982/floorAvgTemperature/query">
  112. <!-- 中转服务的header,有几项就写几行 -->
  113. <header key="Content-Type" value="application/json" />
  114. </Redirect>
  115. <Redirect code="查询详细信息列表" http_request_type="get" url="http://39.102.43.179:9982/itemDataList/query">
  116. <!-- 中转服务的header,有几项就写几行 -->
  117. <header key="Content-Type" value="application/json" />
  118. </Redirect>
  119. <Redirect code="查询详细信息月份列表" http_request_type="get" url="http://39.102.43.179:9982/itemMonthDataList/query">
  120. <!-- 中转服务的header,有几项就写几行 -->
  121. <header key="Content-Type" value="application/json" />
  122. </Redirect>
  123. <Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
  124. <header key="Content-Type" value="application/json" />
  125. </Redirect>
  126. <Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
  127. <header key="Content-Type" value="application/json" />
  128. </Redirect>
  129. <Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
  130. <header key="Content-Type" value="application/json" />
  131. </Redirect>
  132. <Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
  133. <header key="Content-Type" value="application/json" />
  134. </Redirect>
  135. <Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
  136. <header key="Content-Type" value="application/json" />
  137. </Redirect>
  138. <Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
  139. <header key="Content-Type" value="application/json" />
  140. </Redirect>
  141. <Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
  142. <header key="Content-Type" value="application/json" />
  143. </Redirect>
  144. <!--开闭店需配置以下几个地址 url的ip和端口对应zkt-control服务的ip和端口-->
  145. <Redirect code="查询子系统配置" http_request_type="post" url="http://192.168.0.33:9980/ocssiConfigsubsystemStatus/queryOcssiConfigsubsystemStatusList">
  146. <header key="Content-Type" value="application/json" />
  147. </Redirect>
  148. <Redirect code="查询环境配置" http_request_type="post" url="http://192.168.100.33:9909/ocssiConfigenvi/queryOcssiConfigenviList">
  149. <header key="Content-Type" value="application/json" />
  150. </Redirect>
  151. <Redirect code="查询重点监控配置" http_request_type="post" url="http://192.168.100.33:9909/ocssiConfigfocusMonitor/queryOcssiConfigfocusMonitorList">
  152. <header key="Content-Type" value="application/json" />
  153. </Redirect>
  154. <Redirect code="关键设备开关状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listKeyEquipStatus">
  155. <header key="Content-Type" value="application/json" />
  156. </Redirect>
  157. <Redirect code="设备计划开关状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listEquipPlanStatus">
  158. <header key="Content-Type" value="application/json" />
  159. </Redirect>
  160. <Redirect code="设备在离线状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listEquipOnlineStatus">
  161. <header key="Content-Type" value="application/json" />
  162. </Redirect>
  163. <!--退出登录,需配置人员服务的地址和端口-->
  164. <Redirect code="退出登录" http_request_type="post" url="http://39.102.40.239:9970/person-center/user/logout">
  165. <header key="Content-Type" value="application/json"/>
  166. </Redirect>
  167. <!--车位负载率,需配置zkt_monitor服务的地址和接口-->
  168. <Redirect code="负载率" http_request_type="post" url="http://192.168.0.33:9982/parklot/loadCurrentRateOfCarport">
  169. <header key="Content-Type" value="application/json"/>
  170. </Redirect>
  171. <Redirect code="负载率曲线" http_request_type="post" url="http://192.168.0.33:9982/parklot/load24HRateOfCarport">
  172. <header key="Content-Type" value="application/json"/>
  173. </Redirect>
  174. <!--香港置地登录,需配置zkt_monitor的地址和端口-->
  175. <Redirect code="登录" http_request_type="post" url="http://39.102.43.179:9982/zkt-monitor/user/login">
  176. <header key="Content-Type" value="application/json"/>
  177. </Redirect>
  178. <!--香港置地首页环境品质面板,需配置zkt_monitor的地址和端口-->
  179. <Redirect code="环境品质" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getRealTimeRateUseCache">
  180. <header key="Content-Type" value="application/json"/>
  181. </Redirect>
  182. <Redirect code="查询环境达标率列表" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/queryDetails/list">
  183. <header key="Content-Type" value="application/json"/>
  184. </Redirect>
  185. <Redirect code="查询环境达标率图片" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/queryDetails/pictureData">
  186. <header key="Content-Type" value="application/json"/>
  187. </Redirect>
  188. <Redirect code="获取开闭店时间" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getMarkOpenAndCloseTime">
  189. <header key="Content-Type" value="application/json"/>
  190. </Redirect>
  191. <Redirect code="获取第一条达标率时间" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getProjectStartTime">
  192. <header key="Content-Type" value="application/json"/>
  193. </Redirect>
  194. <!--消防管理模块,需配置ibms-alarm的地址和端口-->
  195. <Redirect code="折线图统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/fire-alarm-count">
  196. <header key="Content-Type" value="application/json" />
  197. </Redirect>
  198. <Redirect code="防火分区统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/zone-equ-alarm-count">
  199. <header key="Content-Type" value="application/json" />
  200. </Redirect>
  201. <Redirect code="首页火灾故障报警统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/today-alarm-count">
  202. <header key="Content-Type" value="application/json" />
  203. </Redirect>
  204. <Redirect code="七天报警统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/week-count">
  205. <header key="Content-Type" value="application/json" />
  206. </Redirect>
  207. <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
  208. <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
  209. <Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />
  210. </root>