config.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. <!-- zkt-dmp的服务地址 -->
  9. <rwd url="http://192.168.100.33:9976/" compress="true" />
  10. <config path="D-config" refresh_enable="true" 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="new" refresh_enable="true" refresh_interval_second="60" />
  15. <!-- zkt-monitor的服务地址 -->
  16. <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false" />
  17. <!-- zkt-control的服务地址 -->
  18. <zkt_control url="http://192.168.100.33:9909/zkt-control/" />
  19. <!-- iot-collect的服务地址 -->
  20. <iot_collect url="http://192.168.100.33:9909/iot-collect/" />
  21. <!-- iot-project的websocket地址 -->
  22. <iot_websocket url="ws://192.168.100.33:8858/websocket" />
  23. <!-- <iot_websocket url="ws://localhost:8858/websocket" /> -->
  24. <!-- iot-project的服务地址 -->
  25. <iot_project url="http://192.168.100.33:9909/iot-project/" />
  26. <!-- <iot_project url="http://localhost:7101/" /> -->
  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.33:9909/webSocketServer" url="http://192.168.100.33:9909/zkt-alarm/" service_name="zkt-alarm" /> -->
  31. <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer" url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm" />
  32. <!-- <alarm enable="true" websocket="http://39.102.43.179:9993/webSocketServer" url="http://39.102.43.179:9993/" service_name="ibms-alarm" /> -->
  33. <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
  34. <SceneCode2TabName sceneCode="ggzm" tabName="公共照明" />
  35. <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明" />
  36. <info_replace objType="building" from="localId" to="ibmsxianshibianma" />
  37. <info_replace objType="building" from="localName" to="ibmsxianshimingcheng" />
  38. <info_replace objType="floor" from="localId" to="ibmsxianshibianma" />
  39. <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng" />
  40. <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  41. <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  42. <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  43. <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  44. <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
  45. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑" multiplicityTo="1" />
  46. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑" multiplicityTo="1" />
  47. <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n" nameInTo="所属楼层" multiplicityTo="1" />
  48. <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑" multiplicityFrom="1" />
  49. <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层" multiplicityFrom="1" />
  50. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space" nameInFrom="所在物业空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
  51. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space" nameInFrom="所在环境空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
  52. <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n" />
  53. <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电" multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n" />
  54. <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备" multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n" />
  55. <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment" nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n" />
  56. <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n" />
  57. <!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
  58. <Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
  59. <!-- 中转服务的header,有几项就写几行 -->
  60. <header key="Content-Type" value="application/json" />
  61. </Redirect>
  62. <Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
  63. <!-- 中转服务的header,有几项就写几行 -->
  64. <header key="Content-Type" value="application/json" />
  65. </Redirect>
  66. <Redirect code="香港置地首页能耗数据" http_request_type="post" url="http://39.102.43.179:9982/energy/query">
  67. <!-- 中转服务的header,有几项就写几行 -->
  68. <header key="Content-Type" value="application/json" />
  69. </Redirect>
  70. <Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/query">
  71. <!-- 中转服务的header,有几项就写几行 -->
  72. <header key="Content-Type" value="application/json" />
  73. </Redirect>
  74. <Redirect code="查询楼层平均温度" http_request_type="get" url="http://39.102.43.179:9982/floorAvgTemperature/query">
  75. <!-- 中转服务的header,有几项就写几行 -->
  76. <header key="Content-Type" value="application/json" />
  77. </Redirect>
  78. <Redirect code="查询详细信息列表" http_request_type="get" url="http://39.102.43.179:9982/itemDataList/query">
  79. <!-- 中转服务的header,有几项就写几行 -->
  80. <header key="Content-Type" value="application/json" />
  81. </Redirect>
  82. <Redirect code="查询详细信息月份列表" http_request_type="get" url="http://39.102.43.179:9982/itemMonthDataList/query">
  83. <!-- 中转服务的header,有几项就写几行 -->
  84. <header key="Content-Type" value="application/json" />
  85. </Redirect>
  86. <Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
  87. <header key="Content-Type" value="application/json" />
  88. </Redirect>
  89. <Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
  90. <header key="Content-Type" value="application/json" />
  91. </Redirect>
  92. <Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
  93. <header key="Content-Type" value="application/json" />
  94. </Redirect>
  95. <Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
  96. <header key="Content-Type" value="application/json" />
  97. </Redirect>
  98. <Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
  99. <header key="Content-Type" value="application/json" />
  100. </Redirect>
  101. <Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
  102. <header key="Content-Type" value="application/json" />
  103. </Redirect>
  104. <Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
  105. <header key="Content-Type" value="application/json" />
  106. </Redirect>
  107. <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
  108. <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
  109. <Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />
  110. </root>