config.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. <!--临港:Pj3101150010;龙岗:Pj4403070003-->
  8. <projectId>Pj3101150010</projectId>
  9. <sdk_version>SDK-D</sdk_version>
  10. <!-- 控制模式:同步sync 异步async -->
  11. <control_mode>sync</control_mode>
  12. <!-- IOT采集数据保留小数 -->
  13. <iot_round_d_to enable="true" length="1"/>
  14. <config path="D-config" refresh_enable="true" refresh_interval_second="60"/>
  15. <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
  16. <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
  17. <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
  18. <!-- version值选择 old、new、network -->
  19. <info_point path="D-info-point" enable="true" version="new" refresh_enable="true" refresh_interval_second="60"/>
  20. <!-- zkt-dmp的服务地址 -->
  21. <zkt_dmp url="http://192.168.100.76:9976/" compress="true" />
  22. <!-- zkt-monitor的服务地址 -->
  23. <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="true" />
  24. <!-- zkt-control的服务地址 -->
  25. <zkt_control url="http://192.168.100.33:9909/zkt-control/" />
  26. <!-- iot-collect的服务地址 -->
  27. <iot_collect url="http://192.168.100.33:9909/iot-collect/" />
  28. <!-- iot-project的websocket地址 -->
  29. <iot_websocket url="ws://192.168.100.33:8858/websocket" />
  30. <!-- iot-project的服务地址 -->
  31. <iot_project url="http://192.168.100.33:9909/iot-project/" />
  32. <!-- adm-project的服务地址 -->
  33. <adm_project url="http://39.102.40.239:28888/" />
  34. <!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
  35. <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer" url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm" />
  36. <!-- person-center的服务地址 -->
  37. <person_center url="http://39.102.40.239:9970/person-center/" />
  38. <!-- 天气服务地址 -->
  39. <weather url="http://114.215.64.204:9090/EMS_Weather/" />
  40. <!-- 标尺服务地址 -->
  41. <scaleplate url="http://develop.persagy.com/calendar/dye/sdk/" enable="true" />
  42. <!-- ibms_config配置服务,读取后台配置 -->
  43. <ibms_config url="http://ibmsdev.persagy.com/ibms-config/" enable="true" />
  44. <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
  45. <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
  46. <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明"/>
  47. <info_replace objType="building" from="localId" to="ibmsxianshibianma"/>
  48. <info_replace objType="building" from="localName" to="ibmsxianshimingcheng"/>
  49. <info_replace objType="floor" from="localId" to="ibmsxianshibianma"/>
  50. <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng"/>
  51. <info_replace objType="system" from="localId" to="ibmsxianshibianma"/>
  52. <info_replace objType="system" from="localName" to="ibmsxianshimingcheng"/>
  53. <!-- 非万达用下面四行 -->
  54. <!--
  55. <info_replace objType="space" from="localId" to="ibmsxianshibianma" />
  56. <info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />
  57. <info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />
  58. <info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />
  59. -->
  60. <!-- 万达用下面四行 -->
  61. <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  62. <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  63. <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
  64. <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
  65. <!-- 子系统连接状态里面,产品模块黑名单 -->
  66. <!--
  67. <subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
  68. <subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
  69. <subsystem_connect_status_exclude ibmsSceneCode="led" />
  70. <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
  71. -->
  72. <!-- 室外天气信息点定义 -->
  73. <weather_now dataType="STRING" key="code" info_code="now_weather_code" name="实时天气编码" unit="" />
  74. <weather_now dataType="STRING" key="text" info_code="now_weather_name" name="实时天气名称" unit="" />
  75. <weather_now dataType="DOUBLE" key="temperature" info_code="now_temp" name="温度" unit="℃" />
  76. <weather_now dataType="INTEGER" key="humidity" info_code="now_rh" name="湿度" unit="%" />
  77. <weather_now dataType="STRING" key="quality" info_code="now_quality" name="空气质量" unit="" />
  78. <weather_forecast dataType="STRING" key="codeDay" info_code="day_code" name="日间天气编码" unit="" />
  79. <weather_forecast dataType="STRING" key="textDay" info_code="day_name" name="日间天气名称" unit="" />
  80. <weather_forecast dataType="STRING" key="codeNight" info_code="night_code" name="夜间天气编码" unit="" />
  81. <weather_forecast dataType="STRING" key="textNight" info_code="night_name" name="夜间天气名称" unit="" />
  82. <weather_forecast dataType="DOUBLE" key="maxTemperature" info_code="maxTemperature" name="最高温度" unit="℃" />
  83. <weather_forecast dataType="DOUBLE" key="minTemperature" info_code="minTemperature" name="最低温度" unit="℃" />
  84. <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
  85. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑" multiplicityTo="1" />
  86. <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑" multiplicityTo="1" />
  87. <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n" nameInTo="所属楼层" multiplicityTo="1" />
  88. <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑" multiplicityFrom="1" />
  89. <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层" multiplicityFrom="1" />
  90. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space" nameInFrom="所在物业空间" multiplicityFrom="1" nameInTo="包含设备" multiplicityTo="n" />
  91. <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space" nameInFrom="所在环境空间" multiplicityFrom="1" nameInTo="包含设备" multiplicityTo="n" />
  92. <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n" />
  93. <ConfigRelation graphCode="MechSubset" relCode="Sy2Eq" objFrom="system" objTo="equipment" nameInTo="所属系统" multiplicityTo="1" />
  94. <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电" multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n" />
  95. <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备" multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n" />
  96. <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment" nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n" />
  97. <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n" />
  98. <!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
  99. <Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
  100. <!-- 中转服务的header,有几项就写几行 -->
  101. <header key="Content-Type" value="application/json" />
  102. </Redirect>
  103. <Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
  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/energy/query">
  108. <!-- 中转服务的header,有几项就写几行 -->
  109. <header key="Content-Type" value="application/json" />
  110. </Redirect>
  111. <Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/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/floorAvgTemperature/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/itemDataList/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/itemMonthDataList/query">
  124. <!-- 中转服务的header,有几项就写几行 -->
  125. <header key="Content-Type" value="application/json" />
  126. </Redirect>
  127. <Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
  128. <header key="Content-Type" value="application/json" />
  129. </Redirect>
  130. <Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
  131. <header key="Content-Type" value="application/json" />
  132. </Redirect>
  133. <Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
  134. <header key="Content-Type" value="application/json" />
  135. </Redirect>
  136. <Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
  137. <header key="Content-Type" value="application/json" />
  138. </Redirect>
  139. <Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
  140. <header key="Content-Type" value="application/json" />
  141. </Redirect>
  142. <Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
  143. <header key="Content-Type" value="application/json" />
  144. </Redirect>
  145. <Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
  146. <header key="Content-Type" value="application/json" />
  147. </Redirect>
  148. <!--开闭店需配置以下几个地址 url的ip和端口对应zkt-control服务的ip和端口-->
  149. <Redirect code="查询子系统配置" http_request_type="post" url="http://192.168.0.33:9980/ocssiConfigsubsystemStatus/queryOcssiConfigsubsystemStatusList">
  150. <header key="Content-Type" value="application/json" />
  151. </Redirect>
  152. <Redirect code="查询环境配置" http_request_type="post" url="http://192.168.100.33:9909/ocssiConfigenvi/queryOcssiConfigenviList">
  153. <header key="Content-Type" value="application/json" />
  154. </Redirect>
  155. <Redirect code="查询重点监控配置" http_request_type="post" url="http://192.168.100.33:9909/ocssiConfigfocusMonitor/queryOcssiConfigfocusMonitorList">
  156. <header key="Content-Type" value="application/json" />
  157. </Redirect>
  158. <Redirect code="关键设备开关状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listKeyEquipStatus">
  159. <header key="Content-Type" value="application/json" />
  160. </Redirect>
  161. <Redirect code="设备计划开关状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listEquipPlanStatus">
  162. <header key="Content-Type" value="application/json" />
  163. </Redirect>
  164. <Redirect code="设备在离线状态" http_request_type="get" url="http://192.168.100.33:9909/ocssiRealTime/listEquipOnlineStatus">
  165. <header key="Content-Type" value="application/json" />
  166. </Redirect>
  167. <!--退出登录,需配置人员服务的地址和端口-->
  168. <Redirect code="退出登录" http_request_type="post" url="http://39.102.40.239:9970/person-center/user/logout">
  169. <header key="Content-Type" value="application/json"/>
  170. </Redirect>
  171. <!--车位负载率,需配置zkt_monitor服务的地址和接口-->
  172. <Redirect code="负载率" http_request_type="post" url="http://192.168.0.33:9982/parklot/loadCurrentRateOfCarport">
  173. <header key="Content-Type" value="application/json"/>
  174. </Redirect>
  175. <Redirect code="负载率曲线" http_request_type="post" url="http://192.168.0.33:9982/parklot/load24HRateOfCarport">
  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/zkt-monitor/user/login">
  180. <header key="Content-Type" value="application/json"/>
  181. </Redirect>
  182. <!--香港置地首页环境品质面板,需配置zkt_monitor的地址和端口-->
  183. <Redirect code="环境品质" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getRealTimeRateUseCache">
  184. <header key="Content-Type" value="application/json"/>
  185. </Redirect>
  186. <Redirect code="查询环境达标率列表" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/queryDetails/list">
  187. <header key="Content-Type" value="application/json"/>
  188. </Redirect>
  189. <Redirect code="查询环境达标率图片" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/queryDetails/pictureData">
  190. <header key="Content-Type" value="application/json"/>
  191. </Redirect>
  192. <Redirect code="获取开闭店时间" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getMarkOpenAndCloseTime">
  193. <header key="Content-Type" value="application/json"/>
  194. </Redirect>
  195. <Redirect code="获取第一条达标率时间" http_request_type="post" url="http://39.102.43.179:9982/environmentQuality/getProjectStartTime">
  196. <header key="Content-Type" value="application/json"/>
  197. </Redirect>
  198. <!--消防管理模块,需配置ibms-alarm的地址和端口-->
  199. <Redirect code="折线图统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/fire-alarm-count">
  200. <header key="Content-Type" value="application/json" />
  201. </Redirect>
  202. <Redirect code="防火分区统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/zone-equ-alarm-count">
  203. <header key="Content-Type" value="application/json" />
  204. </Redirect>
  205. <Redirect code="首页火灾故障报警统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/today-alarm-count">
  206. <header key="Content-Type" value="application/json" />
  207. </Redirect>
  208. <Redirect code="七天报警统计" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/week-count">
  209. <header key="Content-Type" value="application/json" />
  210. </Redirect>
  211. <!--热泵系统控制、状态判断,需配置zkt_control的地址和端口-->
  212. <Redirect code="系统开关控制" http_request_type="post" url="http://39.102.43.179:9980/airCooledHeatPump/control">
  213. <header key="Content-Type" value="application/json"/>
  214. </Redirect>
  215. <Redirect code="系统状态判断" http_request_type="post" url="http://39.102.43.179:9980/airCooledHeatPump/status">
  216. <header key="Content-Type" value="application/json"/>
  217. </Redirect>
  218. <!--下发布撤防指令,需配置zkt_control的地址和端口-->
  219. <Redirect code="下发布撤防指令" http_request_type="post" url="http://39.102.43.179:9980/security/zone/order">
  220. <header key="Content-Type" value="application/json"/>
  221. </Redirect>
  222. <!--获取base64验证码,需配置person_center的地址和端口-->
  223. <Redirect code="获取验证码" http_request_type="post" url="http://39.102.40.239:9970/person-center/user/getCaptchaBase64">
  224. <header key="Content-Type" value="application/json"/>
  225. </Redirect>
  226. <!--左侧-主动拉取全量的实时报警记录,需配置alarm的地址和端口-->
  227. <Redirect code="实时报警记录" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/realAalrm">
  228. <header key="Content-Type" value="application/json"/>
  229. </Redirect>
  230. <!--自恢复报警归档-->
  231. <Redirect code="全部归档" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/archive">
  232. <header key="Content-Type" value="application/json"/>
  233. </Redirect>
  234. <!--实时报警记录数统计-->
  235. <Redirect code="实时报警记录数统计" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/query/recordCount">
  236. <header key="Content-Type" value="application/json"/>
  237. </Redirect>
  238. <!--查询对象报警记录详情-->
  239. <Redirect code="报警记录详情" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/objectAlarmRecord">
  240. <header key="Content-Type" value="application/json"/>
  241. </Redirect>
  242. <!--报警转工单-->
  243. <Redirect code="报警转工单" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarmToWorkOrder/transfer">
  244. <header key="Content-Type" value="application/json"/>
  245. </Redirect>
  246. <!--报警记录批注处理-补充描述-->
  247. <Redirect code="补充描述" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/updateComment">
  248. <header key="Content-Type" value="application/json"/>
  249. </Redirect>
  250. <!--实时/历史报警记录查询-->
  251. <Redirect code="报警记录查询" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/page">
  252. <header key="Content-Type" value="application/json"/>
  253. </Redirect>
  254. <!--添加操作日志-->
  255. <Redirect code="添加日志" http_request_type="post" url="http://192.168.100.33:9909/zkt-control/operationLog/saveOperationLog">
  256. <header key="Content-Type" value="application/json"/>
  257. </Redirect>
  258. <!--查询指定项目的报警类型列表-->
  259. <Redirect code="查询报警类型" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-config/alarmCategoryProject/queryAlarmCategoryProjectList">
  260. <header key="Content-Type" value="application/json"/>
  261. </Redirect>
  262. <!--导出历史报警记录-->
  263. <Redirect code="导出历史报警" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/downLoadHistory">
  264. <header key="Content-Type" value="application/json"/>
  265. </Redirect>
  266. <!--报警处理-->
  267. <Redirect code="报警处理" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/handleAlarm">
  268. <header key="Content-Type" value="application/json"/>
  269. </Redirect>
  270. <!--导出实时报警记录,需配置alarm的地址和端口-->
  271. <Redirect code="导出实时报警" http_request_type="post" url="http://ibmsdev.persagy.com/ibms-alarm/alarm-record/downLoadActual">
  272. <header key="Content-Type" value="application/json"/>
  273. </Redirect>
  274. <!--无线物联网-平均用水量查询-->
  275. <Redirect code="用水量查询" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/waterlot/getWaterConsumtionInfo">
  276. <header key="Content-Type" value="application/json"/>
  277. </Redirect>
  278. <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
  279. <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
  280. <Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />
  281. </root>