| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 兼容LiveGBS的API:设备信息 |
| | | * API兼容:设备信息 |
| | | */ |
| | | @SuppressWarnings("unchecked") |
| | | @CrossOrigin |
| | |
| | | @RequestParam(required = false)String q, |
| | | @RequestParam(required = false)Boolean online ){ |
| | | |
| | | if (logger.isDebugEnabled()) { |
| | | logger.debug("查询所有视频设备API调用"); |
| | | } |
| | | |
| | | logger.debug("查询所有视频设备API调用"); |
| | | // if (logger.isDebugEnabled()) { |
| | | // logger.debug("查询所有视频设备API调用"); |
| | | // } |
| | | JSONObject result = new JSONObject(); |
| | | List<Device> devices; |
| | | if (start == null || limit ==null) { |
| | |
| | | @RequestParam(required = false)String q, |
| | | @RequestParam(required = false)Boolean online ){ |
| | | |
| | | if (logger.isDebugEnabled()) { |
| | | logger.debug("查询所有视频设备API调用"); |
| | | } |
| | | // if (logger.isDebugEnabled()) { |
| | | // logger.debug("查询所有视频设备API调用"); |
| | | // } |
| | | JSONObject result = new JSONObject(); |
| | | // 查询设备是否存在 |
| | | Device device = storager.queryVideoDevice(serial); |