|
|
|
@ -122,8 +122,8 @@ public class StockController {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "currentPosition")
|
|
|
|
@ApiOperation(value = "currentPosition")
|
|
|
|
@RequestMapping(value = "/currentPosition", method = RequestMethod.GET)
|
|
|
|
@RequestMapping(value = "/currentPosition", method = RequestMethod.GET)
|
|
|
|
public Result currentPosition(Integer cameraId) {
|
|
|
|
public Result currentPosition(Integer cameraId,Integer ptzId) {
|
|
|
|
PtzControlModule.turn360(cameraId);
|
|
|
|
PtzControlModule.turn360C8(cameraId,ptzId);
|
|
|
|
return Result.success();
|
|
|
|
return Result.success();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|