menglu 3 years ago
parent
commit
895c6b6e6c
1 changed files with 12 additions and 6 deletions
  1. 12 6
      ibms-data-sdk/src/main/resources/config.xml

+ 12 - 6
ibms-data-sdk/src/main/resources/config.xml

@@ -6,10 +6,11 @@
     <groupCode>WD</groupCode>
     <projectId>Pj4403070003</projectId>
     <sdk_version>SDK-D</sdk_version>
-    <!-- 同步sync 异步async -->
+    
+    <!-- 控制模式:同步sync 异步async -->
     <control_mode>sync</control_mode>
 
-    <config path="D-config" refresh_enable="false" refresh_interval_second="60"/>
+    <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"/>
@@ -32,7 +33,9 @@
     <!-- 报警的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的服务地址 -->
     <person_center url="http://39.102.40.239:9970/person-center/"/>
+    <!-- 天气服务地址 -->
     <weather url="http://114.215.64.204:9090/EMS_Weather/"/>
 
     <!-- 场景/产品模块编码与后台tab页名称的对应关系 -->
@@ -44,15 +47,17 @@
     <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="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" />
+	-->
 
     <!-- 子系统连接状态里面,产品模块黑名单 -->
     <!--
@@ -62,6 +67,7 @@
     <subsystem_connect_status_exclude ibmsSceneCode="rdsb" />
     -->
 
+    <!-- 室外天气信息点定义 -->
 	<weather_now dataType="STRING" key="code" info_code="now_weather_code" name="实时天气编码" unit="" />
 	<weather_now dataType="STRING" key="text" info_code="now_weather_name" name="实时天气名称" unit="" />
 	<weather_now dataType="DOUBLE" key="temperature" info_code="now_temp" name="温度" unit="℃" />