Bladeren bron

增加人员服务地址

lirong 3 jaren geleden
bovenliggende
commit
34954add44
1 gewijzigde bestanden met toevoegingen van 136 en 122 verwijderingen
  1. 136 122
      ibms-data-sdk/src/main/resources/config.xml

+ 136 - 122
ibms-data-sdk/src/main/resources/config.xml

@@ -1,132 +1,146 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
 <root>
 <root>
-	<compute_thread_count>16</compute_thread_count>
-	<compute_thread_sdv_interval>10</compute_thread_sdv_interval>
+    <compute_thread_count>16</compute_thread_count>
+    <compute_thread_sdv_interval>10</compute_thread_sdv_interval>
 
 
-	<groupCode>WD</groupCode>
-	<projectId>Pj4403070003</projectId>
-	<sdk_version>SDK-D</sdk_version>
-	<!-- 同步sync 异步async -->
-	<control_mode>sync</control_mode>
-	
-	<config path="D-config" refresh_enable="true" refresh_interval_second="60" />
-	<physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600" />
-	<zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600" />
-	<ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60" />
-	<info_point path="D-info-point" enable="true" version="new" refresh_enable="true" refresh_interval_second="60" />
-	
-	<!-- zkt-dmp的服务地址 -->
-	<zkt_dmp url="http://192.168.100.33:9976/" compress="true" />
-	<!-- zkt-monitor的服务地址 -->
-	<zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false" />
-	<!-- zkt-control的服务地址 -->
-	<zkt_control url="http://192.168.100.33:9909/zkt-control/" />
-	<!-- iot-collect的服务地址 -->
-	<iot_collect url="http://192.168.100.33:9909/iot-collect/" />
-	<!-- iot-project的websocket地址 -->
-	<iot_websocket url="ws://192.168.100.33:8858/websocket" />
-	<!-- iot-project的服务地址 -->
-	<iot_project url="http://192.168.100.33:9909/iot-project/" />
-	<!-- adm-project的服务地址 -->
-	<adm_project url="http://39.102.40.239:28888/" />
-	<!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
-	<alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer" url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm" />
+    <groupCode>WD</groupCode>
+    <projectId>Pj4403070003</projectId>
+    <sdk_version>SDK-D</sdk_version>
+    <!-- 同步sync 异步async -->
+    <control_mode>sync</control_mode>
 
 
-	<!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
-	<SceneCode2TabName sceneCode="ggzm" tabName="公共照明" />
-	<SceneCode2TabName sceneCode="yjzm" tabName="夜景照明" />
+    <config path="D-config" refresh_enable="false" refresh_interval_second="60"/>
+    <physical_world path="D-physical_world" refresh_enable="true" refresh_interval_second="3600"/>
+    <zkt_physical_world path="D-zkt_physical_world" enable="true" refresh_enable="true" refresh_interval_second="3600"/>
+    <ibms_physical_world path="D-ibms_physical_world" enable="true" refresh_enable="true" refresh_interval_second="60"/>
+    <info_point path="D-info-point" enable="true" version="old" refresh_enable="true" refresh_interval_second="60"/>
 
 
-	<info_replace objType="building" from="localId" to="ibmsxianshibianma" />
-	<info_replace objType="building" from="localName" to="ibmsxianshimingcheng" />
-	<info_replace objType="floor" from="localId" to="ibmsxianshibianma" />
-	<info_replace objType="floor" from="localName" to="ibmsxianshimingcheng" />
-	<!-- 非万达用下面四行 -->
-	<info_replace objType="space" from="localId" to="ibmsxianshibianma" />
-	<info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />
-	<info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />
-	<info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />
-	<!-- 万达用下面四行 -->
-	<!--
-	<info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
-	<info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
-	<info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma" />
-	<info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng" />
-	-->
+    <!-- zkt-dmp的服务地址 -->
+    <zkt_dmp url="http://192.168.100.33:9976/" compress="true"/>
+    <!-- zkt-monitor的服务地址 -->
+    <zkt_monitor url="http://192.168.100.33:9909/zkt-monitor/" compress="false"/>
+    <!-- zkt-control的服务地址 -->
+    <zkt_control url="http://192.168.100.33:9909/zkt-control/"/>
+    <!-- iot-collect的服务地址 -->
+    <iot_collect url="http://192.168.100.33:9909/iot-collect/"/>
+    <!-- iot-project的websocket地址 -->
+    <iot_websocket url="ws://192.168.100.33:8858/websocket"/>
+    <!-- iot-project的服务地址 -->
+    <iot_project url="http://192.168.100.33:9909/iot-project/"/>
+    <!-- adm-project的服务地址 -->
+    <adm_project url="http://39.102.40.239:28888/"/>
+    <!-- 报警的websocket地址、url服务地址、 service_name服务名(旧版本是zkt-alarm;新版本是ibms-alarm) -->
+    <alarm enable="true" websocket="ws://192.168.100.76:8870/webSocketServer"
+           url="http://192.168.100.33:9909/ibms-alarm/" service_name="ibms-alarm"/>
+    <person_center url="http://39.102.40.239:9970/person-center/"/>
 
 
-	<!-- 子系统连接状态里面,产品模块黑名单 -->
-	<!--
-	<subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
-	<subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
-	<subsystem_connect_status_exclude ibmsSceneCode="led" />
-	<subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
-	-->
+    <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
+    <SceneCode2TabName sceneCode="ggzm" tabName="公共照明"/>
+    <SceneCode2TabName sceneCode="yjzm" tabName="夜景照明"/>
 
 
-	<!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
-	<ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑" multiplicityTo="1" />
-	<ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑" multiplicityTo="1" />
-	<ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n" nameInTo="所属楼层" multiplicityTo="1" />
-	<ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑" multiplicityFrom="1" />
-	<ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层" multiplicityFrom="1" />
-	<ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space" nameInFrom="所在物业空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
-	<ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space" nameInFrom="所在环境空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n" />
-	<ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n" />
-	<ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电" multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n" />
-	<ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备" multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n" />
-	<ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment" nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n" />
-	<ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间" multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n" />
+    <info_replace objType="building" from="localId" to="ibmsxianshibianma"/>
+    <info_replace objType="building" from="localName" to="ibmsxianshimingcheng"/>
+    <info_replace objType="floor" from="localId" to="ibmsxianshibianma"/>
+    <info_replace objType="floor" from="localName" to="ibmsxianshimingcheng"/>
+    <!-- 非万达用下面四行 -->
+    <!--	<info_replace objType="space" from="localId" to="ibmsxianshibianma" />-->
+    <!--	<info_replace objType="space" from="localName" to="ibmsxianshimingcheng" />-->
+    <!--	<info_replace objType="equipment" from="localId" to="ibmsxianshibianma" />-->
+    <!--	<info_replace objType="equipment" from="localName" to="ibmsxianshimingcheng" />-->
+    <!-- 万达用下面四行 -->
+    <info_replace objType="space" from="wD_huiyunbendibianma" to="ibmsxianshibianma"/>
+    <info_replace objType="space" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng"/>
+    <info_replace objType="equipment" from="wD_huiyunbendibianma" to="ibmsxianshibianma"/>
+    <info_replace objType="equipment" from="wD_huiyunbendimingcheng" to="ibmsxianshimingcheng"/>
 
 
-	<!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
-	<Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="香港置地首页能耗数据" http_request_type="post" url="http://39.102.43.179:9982/energy/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询楼层平均温度" http_request_type="get" url="http://39.102.43.179:9982/floorAvgTemperature/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询详细信息列表" http_request_type="get" url="http://39.102.43.179:9982/itemDataList/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询详细信息月份列表" http_request_type="get" url="http://39.102.43.179:9982/itemMonthDataList/query">
-		<!-- 中转服务的header,有几项就写几行 -->
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
-	<Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
-		<header key="Content-Type" value="application/json" />
-	</Redirect>
 
 
-	<Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list" />
-	<Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post" />
-	<Redirect code="test-get2" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD" />
+    <!-- 子系统连接状态里面,产品模块黑名单 -->
+    <!--
+    <subsystem_connect_status_exclude ibmsSceneCode="xfsxt" />
+    <subsystem_connect_status_exclude ibmsSceneCode="lcpd" />
+    <subsystem_connect_status_exclude ibmsSceneCode="led" />
+    <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
+    -->
+
+    <!-- 数据中台物理世界对象初始加载的关系,供SDK配置中使用 -->
+    <ConfigRelation graphCode="ArchSubset" relCode="Bd2Fl" objFrom="building" objTo="floor" nameInTo="所属建筑"
+                    multiplicityTo="1"/>
+    <ConfigRelation graphCode="ArchSubset" relCode="Bd2Sp" objFrom="building" objTo="space" nameInTo="所属建筑"
+                    multiplicityTo="1"/>
+    <ConfigRelation graphCode="ArchSubset" relCode="Fl2Sp" objFrom="floor" objTo="space" multiplicityFrom="n"
+                    nameInTo="所属楼层" multiplicityTo="1"/>
+    <ConfigRelation graphCode="MechInArch" relCode="Eq2Bd" objFrom="equipment" objTo="building" nameInFrom="所在建筑"
+                    multiplicityFrom="1"/>
+    <ConfigRelation graphCode="MechInArch" relCode="Eq2Fl" objFrom="equipment" objTo="floor" nameInFrom="所在楼层"
+                    multiplicityFrom="1"/>
+    <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="GeneralZone" objFrom="equipment" objTo="space"
+                    nameInFrom="所在物业空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n"/>
+    <ConfigRelation graphCode="MechInArch" relCode="Eq2Sp" relValue="EnvironmentZone" objFrom="equipment" objTo="space"
+                    nameInFrom="所在环境空间" multiplicityFrom="n" nameInTo="包含设备" multiplicityTo="n"/>
+    <ConfigRelation graphCode="MechForArch" relCode="Eq2Sp" objFrom="equipment" objTo="space" nameInFrom="服务于空间"
+                    multiplicityFrom="n" nameInTo="被设备服务" multiplicityTo="n"/>
+    <ConfigRelation graphCode="MechPower" relCode="EqNormal" objFrom="equipment" objTo="equipment" nameInFrom="给设备供电"
+                    multiplicityFrom="n" nameInTo="被设备供电" multiplicityTo="n"/>
+    <ConfigRelation graphCode="MechCtrl" relCode="EqCtrl" objFrom="equipment" objTo="equipment" nameInFrom="控制设备"
+                    multiplicityFrom="n" nameInTo="被设备控制" multiplicityTo="n"/>
+    <ConfigRelation graphCode="ValveRelationship" relCode="Vv2Eq" objFrom="equipment" objTo="equipment"
+                    nameInFrom="限制设备" multiplicityFrom="n" nameInTo="被设备限制" multiplicityTo="n"/>
+    <ConfigRelation graphCode="ArchForArch" relCode="Sp2Sp" objFrom="space" objTo="space" nameInFrom="服务于空间"
+                    multiplicityFrom="n" nameInTo="被空间服务" multiplicityTo="n"/>
+
+    <!-- 中转服务的编码、请求类型、url服务地址(根据实际情况添加) -->
+    <Redirect code="获取报警时长" http_request_type="get" url="http://39.102.43.179:9982/alarmTime/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="香港置地最近24小时功率" http_request_type="post" url="http://39.102.43.179:9982/energy/24data/list">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="香港置地首页能耗数据" http_request_type="post" url="http://39.102.43.179:9982/energy/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询能源系统数据" http_request_type="post" url="http://39.102.43.179:9982/energySystem/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询楼层平均温度" http_request_type="get" url="http://39.102.43.179:9982/floorAvgTemperature/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询详细信息列表" http_request_type="get" url="http://39.102.43.179:9982/itemDataList/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询详细信息月份列表" http_request_type="get" url="http://39.102.43.179:9982/itemMonthDataList/query">
+        <!-- 中转服务的header,有几项就写几行 -->
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询项目概括" http_request_type="get" url="http://39.102.43.179:9982/projectSummary/query">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="获取数据质量总览" http_request_type="get" url="http://39.102.43.179:9982/qualityTotal/query">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询温控平台数据" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询温控平台数据v2" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v2">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询温控平台数据v3" http_request_type="post" url="http://39.102.43.179:9982/temperatureControl/query/v3">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询定额管理" http_request_type="get" url="http://39.102.43.179:9982/weekNeedMatter/query">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+    <Redirect code="查询附近摄像头" http_request_type="post" url="http://192.168.100.33:9909/zkt-monitor/camera/nearest/v2">
+        <header key="Content-Type" value="application/json"/>
+    </Redirect>
+
+    <Redirect code="test-get1" http_request_type="get" url="http://39.102.43.179:9993/alarm-record/list"/>
+    <Redirect code="test-post1" http_request_type="post" url="http://192.168.4.69:8806/zkt-sdk/post"/>
+    <Redirect code="test-get2" http_request_type="get"
+              url="http://39.102.43.179:9993/alarm-record/list?projectId=Pj4403070003&amp;groupCode=WD"/>
 </root>
 </root>