diff --git a/productionboard/src/main/java/com/productionboard/controller/TankShellDeviceController.java b/productionboard/src/main/java/com/productionboard/controller/TankShellDeviceController.java index 202dd3e..d6547ad 100644 --- a/productionboard/src/main/java/com/productionboard/controller/TankShellDeviceController.java +++ b/productionboard/src/main/java/com/productionboard/controller/TankShellDeviceController.java @@ -59,6 +59,12 @@ public class TankShellDeviceController { jsonObjectList.add(jsonObject); }); } + for (int i = 0;i<5;i++){ + JSONObject jsonObject = new JSONObject(); + jsonObject.put("name",i); + jsonObject.put("value",i); + jsonObjectList.add(jsonObject); + } String s = JSONArray.toJSONString(jsonObjectList); return s; } diff --git a/productionboard/target/classes/com/productionboard/controller/TankShellDeviceController.class b/productionboard/target/classes/com/productionboard/controller/TankShellDeviceController.class index c5db8d5..f263ecc 100644 Binary files a/productionboard/target/classes/com/productionboard/controller/TankShellDeviceController.class and b/productionboard/target/classes/com/productionboard/controller/TankShellDeviceController.class differ