陈鹏飞 3 years ago
parent
commit
b41c24246a
  1. 7
      src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts
  2. 4
      src/app/service/objects.service.ts
  3. BIN
      src/assets/images/mark/disaster/dt.png
  4. BIN
      src/assets/images/mark/disaster/lyd.png
  5. BIN
      src/assets/images/mark/disaster/lyx.png
  6. BIN
      src/assets/images/mark/inside/jyy.png
  7. BIN
      src/assets/images/mark/inside/syy.png
  8. BIN
      src/assets/images/mark/inside/xfsd.png
  9. BIN
      src/assets/images/mark/inside/xfsq.png
  10. BIN
      src/assets/images/mark/inside/xyy.png
  11. BIN
      src/assets/images/mark/inside/ygc.png
  12. BIN
      src/assets/images/mark/inside/ygcsj.png
  13. BIN
      src/assets/images/mark/inside/zymbrq.png

7
src/app/babylon/view/facilityinfoinscene-window/facilityinfoinscene-window.ts

@ -2,6 +2,7 @@ import { AbstractMesh, Color3, EventState, Mesh, PickingInfo, PointerEventTypes,
import { classToClass } from "class-transformer";
import { PlanComponent } from "src/app/pages/plan/plan.component";
import { ModelChangeType } from "../../controller/data-manager";
import { EventManager } from "../../controller/event-manager/event-manager";
import { Event_KeyboardInput } from "../../controller/event-manager/events/event-keyboard-input";
import { Event_ModelInfoChange } from "../../controller/event-manager/events/event-modelinfo-change";
import { ModeManager, ModeType } from "../../controller/mode-manager";
@ -261,7 +262,7 @@ export class FacilityInfoInSceneWindow extends UIBase {
FacilityInfoInSceneWindow.instance = this;
this.three = PlanComponent.instance;
// EventManager.addListener(Event_ModelInfoChange, this.onModelInfoChange);
EventManager.addListener(Event_ModelInfoChange, this.onModelInfoChange);
GizmoTool.onPickMeshInfoObservable.add(this.onClickModel);
this.currentFacility = [];
@ -275,7 +276,7 @@ export class FacilityInfoInSceneWindow extends UIBase {
onClose() {
super.onClose();
//EventManager.removeCallback(Event_ModelInfoChange, this.onModelInfoChange);
EventManager.removeCallback(Event_ModelInfoChange, this.onModelInfoChange);
GizmoTool.onPickMeshInfoObservable.removeCallback(this.onClickModel);
}
@ -638,7 +639,7 @@ export class FacilityInfoInSceneWindow extends UIBase {
}
// facilityInfo.setSelectEnable(true);
// this.selectFacilityItemToThree(facilityInfoUIItem);
this.selectFacilityItemToThree([facilityInfoUIItem], true);
}
//this.onClickModel(facilityInfoUIItem);

4
src/app/service/objects.service.ts

@ -54,8 +54,8 @@ export class ObjectsService {
*/
obsRootByEnv = new Map<EnvironmentType, string>([
[EnvironmentType.DevelopEditor, "sinochemweb/"], //开发与编辑
[EnvironmentType.Test, "sinochem3d/"],//测试
[EnvironmentType.Production, "sinochem3d/"],//生产环境(根据需要设置)最好是与测试环境的桶名相同
[EnvironmentType.Test, "sinochemweb/"],//测试
[EnvironmentType.Production, "sinochemweb/"],//生产环境(根据需要设置)最好是与测试环境的桶名相同
]);

BIN
src/assets/images/mark/disaster/dt.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
src/assets/images/mark/disaster/lyd.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
src/assets/images/mark/disaster/lyx.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

BIN
src/assets/images/mark/inside/jyy.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB

BIN
src/assets/images/mark/inside/syy.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

BIN
src/assets/images/mark/inside/xfsd.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
src/assets/images/mark/inside/xfsq.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
src/assets/images/mark/inside/xyy.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

BIN
src/assets/images/mark/inside/ygc.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

BIN
src/assets/images/mark/inside/ygcsj.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

BIN
src/assets/images/mark/inside/zymbrq.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Loading…
Cancel
Save