| | |
| | | private ICameraSdkService cameraSdkService;
|
| | | @Resource
|
| | | private IArdCamerasService ardCamerasService;
|
| | |
|
| | | @Autowired
|
| | | private IArdCameraNoGuideZoneService ardCameraNoGuideZoneService;
|
| | |
|
| | |
|
| | | @RequestMapping("/preview")
|
| | | private String preview() {
|
| | |
| | | return toAjax(cameraSdkService.guideTargetPosition(cmd));
|
| | | }
|
| | |
|
| | | @ApiOperation("指向目标井")
|
| | | @PostMapping("/setTargetWell")
|
| | | @Log(title = "指向目标井", businessType = BusinessType.CONTROL)
|
| | | @ApiOperationSupport(includeParameters = {"cmd.wellId"})
|
| | | public @ResponseBody
|
| | | AjaxResult setTargetWell(@RequestBody CameraCmd cmd) {
|
| | | cmd.setOperator(SecurityUtils.getUserId());
|
| | | return cameraSdkService.guideTargetWell(cmd);
|
| | | }
|
| | |
|
| | | @ApiOperation("设置零方位角")
|
| | | @PostMapping("/setZeroPTZ")
|