|
|
|
@ -20,6 +20,7 @@ import { ModelInfo_building } from "../../model/info/model/model-info-building";
|
|
|
|
|
import { FacilityInfoByType } from "../../model/info/model/model-info-facility"; |
|
|
|
|
import { BabylonTool } from "../../tool/babylon-tool"; |
|
|
|
|
import { TsTool } from "../../tool/ts-tool"; |
|
|
|
|
import { FacilityInfoInSceneWindow } from "../facilityinfoinscene-window/facilityinfoinscene-window"; |
|
|
|
|
import { UIBase } from "../window-base/ui-base"; |
|
|
|
|
import { BuildingUIItem } from "./building-ui-item"; |
|
|
|
|
|
|
|
|
@ -257,7 +258,6 @@ export class BuildingWindow extends UIBase {
|
|
|
|
|
*/ |
|
|
|
|
recoverMoudleShow(type: JYZInfoMoudleType) { |
|
|
|
|
let showData = DataManager.institutionData.getMoudleShowData(type); |
|
|
|
|
console.log("恢复模块状态", showData); |
|
|
|
|
if (showData != null) { |
|
|
|
|
let camera = SceneManager.Instance.defaultCamera; |
|
|
|
|
//showData.cameraData.setDataToCamera(camera);
|
|
|
|
@ -719,6 +719,8 @@ export class BuildingWindow extends UIBase {
|
|
|
|
|
} |
|
|
|
|
this.initFacilityTypeByMoudleType(type, this.currentBuidngItem.buildingInfo); |
|
|
|
|
|
|
|
|
|
FacilityInfoInSceneWindow.instance.selectJYJFrom3D(null); |
|
|
|
|
|
|
|
|
|
//设备: 显示UI
|
|
|
|
|
let facilityByType: FacilityInfoByType[] = []; |
|
|
|
|
if (this.facilitysByMoudle.has(type)) { |
|
|
|
|