From 609d458b796b3492805af9af459ad557248139f0 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 29 Dec 2021 16:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/plan/plan.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/pages/plan/plan.component.ts b/src/app/pages/plan/plan.component.ts index fe82531..31530b7 100644 --- a/src/app/pages/plan/plan.component.ts +++ b/src/app/pages/plan/plan.component.ts @@ -32,6 +32,7 @@ import { FacilityType } from 'src/app/babylon/model/data/model-data/model-data-f import { HttpClient } from '@angular/common/http'; import { DataBuffer } from '@babylonjs/core'; import { Photo360Tool } from 'src/app/babylon/tool/photo360-tool'; +import { SpeakingTool } from 'src/app/babylon/tool/speaking-tool'; @@ -633,8 +634,10 @@ export class PlanComponent implements OnInit { this.message.info(msg); if (this.isSuspend) { //暂停 window.clearTimeout(this.updateTimer) //清除定时器 + SpeakingTool.Instance.pause() } else { //开启 this.updateTimer ? window.clearTimeout(this.updateTimer) : null //清除定时器 + SpeakingTool.Instance.resume() this.progressList.forEach((item, index) => { index > this.nzCurrent ? this.progressList[index] = 0 : null }) if (this.progressList[this.nzCurrent] === 0) { MarkWindow.instance.selectMarkNode(this.beforeEmergencyPlan.id, this.beforePlanNode.id, false, true) } this.updateProgress()