|
|
@ -32,6 +32,7 @@ import { FacilityType } from 'src/app/babylon/model/data/model-data/model-data-f |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { DataBuffer } from '@babylonjs/core'; |
|
|
|
import { DataBuffer } from '@babylonjs/core'; |
|
|
|
import { Photo360Tool } from 'src/app/babylon/tool/photo360-tool'; |
|
|
|
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); |
|
|
|
this.message.info(msg); |
|
|
|
if (this.isSuspend) { //暂停
|
|
|
|
if (this.isSuspend) { //暂停
|
|
|
|
window.clearTimeout(this.updateTimer) //清除定时器
|
|
|
|
window.clearTimeout(this.updateTimer) //清除定时器
|
|
|
|
|
|
|
|
SpeakingTool.Instance.pause() |
|
|
|
} else { //开启
|
|
|
|
} else { //开启
|
|
|
|
this.updateTimer ? window.clearTimeout(this.updateTimer) : null //清除定时器
|
|
|
|
this.updateTimer ? window.clearTimeout(this.updateTimer) : null //清除定时器
|
|
|
|
|
|
|
|
SpeakingTool.Instance.resume() |
|
|
|
this.progressList.forEach((item, index) => { index > this.nzCurrent ? this.progressList[index] = 0 : null }) |
|
|
|
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) } |
|
|
|
if (this.progressList[this.nzCurrent] === 0) { MarkWindow.instance.selectMarkNode(this.beforeEmergencyPlan.id, this.beforePlanNode.id, false, true) } |
|
|
|
this.updateProgress() |
|
|
|
this.updateProgress() |
|
|
|