Browse Source

信息点搞顺序0.0.7

menglu 3 years ago
parent
commit
e518bfbe4a

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

@@ -2,7 +2,7 @@
 	<modelVersion>4.0.0</modelVersion>
 	<groupId>com.persagy</groupId>
 	<artifactId>ibms-data-sdk</artifactId>
-	<version>0.0.6</version>
+	<version>0.0.7</version>
 
 	<repositories>
 		<repository>

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

@@ -123,6 +123,7 @@ public class RWDDownloadUtil {
 				}
 				{
 					JSONObject pointListItem = new JSONObject();
+					pointListItem.put("sequenceNo", i);
 					pointListItem.put("ibmsSceneCode", ibmsSceneCode);
 					pointListItem.put("ibmsClassCode", ibmsClassCode);
 					pointListItem.put("infoCode", infoCode);

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

@@ -968,10 +968,11 @@ public class RWDLoadUtil {
 					String force_feedback = ExcelCommonUtil.getContentInner(sheet, "强制模式反馈", i);
 					{
 						JSONObject pointListItem = new JSONObject();
+						pointListItem.put("sequenceNo", i);
 						pointListItem.put("equipTypeName", equipTypeName);
 						pointListItem.put("infoCode", infoCode);
-						pointListItem.put("isControlParam", (infoType != null && infoType.equals("设定参数")) ? true : false);
-						pointListItem.put("isRunParam", (infoType != null && infoType.equals("运行参数")) ? true : false);
+						pointListItem.put("infoType", infoType);
+						pointListItem.put("isVisible", (infoType != null && infoType.equals("运行参数")||infoType.equals("设定参数")) ? true : false);
 						pointListItem.put("isBatchControlParam", (isBatchControlParam != null && isBatchControlParam.equals("Y")) ? true : false);
 						pointListItem.put("isKeyPoint", (isKeyPoint != null && isKeyPoint.equals("Y")) ? true : false);
 						InfoPointListArray.add(pointListItem);