| | |
| | | } |
| | | map.put("message",Cools.add("type", "error").add("errMsg",basDevp.getDecDesc())); |
| | | webSocketServer.onMessage(JSONObject.toJSONString(map),null,"1002"); |
| | | redisUtil.set(key,basDevp.getDecDesc()); |
| | | redisUtil.set(key,basDevp.getDecDesc(),15); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | map.put("message",Cools.add("type", "task").add("taskList",commandList)); |
| | | webSocketServer.onMessage(JSONObject.toJSONString(map),null,"1002"); |
| | | redisUtil.set(key,basDevp.getWrkNo()); |
| | | redisUtil.set(key,basDevp.getWrkNo(),15); |
| | | } |
| | | |
| | | public List<LedCommand> getCommandList(String taskNo){ |