From cfbf1221b28f06f2a9d1c5c626319dc21dd8bd4a Mon Sep 17 00:00:00 2001 From: wenjy Date: Fri, 10 Jun 2022 11:36:43 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=AE=B1=E5=A3=B3=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=9C=8B=E6=9D=BFloss=E7=BB=9F=E8=AE=A1=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/TankShellDeviceController.java | 6 ++++++ .../TankShellDeviceController.class | Bin 4036 -> 3018 bytes 2 files changed, 6 insertions(+) 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 c5db8d5116ebff0316a071785cfb371ed98f3c33..f263ecc5a71057fefd1a3c6ae4b010cd56c4f677 100644 GIT binary patch delta 1295 zcmah|Nl#Nz7(Ms3^p)4A%tZt&pv*&MQUPTYv|2_71QaPypruv=rN)ij_zzw*aj6@l zD@}}|B(7YsFySZo58N4Dpy$37QHUZP z`8c8?pko&0I_5AhkP{BX1Kzb*DB|r|SqVJwhgM_8mZR27$^sU3EFq*~Mn@RSDk3`W zAgbf8}A zTx#w10(-WrcpdsX92)2RaPfM=TGSPgnW13(kxjh#^`&kdnM3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