刘向辉 3 years ago
parent
commit
8d6a29ca92
  1. 1
      src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts
  2. 6
      src/app/pages/plan/plan.component.ts

1
src/app/babylon/view/facilityinfoinscene-window/facilityinfo-ui-item.ts

@ -150,4 +150,5 @@ export class FacilityInfoUIItem {
}
}

6
src/app/pages/plan/plan.component.ts

@ -1,4 +1,4 @@
import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import { AfterViewChecked, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
import Viewer from 'viewerjs';
import { Game } from 'src/app/babylon/game';
import { LoginSatus } from 'src/app/babylon/controller/status/login-status';
@ -40,8 +40,10 @@ import { HttpClient } from '@angular/common/http';
})
export class PlanComponent implements OnInit {
constructor(private element: ElementRef, private buildingBISrv: BuildingBasicInfosService, private objectsSrv: ObjectsService, private eventManager: EventManager, private message: NzMessageService, private http: HttpClient) { }
static instance: PlanComponent;
public game: Game = new Game();
public beforeOneSatus; //当前 satus
@ -52,6 +54,7 @@ export class PlanComponent implements OnInit {
public isShowLoading: boolean = true; //显隐 loading加载条
public companyData: any; //当前加油站所属组织机构 data
ngOnInit(): void {
PlanComponent.instance = this;
ServeManager.Init(this.buildingBISrv, this.objectsSrv);
@ -492,6 +495,7 @@ export class PlanComponent implements OnInit {
this.progressList[this.nzCurrent] = this.progressList[this.nzCurrent] + Number((100 / time).toFixed(2)) / 10
this.updateProgress()
}, 100)
}
//自动播放-切换接点

Loading…
Cancel
Save