Browse Source

sailfish0.0.5增强引用集合功能,增加组合式传感器功能

menglu 3 years ago
parent
commit
6cdb9edbad

+ 1 - 1
ibms-data-sdk/pom.xml

@@ -211,7 +211,7 @@
 		<dependency>
 			<groupId>com.persagy</groupId>
 			<artifactId>sailfish</artifactId>
-			<version>0.0.4</version>
+			<version>0.0.5</version>
 		</dependency>
 	</dependencies>
 

+ 5 - 3
ibms-data-sdk/src/main/java/com/persagy/ibms/data/sdk/util/RWDLoadUtil.java

@@ -21,9 +21,11 @@ import lombok.extern.slf4j.Slf4j;
 
 @Slf4j
 public class RWDLoadUtil {
-	public static String[] concentrate_types = { "2", "9" };
-	public static String[] concentrate_codes = { "CO2", "PM2.5" };
-	public static String[] concentrate_names = { "CO2", "PM2.5" };
+	public static String[] concentrate_types = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" };
+	public static String[] concentrate_codes = { "CO", "CO2", "SO", "NOX", "HCHO", "BTX", "TVOC", "pm10", "pm2.5", "SMOG", "BIMI", "HOW", "PH", "SS",
+			"COD", "O2", "NOI" };
+	public static String[] concentrate_names = { "一氧化碳", "二氧化碳", "二氧化硫", "氮氧化物", "甲醛", "苯", "总挥发性有机化合物", "pm10", "pm2.5", "烟雾浓度", "生物微粒", "水硬度",
+			"PH值", "SS值", "COD值", "氧气", "负氧离子" };
 
 	public static void LoadPhysicalWorld(RepositoryImpl Repository) throws Exception {
 		String validPath = Constant.getLatestPath(Constant.physical_world, true);