config.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. <!-- IOT采集数据保留小数 -->
  11. <iot_round_d_to enable="true" length="1"/>
  12. <config path="D-config" refresh_enable="true" refresh_interval_second="60"/>
  13. <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
  14. <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
  15. <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
  16. <info_point path="D-info-point" enable="true" version="old" refresh_enable="true" refresh_interval_second="60"/>
  17. <!-- zkt-dmp的服务地址 -->
  18. <zkt_dmp url="http://192.168.100.33:9976/" compress="true" />
  19. <!-- zkt-monitor的服务地址 -->
  20. <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false" />
  21. <!-- zkt-control的服务地址 -->
  22. <zkt_control url="http://192.168.100.33:9909/zkt-control/" />
  23. <!-- iot-collect的服务地址 -->
  24. <iot_collect url="http://192.168.100.33:9909/iot-collect/" />
  25. <!-- iot-project的websocket地址 -->
  26. <iot_websocket url="ws://192.168.100.33:8858/websocket" />
  27. <!-- iot-project的服务地址 -->
  28. <iot_project url="http://192.168.100.33:9909/iot-project/" />
  29. <!-- adm-project的服务地址 -->
  30. <adm_project url="http://39.102.40.239:28888/" />
  31. <!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
  32. <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer" url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm" />
  33. <!-- person-center的服务地址 -->
  34. <person_center url="http://39.102.40.239:9970/person-center/" />
  35. <!-- 天气服务地址 -->
  36. <weather url="http://114.215.64.204:9090/EMS_Weather/" />
  37. <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
  38. <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
  39. <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明"/>
  40. <info_replace objType="building" from="localId" to="ibmsxianshibianma"/>
  41. <info_replace objType="building" from="localName" to="ibmsxianshimingcheng"/>
  42. <info_replace objType="floor" from="localId" to="ibmsxianshibianma"/>
  43. <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng"/>
  44. <!-- 非万达用下面四行 -->
  45. <info_replace objType="space" from="localId" to="ibmsxianshibianma" />
  46. <info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />
  47. <info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />
  48. <info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />
  49. <!-- 万达用下面四行 -->
  50. <!--
  51. <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  52. <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  53. <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  54. <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  55. -->
  56. <!-- 子系统连接状态里面,产品模块黑名单 -->
  57. <!--
  58. <subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
  59. <subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
  60. <subsystem_connect_status_exclude ibmsSceneCode="led" />
  61. <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
  62. -->
  63. <!-- 室外天气信息点定义 -->
  64. <weather_now dataType="STRING" key="code" info_code="now_weather_code" name="实时天气编码" unit="" />
  65. <weather_now dataType="STRING" key="text" info_code="now_weather_name" name="实时天气名称" unit="" />
  66. <weather_now dataType="DOUBLE" key="temperature" info_code="now_temp" name="温度" unit="℃" />
  67. <weather_now dataType="INTEGER" key="humidity" info_code="now_rh" name="湿度" unit="%" />
  68. <weather_now dataType="STRING" key="quality" info_code="now_quality" name="空气质量" unit="" />
  69. <weather_forecast dataType="STRING" key="codeDay" info_code="day_code" name="日间天气编码" unit="" />
  70. <weather_forecast dataType="STRING" key="textDay" info_code="day_name" name="日间天气名称" unit="" />
  71. <weather_forecast dataType="STRING" key="codeNight" info_code="night_code" name="夜间天气编码" unit="" />
  72. <weather_forecast dataType="STRING" key="textNight" info_code="night_name" name="夜间天气名称" unit="" />
  73. <weather_forecast dataType="DOUBLE" key="maxTemperature" info_code="maxTemperature" name="最高温度" unit="℃" />
  74. <weather_forecast dataType="DOUBLE" key="minTemperature" info_code="minTemperature" name="最低温度" unit="℃" />
  75. <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
  76. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑" multiplicityTo="1" />
  77. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑" multiplicityTo="1" />
  78. <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n" nameInTo="所属楼层" multiplicityTo="1" />
  79. <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑" multiplicityFrom="1" />
  80. <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层" multiplicityFrom="1" />
  81. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space" nameInFrom="所在物业空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
  82. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space" nameInFrom="所在环境空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
  83. <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n" />
  84. <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电" multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n" />
  85. <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备" multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n" />
  86. <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment" nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n" />
  87. <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n" />
  88. <!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
  89. <Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
  90. <!-- 中转服务的header,有几项就写几行 -->
  91. <header key="Content-Type" value="application/json" />
  92. </Redirect>
  93. <Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
  94. <!-- 中转服务的header,有几项就写几行 -->
  95. <header key="Content-Type" value="application/json" />
  96. </Redirect>
  97. <Redirect code="香港置地首页能耗数据" http_request_type="post" url="http://39.102.43.179:9982/energy/query">
  98. <!-- 中转服务的header,有几项就写几行 -->
  99. <header key="Content-Type" value="application/json" />
  100. </Redirect>
  101. <Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/query">
  102. <!-- 中转服务的header,有几项就写几行 -->
  103. <header key="Content-Type" value="application/json" />
  104. </Redirect>
  105. <Redirect code="查询楼层平均温度" http_request_type="get" url="http://39.102.43.179:9982/floorAvgTemperature/query">
  106. <!-- 中转服务的header,有几项就写几行 -->
  107. <header key="Content-Type" value="application/json" />
  108. </Redirect>
  109. <Redirect code="查询详细信息列表" http_request_type="get" url="http://39.102.43.179:9982/itemDataList/query">
  110. <!-- 中转服务的header,有几项就写几行 -->
  111. <header key="Content-Type" value="application/json" />
  112. </Redirect>
  113. <Redirect code="查询详细信息月份列表" http_request_type="get" url="http://39.102.43.179:9982/itemMonthDataList/query">
  114. <!-- 中转服务的header,有几项就写几行 -->
  115. <header key="Content-Type" value="application/json" />
  116. </Redirect>
  117. <Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
  118. <header key="Content-Type" value="application/json" />
  119. </Redirect>
  120. <Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
  121. <header key="Content-Type" value="application/json" />
  122. </Redirect>
  123. <Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
  124. <header key="Content-Type" value="application/json" />
  125. </Redirect>
  126. <Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
  127. <header key="Content-Type" value="application/json" />
  128. </Redirect>
  129. <Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
  130. <header key="Content-Type" value="application/json" />
  131. </Redirect>
  132. <Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
  133. <header key="Content-Type" value="application/json" />
  134. </Redirect>
  135. <Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
  136. <header key="Content-Type" value="application/json" />
  137. </Redirect>
  138. <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
  139. <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
  140. <Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />
  141. </root>