| | |
| | | |
| | | public async monitorCapture() { |
| | | const rsp: any = await monitorRealTimeCaptureData({ |
| | | // treeNodes: this.cameras |
| | | treeNodes: this.cameras |
| | | }); |
| | | |
| | | if (rsp && rsp.success) { |
| | | if (rsp.data.datalist && rsp.data.datalist.length > 0) { |
| | | rsp.data.datalist.reverse().forEach(element => { |
| | | if (rsp.data.list.datalist && rsp.data.list.datalist.length > 0) { |
| | | rsp.data.list.datalist.reverse().forEach(element => { |
| | | let rt = this.cards.filter((c: any) => { |
| | | return c.activeObject.id === element.activeObject.id |
| | | }) |
| | |
| | | this.firstCardId = this.cards[0]["activeObject"].id |
| | | console.log(this.firstCardId ) |
| | | } |
| | | // console.info("card:"+JSON.stringify(this.cards[0])) |
| | | } |
| | | } |
| | | |