远近焦
This commit is contained in:
parent
6f2f047ede
commit
d02a6f68e3
|
|
@ -251,9 +251,11 @@ export default {
|
||||||
break
|
break
|
||||||
case 'focusIn':
|
case 'focusIn':
|
||||||
console.log('Focus In')
|
console.log('Focus In')
|
||||||
|
this.handleFocusNear()
|
||||||
break
|
break
|
||||||
case 'focusOut':
|
case 'focusOut':
|
||||||
console.log('Focus Out')
|
console.log('Focus Out')
|
||||||
|
this.handleFocusFar()
|
||||||
break
|
break
|
||||||
case 'lightUp':
|
case 'lightUp':
|
||||||
console.log('Light Up')
|
console.log('Light Up')
|
||||||
|
|
@ -419,6 +421,22 @@ export default {
|
||||||
this.requestPost('PTZ/C_PTZ_ZoomOutPicture?token=' + this.qxToken, params, (rv) => {})
|
this.requestPost('PTZ/C_PTZ_ZoomOutPicture?token=' + this.qxToken, params, (rv) => {})
|
||||||
this.handleStopZoom()
|
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() {
|
async updateWaterMark() {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue