Update BigScreenServiceImpl.java

This commit is contained in:
张江玮
2023-07-11 10:27:19 +08:00
parent a1ad7abb7e
commit c96ee51e36

View File

@@ -429,9 +429,10 @@ public class BigScreenServiceImpl implements BigScreenService {
CompletableFuture<JSONArray> kilneye4InfoTask = CompletableFuture.supplyAsync(() -> { CompletableFuture<JSONArray> kilneye4InfoTask = CompletableFuture.supplyAsync(() -> {
JSONArray res = new JSONArray(); JSONArray res = new JSONArray();
for (int i = 1; i <= 4; i++) { for (int i = 1; i <= 4; i++) {
String device = "JYHJ0" + i; String device = "JYHJ01DJ0" + i;
JSONObject d = new JSONObject(); JSONObject d = new JSONObject();
d.put("device_code", device); d.put("device_code", device);
d.put("move", 0);
res.add(d); res.add(d);
} }
JSONObject devicesStatus = PointUpdateUtil.getDevicesStatus(res); JSONObject devicesStatus = PointUpdateUtil.getDevicesStatus(res);