Bladeren bron

update:修改环境品质,添加照度类型

zhangweixin 2 jaren geleden
bovenliggende
commit
efd82abe9a

+ 1 - 1
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/Constant.java

@@ -96,7 +96,7 @@ public class Constant {
 			suffixMap.put("-" + "meter-funcid", true);
 		}
 
-		try (InputStream stream = getStream("config.xml")) {
+		try (InputStream stream = getStream("config_xg.xml")) {
 			SAXReader saxReader = new SAXReader();
 			Document document = saxReader.read(stream);
 			if (document != null) {

+ 2 - 2
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/RWDDownloadUtil.java

@@ -178,7 +178,7 @@ public class RWDDownloadUtil {
 		FileUtil.Save(path + Constant.getSeperator() + "info-point-relation" + ".json", FastJsonUtil.toFormatString(InfoPointRelationArray));
 
 		if(Constant.scaleplate_enable){
-			String[] typeCodes = { "tdb", "rH", "cO2", "cO", "pM2d5" };
+			String[] typeCodes = { "tdb", "rH", "cO2", "cO", "pM2d5","workPlaneLux" };
 			{
 				JSONArray array = new JSONArray();
 				int value = 29;
@@ -334,7 +334,7 @@ public class RWDDownloadUtil {
 		FileUtil.Save(path + Constant.getSeperator() + "info-point-relation" + ".json", FastJsonUtil.toFormatString(contentNetworkRelation));
 
 		if(Constant.scaleplate_enable){
-			String[] typeCodes = { "tdb", "rH", "cO2", "cO", "pM2d5" };
+			String[] typeCodes = { "tdb", "rH", "cO2", "cO", "pM2d5","workPlaneLux" };
 			{
 				JSONArray array = new JSONArray();
 				int value = 29;