| | |
| | | } |
| | | List<DeviceConfig> deviceConfigs = fakeDeviceUtils.getFakeDeviceConfig(); |
| | | for (DeviceConfig device : deviceConfigs) { |
| | | if (!device.getDeviceType().equals(String.valueOf(SlaveType.Shuttle))) { |
| | | continue; |
| | | } |
| | | |
| | | excuteFakeCommand(String.valueOf(SlaveType.Shuttle) + device.getDeviceNo(), device); |
| | | } |
| | | }catch (Exception e){ |
| | |
| | | redisUtil.set(finalKey, true, 60 * 2); |
| | | |
| | | JSONObject body = command.getJSONObject("commandBody"); |
| | | String requestType = body.getString("requestType"); |
| | | String pathList = body.getString("path"); |
| | | List<JSONObject> executePathList = JSON.parseArray(pathList, JSONObject.class); |
| | | |