config.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. <groupCode>WD</groupCode>
  6. <projectId>Pj4403070003</projectId>
  7. <sdk_version>SDK-D</sdk_version>
  8. <!-- 同步sync 异步async -->
  9. <control_mode>sync</control_mode>
  10. <config path="D-config" refresh_enable="false" refresh_interval_second="60"/>
  11. <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
  12. <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
  13. <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
  14. <info_point path="D-info-point" enable="true" version="old" refresh_enable="true" refresh_interval_second="60"/>
  15. <!-- zkt-dmp的服务地址 -->
  16. <zkt_dmp url="http://192.168.100.33:9976/" compress="true"/>
  17. <!-- zkt-monitor的服务地址 -->
  18. <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false"/>
  19. <!-- zkt-control的服务地址 -->
  20. <zkt_control url="http://192.168.100.33:9909/zkt-control/"/>
  21. <!-- iot-collect的服务地址 -->
  22. <iot_collect url="http://192.168.100.33:9909/iot-collect/"/>
  23. <!-- iot-project的websocket地址 -->
  24. <iot_websocket url="ws://192.168.100.33:8858/websocket"/>
  25. <!-- iot-project的服务地址 -->
  26. <iot_project url="http://192.168.100.33:9909/iot-project/"/>
  27. <!-- adm-project的服务地址 -->
  28. <adm_project url="http://39.102.40.239:28888/"/>
  29. <!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
  30. <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer"
  31. url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm"/>
  32. <person_center url="http://39.102.40.239:9970/person-center/"/>
  33. <weather url="http://114.215.64.204:9090/EMS_Weather/"/>
  34. <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
  35. <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
  36. <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明"/>
  37. <info_replace objType="building" from="localId" to="ibmsxianshibianma"/>
  38. <info_replace objType="building" from="localName" to="ibmsxianshimingcheng"/>
  39. <info_replace objType="floor" from="localId" to="ibmsxianshibianma"/>
  40. <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng"/>
  41. <!-- 非万达用下面四行 -->
  42. <!-- <info_replace objType="space" from="localId" to="ibmsxianshibianma" />-->
  43. <!-- <info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />-->
  44. <!-- <info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />-->
  45. <!-- <info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />-->
  46. <!-- 万达用下面四行 -->
  47. <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  48. <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  49. <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  50. <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  51. <!-- 子系统连接状态里面,产品模块黑名单 -->
  52. <!--
  53. <subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
  54. <subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
  55. <subsystem_connect_status_exclude ibmsSceneCode="led" />
  56. <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
  57. -->
  58. <weather_now dataType="STRING" key="code" info_code="now_weather_code" name="实时天气编码" unit="" />
  59. <weather_now dataType="STRING" key="text" info_code="now_weather_name" name="实时天气名称" unit="" />
  60. <weather_now dataType="DOUBLE" key="temperature" info_code="now_temp" name="温度" unit="℃" />
  61. <weather_now dataType="INTEGER" key="humidity" info_code="now_rh" name="湿度" unit="%" />
  62. <weather_now dataType="STRING" key="quality" info_code="now_quality" name="空气质量" unit="" />
  63. <weather_forecast dataType="STRING" key="codeDay" info_code="day_code" name="日间天气编码" unit="" />
  64. <weather_forecast dataType="STRING" key="textDay" info_code="day_name" name="日间天气名称" unit="" />
  65. <weather_forecast dataType="STRING" key="codeNight" info_code="night_code" name="夜间天气编码" unit="" />
  66. <weather_forecast dataType="STRING" key="textNight" info_code="night_name" name="夜间天气名称" unit="" />
  67. <weather_forecast dataType="DOUBLE" key="maxTemperature" info_code="maxTemperature" name="最高温度" unit="℃" />
  68. <weather_forecast dataType="DOUBLE" key="minTemperature" info_code="minTemperature" name="最低温度" unit="℃" />
  69. <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
  70. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑"
  71. multiplicityTo="1"/>
  72. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑"
  73. multiplicityTo="1"/>
  74. <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n"
  75. nameInTo="所属楼层" multiplicityTo="1"/>
  76. <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑"
  77. multiplicityFrom="1"/>
  78. <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层"
  79. multiplicityFrom="1"/>
  80. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space"
  81. nameInFrom="所在物业空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n"/>
  82. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space"
  83. nameInFrom="所在环境空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n"/>
  84. <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间"
  85. multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n"/>
  86. <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电"
  87. multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n"/>
  88. <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备"
  89. multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n"/>
  90. <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment"
  91. nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n"/>
  92. <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间"
  93. 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. <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list"/>
  145. <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post"/>
  146. <Redirect code="test-get2" http_request_type="get"
  147. url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD"/>
  148. </root>