远近焦
This commit is contained in:
parent
6f2f047ede
commit
d02a6f68e3
|
|
@ -251,9 +251,11 @@ export default {
|
|||
break
|
||||
case 'focusIn':
|
||||
console.log('Focus In')
|
||||
this.handleFocusNear()
|
||||
break
|
||||
case 'focusOut':
|
||||
console.log('Focus Out')
|
||||
this.handleFocusFar()
|
||||
break
|
||||
case 'lightUp':
|
||||
console.log('Light Up')
|
||||
|
|
@ -419,6 +421,22 @@ export default {
|
|||
this.requestPost('PTZ/C_PTZ_ZoomOutPicture?token=' + this.qxToken, params, (rv) => {})
|
||||
this.handleStopZoom()
|
||||
},
|
||||
// 聚焦-近
|
||||
handleFocusNear() {
|
||||
const params = {
|
||||
puid: this.row.puId,
|
||||
idx: this.ballIndex,
|
||||
}
|
||||
this.requestPost('PTZ/C_PTZ_MakeFocusNear?token=' + this.qxToken, params, (rv) => {})
|
||||
},
|
||||
// 聚焦-远
|
||||
handleFocusFar() {
|
||||
const params = {
|
||||
puid: this.row.puId,
|
||||
idx: this.ballIndex,
|
||||
}
|
||||
this.requestPost('PTZ/C_PTZ_MakeFocusFar?token=' + this.qxToken, params, (rv) => {})
|
||||
},
|
||||
// 更新水印
|
||||
async updateWaterMark() {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue