@glowjs/core 2023.9.23 → 2023.10.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/glow.core.js +1 -1
- package/dist/typings/base/Base.d.ts +24 -24
- package/dist/typings/base/IDisposable.d.ts +9 -9
- package/dist/typings/camera/AutoRotate.d.ts +36 -36
- package/dist/typings/camera/CameraCacheData.d.ts +21 -21
- package/dist/typings/camera/CameraMgr.d.ts +339 -339
- package/dist/typings/camera/CameraMode.d.ts +13 -13
- package/dist/typings/camera/CameraPerson.d.ts +13 -13
- package/dist/typings/camera/CustomArcRotateCameraKeyboardMoveInput.d.ts +28 -28
- package/dist/typings/camera/CustomArcRotateCameraMouseWheelInput.d.ts +17 -17
- package/dist/typings/camera/FlyData.d.ts +29 -29
- package/dist/typings/camera/OrthographicView.d.ts +21 -21
- package/dist/typings/core/App.d.ts +149 -149
- package/dist/typings/core/AppOptions.d.ts +35 -35
- package/dist/typings/core/Size.d.ts +13 -13
- package/dist/typings/core/create.d.ts +9 -9
- package/dist/typings/core/version.d.ts +1 -1
- package/dist/typings/effect/ColorCorrection.d.ts +129 -129
- package/dist/typings/effect/EffectMgr.d.ts +71 -71
- package/dist/typings/effect/EnvironmentTexture.d.ts +36 -36
- package/dist/typings/effect/EnvironmentTextureSource.d.ts +25 -25
- package/dist/typings/effect/Fog.d.ts +43 -43
- package/dist/typings/effect/FogMode.d.ts +21 -21
- package/dist/typings/effect/Glow.d.ts +43 -43
- package/dist/typings/effect/HighLight.d.ts +49 -49
- package/dist/typings/effect/ImageProcessing.d.ts +43 -43
- package/dist/typings/effect/Light.d.ts +20 -20
- package/dist/typings/effect/SkyBox.d.ts +73 -73
- package/dist/typings/effect/SkyBoxSource.d.ts +41 -41
- package/dist/typings/effect/ToneMappingType.d.ts +13 -13
- package/dist/typings/entity/Building.d.ts +129 -103
- package/dist/typings/entity/Campus.d.ts +35 -35
- package/dist/typings/entity/Corner.d.ts +43 -43
- package/dist/typings/entity/DecorateGrid.d.ts +35 -35
- package/dist/typings/entity/DoorWindow.d.ts +77 -77
- package/dist/typings/entity/DoorWindowDirection.d.ts +21 -21
- package/dist/typings/entity/Entity.d.ts +359 -359
- package/dist/typings/entity/EntityType.d.ts +65 -65
- package/dist/typings/entity/Floor.d.ts +109 -109
- package/dist/typings/entity/Group.d.ts +34 -34
- package/dist/typings/entity/LeakLine.d.ts +44 -44
- package/dist/typings/entity/LevelMgr.d.ts +84 -84
- package/dist/typings/entity/ManualWall.d.ts +85 -85
- package/dist/typings/entity/ManualWallBuilder.d.ts +157 -157
- package/dist/typings/entity/MeshFaceData.d.ts +25 -25
- package/dist/typings/entity/OtherEntity.d.ts +20 -20
- package/dist/typings/entity/Path.d.ts +1 -1
- package/dist/typings/entity/PrefabWall.d.ts +57 -57
- package/dist/typings/entity/Room.d.ts +167 -167
- package/dist/typings/entity/Text3D.d.ts +62 -62
- package/dist/typings/entity/Thing.d.ts +121 -121
- package/dist/typings/entity/Tracker.d.ts +34 -34
- package/dist/typings/entity/ViewInfo.d.ts +14 -14
- package/dist/typings/entity/Wall.d.ts +95 -95
- package/dist/typings/entity/building/initPoolingLoop.d.ts +6 -0
- package/dist/typings/entity/building/initPoolingMouse.d.ts +6 -0
- package/dist/typings/entity/component/Animator.d.ts +45 -45
- package/dist/typings/entity/component/AutoOpenDoor.d.ts +24 -24
- package/dist/typings/entity/component/Component.d.ts +17 -17
- package/dist/typings/entity/component/PathAnimation.d.ts +51 -51
- package/dist/typings/entity/component/Style.d.ts +47 -47
- package/dist/typings/entity/component/archive/ArchiveBox.d.ts +97 -97
- package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +98 -98
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +154 -154
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +16 -16
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +21 -21
- package/dist/typings/entity/component/archive/ArchiveDoor.d.ts +28 -28
- package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +43 -43
- package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +36 -36
- package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +6 -6
- package/dist/typings/entity/component/archive/createColumnTag.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +6 -6
- package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +8 -8
- package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/BoardCard.d.ts +63 -63
- package/dist/typings/entity/component/cabinet/Cabinet.d.ts +123 -123
- package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +17 -17
- package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +47 -47
- package/dist/typings/entity/component/cabinet/NetworkPort.d.ts +46 -46
- package/dist/typings/entity/component/cabinet/RackMounted.d.ts +106 -106
- package/dist/typings/entity/component/cabinet/ResImageSource.d.ts +13 -13
- package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +6 -6
- package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +7 -7
- package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +2 -2
- package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +3 -3
- package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +8 -8
- package/dist/typings/entity/component/heatmap/Heatmap.d.ts +56 -56
- package/dist/typings/entity/component/heatmap/HeatmapType.d.ts +17 -17
- package/dist/typings/entity/component/heatmap/buildHorizontal.d.ts +6 -6
- package/dist/typings/entity/component/heatmap/buildVertical.d.ts +6 -6
- package/dist/typings/entity/component/roaming/Roaming.d.ts +93 -93
- package/dist/typings/entity/component/roaming/pencil.d.ts +1 -1
- package/dist/typings/entity/path/Path.d.ts +48 -48
- package/dist/typings/entity/path/attachDrag.d.ts +2 -2
- package/dist/typings/entity/path/createLineMeshData.d.ts +3 -3
- package/dist/typings/entity/path/createPointInstance.d.ts +5 -5
- package/dist/typings/entity/path/detachDrag.d.ts +2 -2
- package/dist/typings/entity/path/dragData.d.ts +9 -9
- package/dist/typings/entity/path/getLineMaterial.d.ts +2 -2
- package/dist/typings/entity/placement.d.ts +20 -20
- package/dist/typings/entity/util/box.d.ts +9 -9
- package/dist/typings/entity/util/createManualWallEdgeMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallFaceMaterial.d.ts +8 -8
- package/dist/typings/entity/util/createManualWallMesh.d.ts +12 -12
- package/dist/typings/entity/util/createMergedMesh.d.ts +13 -13
- package/dist/typings/entity/util/createPathArrowIcon.d.ts +4 -4
- package/dist/typings/entity/util/createPathCircleIcon.d.ts +4 -4
- package/dist/typings/entity/util/createRoomMaterial.d.ts +3 -3
- package/dist/typings/entity/util/createRoomMesh.d.ts +14 -14
- package/dist/typings/entity/util/getPathIconMesh.d.ts +7 -7
- package/dist/typings/entity/util/getPathLineMesh.d.ts +2 -2
- package/dist/typings/entity/util/getPerWeight.d.ts +6 -6
- package/dist/typings/entity/util/hideAllBoundingBox.d.ts +6 -6
- package/dist/typings/entity/util/setRes.d.ts +5 -5
- package/dist/typings/entity/util/smoothTube.d.ts +7 -7
- package/dist/typings/entity/util/technologyBuildingMaterial.d.ts +67 -67
- package/dist/typings/event/EventArg.d.ts +14 -14
- package/dist/typings/event/EventDispatcher.d.ts +67 -67
- package/dist/typings/event/EventMgr.d.ts +102 -102
- package/dist/typings/event/EventObject.d.ts +26 -26
- package/dist/typings/event/EventType.d.ts +161 -161
- package/dist/typings/event/KeyCode.d.ts +55 -55
- package/dist/typings/event/PropertyChangedData.d.ts +21 -21
- package/dist/typings/gui/Billboard.d.ts +104 -102
- package/dist/typings/gui/BillboardOptions.d.ts +62 -62
- package/dist/typings/gui/FPSBar.d.ts +25 -25
- package/dist/typings/gui/GUIMgr.d.ts +41 -41
- package/dist/typings/gui/GradientRectangle.d.ts +57 -57
- package/dist/typings/gui/LinkTip.d.ts +30 -30
- package/dist/typings/gui/PerformancePanel.d.ts +41 -41
- package/dist/typings/gui/RectangleProgress.d.ts +20 -20
- package/dist/typings/gui/ToolTip.d.ts +24 -24
- package/dist/typings/gui/getTextWidth.d.ts +6 -6
- package/dist/typings/index.d.ts +80 -80
- package/dist/typings/material/MaterialMgr.d.ts +18 -18
- package/dist/typings/misc/Point2D.d.ts +4 -4
- package/dist/typings/misc/Point3D.d.ts +4 -4
- package/dist/typings/misc/Point4D.d.ts +4 -4
- package/dist/typings/misc/SystemResId.d.ts +85 -85
- package/dist/typings/misc/blobToDataURL.d.ts +5 -5
- package/dist/typings/misc/cookie.d.ts +17 -17
- package/dist/typings/misc/dataURLtoBlob.d.ts +5 -5
- package/dist/typings/misc/getQueryString.d.ts +5 -5
- package/dist/typings/misc/guid.d.ts +21 -21
- package/dist/typings/misc/http.d.ts +46 -46
- package/dist/typings/misc/index.d.ts +15 -15
- package/dist/typings/misc/isHexColor.d.ts +5 -5
- package/dist/typings/misc/isLAN.d.ts +4 -4
- package/dist/typings/misc/math/Line.d.ts +5 -5
- package/dist/typings/misc/math/Point.d.ts +7 -7
- package/dist/typings/misc/math/compare/EPSILON.d.ts +4 -4
- package/dist/typings/misc/math/compare/greateThanOrEqual.d.ts +8 -8
- package/dist/typings/misc/math/compare/greaterThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThan.d.ts +7 -7
- package/dist/typings/misc/math/compare/lessThanOrEqual.d.ts +7 -7
- package/dist/typings/misc/math/compare/withinEpsilon.d.ts +9 -9
- package/dist/typings/misc/math/index.d.ts +34 -34
- package/dist/typings/misc/math/line/distanceToParallelLine.d.ts +7 -7
- package/dist/typings/misc/math/line/distanceToProjection.d.ts +8 -8
- package/dist/typings/misc/math/line/getLineIntersection.d.ts +9 -9
- package/dist/typings/misc/math/line/isLineParallel.d.ts +7 -7
- package/dist/typings/misc/math/line/project.d.ts +8 -8
- package/dist/typings/misc/math/line/relateToPoint.d.ts +8 -8
- package/dist/typings/misc/math/round.d.ts +6 -6
- package/dist/typings/misc/math/segment/getSegmentIntersection.d.ts +8 -8
- package/dist/typings/misc/math/segment/getSegmentPartIncludePoint.d.ts +8 -8
- package/dist/typings/misc/math/segment/onSegment.d.ts +8 -8
- package/dist/typings/misc/math/segment/segmentFullInclude.d.ts +8 -8
- package/dist/typings/misc/math/vec/addTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/angleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/centerTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/cross.d.ts +7 -7
- package/dist/typings/misc/math/vec/distanceTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/dot.d.ts +7 -7
- package/dist/typings/misc/math/vec/ignoreYAxis.d.ts +7 -7
- package/dist/typings/misc/math/vec/isClockwise.d.ts +6 -6
- package/dist/typings/misc/math/vec/lengthTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/multiplyTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/normalizeTo.d.ts +6 -6
- package/dist/typings/misc/math/vec/scaleTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/subtractTo.d.ts +7 -7
- package/dist/typings/misc/math/vec/toPoint.d.ts +8 -8
- package/dist/typings/misc/math/vec/toVector3.d.ts +7 -7
- package/dist/typings/misc/math/vec/verticalVector.d.ts +7 -7
- package/dist/typings/misc/object.d.ts +16 -16
- package/dist/typings/misc/randomColor.d.ts +4 -4
- package/dist/typings/misc/to.d.ts +5 -5
- package/dist/typings/res/ResCacheData.d.ts +14 -14
- package/dist/typings/res/ResOptions.d.ts +75 -75
- package/dist/typings/res/ResPool.d.ts +57 -57
- package/dist/typings/res/registerBuffer.d.ts +6 -6
- package/dist/typings/res/replaceInstancedMesh.d.ts +6 -6
- package/dist/typings/runtime/RunTime.d.ts +184 -173
- package/dist/typings/runtime/babylonjs/babylonjs-core.d.ts +73 -73
- package/dist/typings/runtime/babylonjs/babylonjs-gui.d.ts +12 -12
- package/dist/typings/runtime/babylonjs/babylonjs-loaders.d.ts +1 -1
- package/dist/typings/runtime/babylonjs/babylonjs-materials.d.ts +1 -1
- package/dist/typings/runtime/index.d.ts +8 -8
- package/dist/typings/runtime/tweenjs/index.d.ts +1 -1
- package/package.json +16 -16
|
@@ -1,154 +1,154 @@
|
|
|
1
|
-
import { EventArg } from '../../../event/EventArg';
|
|
2
|
-
import { Billboard } from '../../../gui/Billboard';
|
|
3
|
-
import { Entity } from '../../Entity';
|
|
4
|
-
import { Component } from '../Component';
|
|
5
|
-
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
6
|
-
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
7
|
-
import { ArchiveCabinetGroupState } from './ArchiveCabinetGroupState';
|
|
8
|
-
import { ArchiveDoor } from './ArchiveDoor';
|
|
9
|
-
import { ArchiveGrid } from './ArchiveGrid';
|
|
10
|
-
/**
|
|
11
|
-
* 密集架组(库区)
|
|
12
|
-
*/
|
|
13
|
-
export declare class ArchiveCabinetGroup extends Component {
|
|
14
|
-
/**
|
|
15
|
-
* 获取或设置数据
|
|
16
|
-
*/
|
|
17
|
-
data: any;
|
|
18
|
-
private _cacheColumnPosition;
|
|
19
|
-
private _isAlarm;
|
|
20
|
-
/**
|
|
21
|
-
* 密集架当前的状态
|
|
22
|
-
*/
|
|
23
|
-
_state: ArchiveCabinetGroupState;
|
|
24
|
-
/**
|
|
25
|
-
* 选中的列
|
|
26
|
-
*/
|
|
27
|
-
_selected: ArchiveCabinet;
|
|
28
|
-
/**
|
|
29
|
-
* 密集架(列)列表
|
|
30
|
-
*/
|
|
31
|
-
readonly cabinets: ArchiveCabinet[];
|
|
32
|
-
/**
|
|
33
|
-
* 密集架门列表
|
|
34
|
-
*/
|
|
35
|
-
readonly doors: ArchiveDoor[];
|
|
36
|
-
/**
|
|
37
|
-
* 告警图标
|
|
38
|
-
*/
|
|
39
|
-
alarmIcon: Billboard;
|
|
40
|
-
/**
|
|
41
|
-
* 鼠标移动事件
|
|
42
|
-
*/
|
|
43
|
-
onMouseMove: (group: ArchiveCabinetGroup, ev: EventArg) => void;
|
|
44
|
-
/**
|
|
45
|
-
* 组右键菜单事件
|
|
46
|
-
*/
|
|
47
|
-
onGroupRightMenu: (group: ArchiveCabinetGroup, left: number, top: number) => void;
|
|
48
|
-
/**
|
|
49
|
-
* 进入组事件
|
|
50
|
-
*/
|
|
51
|
-
onEnterGroup: (group: ArchiveCabinetGroup) => void;
|
|
52
|
-
/**
|
|
53
|
-
* 退出组事件
|
|
54
|
-
*/
|
|
55
|
-
onExitGroup: (group: ArchiveCabinetGroup) => void;
|
|
56
|
-
/**
|
|
57
|
-
* 进入列
|
|
58
|
-
*/
|
|
59
|
-
onEnterCabinet: (cabinet: ArchiveCabinet) => void;
|
|
60
|
-
/**
|
|
61
|
-
* 离开列
|
|
62
|
-
*/
|
|
63
|
-
onExitCabinet: (cabinet: ArchiveCabinet) => void;
|
|
64
|
-
/**
|
|
65
|
-
* 列右键菜单事件
|
|
66
|
-
*/
|
|
67
|
-
onCabinetRightMenu: (cabinet: ArchiveCabinet, left: number, top: number) => void;
|
|
68
|
-
/**
|
|
69
|
-
* 组告警变化事件
|
|
70
|
-
*/
|
|
71
|
-
onAlarmChanged: (group: ArchiveCabinetGroup) => void;
|
|
72
|
-
/**
|
|
73
|
-
* 层位右键菜单事件
|
|
74
|
-
*/
|
|
75
|
-
onGridRightMenu: (grid: ArchiveGrid, left: number, top: number) => void;
|
|
76
|
-
/**
|
|
77
|
-
* 实例化一个密集架组对象
|
|
78
|
-
* @param entity 实体(组)
|
|
79
|
-
*/
|
|
80
|
-
constructor(entity: Entity);
|
|
81
|
-
/**
|
|
82
|
-
* 实体ID
|
|
83
|
-
*/
|
|
84
|
-
get entityId(): string;
|
|
85
|
-
/**
|
|
86
|
-
* 获取密集架ID
|
|
87
|
-
*/
|
|
88
|
-
get deviceId(): string;
|
|
89
|
-
/**
|
|
90
|
-
* 获取或设置是否告警
|
|
91
|
-
*/
|
|
92
|
-
get isAlarm(): boolean;
|
|
93
|
-
set isAlarm(value: boolean);
|
|
94
|
-
private _positionTween;
|
|
95
|
-
/**
|
|
96
|
-
* 获取或设置列位置
|
|
97
|
-
*/
|
|
98
|
-
get columnPosition(): number[];
|
|
99
|
-
set columnPosition(value: number[]);
|
|
100
|
-
/**
|
|
101
|
-
* 固定列
|
|
102
|
-
*/
|
|
103
|
-
get fixedColumn(): ArchiveCabinet;
|
|
104
|
-
/**
|
|
105
|
-
* 设置固定列标识
|
|
106
|
-
*/
|
|
107
|
-
setFixedTag(): void;
|
|
108
|
-
/**
|
|
109
|
-
* 移除固定列标识
|
|
110
|
-
*/
|
|
111
|
-
removeFixedTag(): void;
|
|
112
|
-
/**
|
|
113
|
-
* 在相机中居中显示
|
|
114
|
-
*/
|
|
115
|
-
centerOn(): void;
|
|
116
|
-
/**
|
|
117
|
-
* 显示容量模式
|
|
118
|
-
* @param data 容量数据
|
|
119
|
-
*/
|
|
120
|
-
showCapacity(data: ArchiveCabinetGroupCount): void;
|
|
121
|
-
/**
|
|
122
|
-
* 隐藏容量
|
|
123
|
-
*/
|
|
124
|
-
hideCapacity(): void;
|
|
125
|
-
/**
|
|
126
|
-
* 隐藏
|
|
127
|
-
*/
|
|
128
|
-
hide(): void;
|
|
129
|
-
/**
|
|
130
|
-
* 显示
|
|
131
|
-
*/
|
|
132
|
-
show(): void;
|
|
133
|
-
/**
|
|
134
|
-
* 手动触发进入组
|
|
135
|
-
*/
|
|
136
|
-
triggerEnterGroup(): void;
|
|
137
|
-
/**
|
|
138
|
-
* 手动触发进入列
|
|
139
|
-
* @param cabinet 列
|
|
140
|
-
*/
|
|
141
|
-
triggerEnterCabinet(cabinet: ArchiveCabinet): void;
|
|
142
|
-
/**
|
|
143
|
-
* 手动离开组
|
|
144
|
-
*/
|
|
145
|
-
triggerExistGroup(): void;
|
|
146
|
-
/**
|
|
147
|
-
* 手动触发离开列
|
|
148
|
-
*/
|
|
149
|
-
triggerExistCabinet(): void;
|
|
150
|
-
/**
|
|
151
|
-
* 更新包围盒
|
|
152
|
-
*/
|
|
153
|
-
private _updateBoundingBox;
|
|
154
|
-
}
|
|
1
|
+
import { EventArg } from '../../../event/EventArg';
|
|
2
|
+
import { Billboard } from '../../../gui/Billboard';
|
|
3
|
+
import { Entity } from '../../Entity';
|
|
4
|
+
import { Component } from '../Component';
|
|
5
|
+
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
6
|
+
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
7
|
+
import { ArchiveCabinetGroupState } from './ArchiveCabinetGroupState';
|
|
8
|
+
import { ArchiveDoor } from './ArchiveDoor';
|
|
9
|
+
import { ArchiveGrid } from './ArchiveGrid';
|
|
10
|
+
/**
|
|
11
|
+
* 密集架组(库区)
|
|
12
|
+
*/
|
|
13
|
+
export declare class ArchiveCabinetGroup extends Component {
|
|
14
|
+
/**
|
|
15
|
+
* 获取或设置数据
|
|
16
|
+
*/
|
|
17
|
+
data: any;
|
|
18
|
+
private _cacheColumnPosition;
|
|
19
|
+
private _isAlarm;
|
|
20
|
+
/**
|
|
21
|
+
* 密集架当前的状态
|
|
22
|
+
*/
|
|
23
|
+
_state: ArchiveCabinetGroupState;
|
|
24
|
+
/**
|
|
25
|
+
* 选中的列
|
|
26
|
+
*/
|
|
27
|
+
_selected: ArchiveCabinet;
|
|
28
|
+
/**
|
|
29
|
+
* 密集架(列)列表
|
|
30
|
+
*/
|
|
31
|
+
readonly cabinets: ArchiveCabinet[];
|
|
32
|
+
/**
|
|
33
|
+
* 密集架门列表
|
|
34
|
+
*/
|
|
35
|
+
readonly doors: ArchiveDoor[];
|
|
36
|
+
/**
|
|
37
|
+
* 告警图标
|
|
38
|
+
*/
|
|
39
|
+
alarmIcon: Billboard;
|
|
40
|
+
/**
|
|
41
|
+
* 鼠标移动事件
|
|
42
|
+
*/
|
|
43
|
+
onMouseMove: (group: ArchiveCabinetGroup, ev: EventArg) => void;
|
|
44
|
+
/**
|
|
45
|
+
* 组右键菜单事件
|
|
46
|
+
*/
|
|
47
|
+
onGroupRightMenu: (group: ArchiveCabinetGroup, left: number, top: number) => void;
|
|
48
|
+
/**
|
|
49
|
+
* 进入组事件
|
|
50
|
+
*/
|
|
51
|
+
onEnterGroup: (group: ArchiveCabinetGroup) => void;
|
|
52
|
+
/**
|
|
53
|
+
* 退出组事件
|
|
54
|
+
*/
|
|
55
|
+
onExitGroup: (group: ArchiveCabinetGroup) => void;
|
|
56
|
+
/**
|
|
57
|
+
* 进入列
|
|
58
|
+
*/
|
|
59
|
+
onEnterCabinet: (cabinet: ArchiveCabinet) => void;
|
|
60
|
+
/**
|
|
61
|
+
* 离开列
|
|
62
|
+
*/
|
|
63
|
+
onExitCabinet: (cabinet: ArchiveCabinet) => void;
|
|
64
|
+
/**
|
|
65
|
+
* 列右键菜单事件
|
|
66
|
+
*/
|
|
67
|
+
onCabinetRightMenu: (cabinet: ArchiveCabinet, left: number, top: number) => void;
|
|
68
|
+
/**
|
|
69
|
+
* 组告警变化事件
|
|
70
|
+
*/
|
|
71
|
+
onAlarmChanged: (group: ArchiveCabinetGroup) => void;
|
|
72
|
+
/**
|
|
73
|
+
* 层位右键菜单事件
|
|
74
|
+
*/
|
|
75
|
+
onGridRightMenu: (grid: ArchiveGrid, left: number, top: number) => void;
|
|
76
|
+
/**
|
|
77
|
+
* 实例化一个密集架组对象
|
|
78
|
+
* @param entity 实体(组)
|
|
79
|
+
*/
|
|
80
|
+
constructor(entity: Entity);
|
|
81
|
+
/**
|
|
82
|
+
* 实体ID
|
|
83
|
+
*/
|
|
84
|
+
get entityId(): string;
|
|
85
|
+
/**
|
|
86
|
+
* 获取密集架ID
|
|
87
|
+
*/
|
|
88
|
+
get deviceId(): string;
|
|
89
|
+
/**
|
|
90
|
+
* 获取或设置是否告警
|
|
91
|
+
*/
|
|
92
|
+
get isAlarm(): boolean;
|
|
93
|
+
set isAlarm(value: boolean);
|
|
94
|
+
private _positionTween;
|
|
95
|
+
/**
|
|
96
|
+
* 获取或设置列位置
|
|
97
|
+
*/
|
|
98
|
+
get columnPosition(): number[];
|
|
99
|
+
set columnPosition(value: number[]);
|
|
100
|
+
/**
|
|
101
|
+
* 固定列
|
|
102
|
+
*/
|
|
103
|
+
get fixedColumn(): ArchiveCabinet;
|
|
104
|
+
/**
|
|
105
|
+
* 设置固定列标识
|
|
106
|
+
*/
|
|
107
|
+
setFixedTag(): void;
|
|
108
|
+
/**
|
|
109
|
+
* 移除固定列标识
|
|
110
|
+
*/
|
|
111
|
+
removeFixedTag(): void;
|
|
112
|
+
/**
|
|
113
|
+
* 在相机中居中显示
|
|
114
|
+
*/
|
|
115
|
+
centerOn(): void;
|
|
116
|
+
/**
|
|
117
|
+
* 显示容量模式
|
|
118
|
+
* @param data 容量数据
|
|
119
|
+
*/
|
|
120
|
+
showCapacity(data: ArchiveCabinetGroupCount): void;
|
|
121
|
+
/**
|
|
122
|
+
* 隐藏容量
|
|
123
|
+
*/
|
|
124
|
+
hideCapacity(): void;
|
|
125
|
+
/**
|
|
126
|
+
* 隐藏
|
|
127
|
+
*/
|
|
128
|
+
hide(): void;
|
|
129
|
+
/**
|
|
130
|
+
* 显示
|
|
131
|
+
*/
|
|
132
|
+
show(): void;
|
|
133
|
+
/**
|
|
134
|
+
* 手动触发进入组
|
|
135
|
+
*/
|
|
136
|
+
triggerEnterGroup(): void;
|
|
137
|
+
/**
|
|
138
|
+
* 手动触发进入列
|
|
139
|
+
* @param cabinet 列
|
|
140
|
+
*/
|
|
141
|
+
triggerEnterCabinet(cabinet: ArchiveCabinet): void;
|
|
142
|
+
/**
|
|
143
|
+
* 手动离开组
|
|
144
|
+
*/
|
|
145
|
+
triggerExistGroup(): void;
|
|
146
|
+
/**
|
|
147
|
+
* 手动触发离开列
|
|
148
|
+
*/
|
|
149
|
+
triggerExistCabinet(): void;
|
|
150
|
+
/**
|
|
151
|
+
* 更新包围盒
|
|
152
|
+
*/
|
|
153
|
+
private _updateBoundingBox;
|
|
154
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
/**
|
|
3
|
-
* 库区ID
|
|
4
|
-
*/
|
|
5
|
-
deviceId: string;
|
|
6
|
-
list: {
|
|
7
|
-
/**
|
|
8
|
-
* 列ID
|
|
9
|
-
*/
|
|
10
|
-
columnId: string;
|
|
11
|
-
/**
|
|
12
|
-
* 使用率
|
|
13
|
-
*/
|
|
14
|
-
useRate: number;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
1
|
+
export type ArchiveCabinetGroupCount = {
|
|
2
|
+
/**
|
|
3
|
+
* 库区ID
|
|
4
|
+
*/
|
|
5
|
+
deviceId: string;
|
|
6
|
+
list: {
|
|
7
|
+
/**
|
|
8
|
+
* 列ID
|
|
9
|
+
*/
|
|
10
|
+
columnId: string;
|
|
11
|
+
/**
|
|
12
|
+
* 使用率
|
|
13
|
+
*/
|
|
14
|
+
useRate: number;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 密集架状态
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ArchiveCabinetGroupState {
|
|
5
|
-
/**
|
|
6
|
-
* 默认
|
|
7
|
-
*/
|
|
8
|
-
Default = 1,
|
|
9
|
-
/**
|
|
10
|
-
* 组
|
|
11
|
-
*/
|
|
12
|
-
Group = 2,
|
|
13
|
-
/**
|
|
14
|
-
* 列
|
|
15
|
-
*/
|
|
16
|
-
Column = 4,
|
|
17
|
-
/**
|
|
18
|
-
* 容量
|
|
19
|
-
*/
|
|
20
|
-
Capacity = 8
|
|
21
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* 密集架状态
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ArchiveCabinetGroupState {
|
|
5
|
+
/**
|
|
6
|
+
* 默认
|
|
7
|
+
*/
|
|
8
|
+
Default = 1,
|
|
9
|
+
/**
|
|
10
|
+
* 组
|
|
11
|
+
*/
|
|
12
|
+
Group = 2,
|
|
13
|
+
/**
|
|
14
|
+
* 列
|
|
15
|
+
*/
|
|
16
|
+
Column = 4,
|
|
17
|
+
/**
|
|
18
|
+
* 容量
|
|
19
|
+
*/
|
|
20
|
+
Capacity = 8
|
|
21
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { Entity } from '../../Entity';
|
|
2
|
-
import { Component } from '../Component';
|
|
3
|
-
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
4
|
-
import { ArchiveCabinetGroup } from './ArchiveCabinetGroup';
|
|
5
|
-
/**
|
|
6
|
-
* 密集架门
|
|
7
|
-
*/
|
|
8
|
-
export declare class ArchiveDoor extends Component {
|
|
9
|
-
/**
|
|
10
|
-
* 实例化一个密集架门对象
|
|
11
|
-
* @param entity 实体
|
|
12
|
-
*/
|
|
13
|
-
constructor(entity: Entity);
|
|
14
|
-
/**
|
|
15
|
-
* 获取密集架对象
|
|
16
|
-
*/
|
|
17
|
-
get group(): ArchiveCabinetGroup;
|
|
18
|
-
/**
|
|
19
|
-
* 获取或设置可见性
|
|
20
|
-
*/
|
|
21
|
-
get visable(): boolean;
|
|
22
|
-
set visable(value: boolean);
|
|
23
|
-
private _nearst;
|
|
24
|
-
/**
|
|
25
|
-
* 获取最近的密集架列
|
|
26
|
-
*/
|
|
27
|
-
get nearest(): ArchiveCabinet;
|
|
28
|
-
}
|
|
1
|
+
import { Entity } from '../../Entity';
|
|
2
|
+
import { Component } from '../Component';
|
|
3
|
+
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
4
|
+
import { ArchiveCabinetGroup } from './ArchiveCabinetGroup';
|
|
5
|
+
/**
|
|
6
|
+
* 密集架门
|
|
7
|
+
*/
|
|
8
|
+
export declare class ArchiveDoor extends Component {
|
|
9
|
+
/**
|
|
10
|
+
* 实例化一个密集架门对象
|
|
11
|
+
* @param entity 实体
|
|
12
|
+
*/
|
|
13
|
+
constructor(entity: Entity);
|
|
14
|
+
/**
|
|
15
|
+
* 获取密集架对象
|
|
16
|
+
*/
|
|
17
|
+
get group(): ArchiveCabinetGroup;
|
|
18
|
+
/**
|
|
19
|
+
* 获取或设置可见性
|
|
20
|
+
*/
|
|
21
|
+
get visable(): boolean;
|
|
22
|
+
set visable(value: boolean);
|
|
23
|
+
private _nearst;
|
|
24
|
+
/**
|
|
25
|
+
* 获取最近的密集架列
|
|
26
|
+
*/
|
|
27
|
+
get nearest(): ArchiveCabinet;
|
|
28
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { Mesh } from '../../../runtime';
|
|
2
|
-
import { ArchiveBox } from './ArchiveBox';
|
|
3
|
-
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
4
|
-
/**
|
|
5
|
-
* 档案格(层位)
|
|
6
|
-
*/
|
|
7
|
-
export declare class ArchiveGrid {
|
|
8
|
-
/**
|
|
9
|
-
* 档案盒列表
|
|
10
|
-
*/
|
|
11
|
-
readonly boxes: ArchiveBox[];
|
|
12
|
-
/**
|
|
13
|
-
* 所属列
|
|
14
|
-
*/
|
|
15
|
-
readonly cabinet: ArchiveCabinet;
|
|
16
|
-
/**
|
|
17
|
-
* 节号
|
|
18
|
-
*/
|
|
19
|
-
readonly sectionId: string;
|
|
20
|
-
/**
|
|
21
|
-
* 层号
|
|
22
|
-
*/
|
|
23
|
-
readonly layerId: string;
|
|
24
|
-
/**
|
|
25
|
-
* 实例化档案格对象
|
|
26
|
-
* @param cabinet 所属列
|
|
27
|
-
* @param sectionId 节号
|
|
28
|
-
* @param layerId 层号
|
|
29
|
-
*/
|
|
30
|
-
constructor(cabinet: ArchiveCabinet, sectionId: string, layerId: string);
|
|
31
|
-
/**
|
|
32
|
-
* 获取网格
|
|
33
|
-
*/
|
|
34
|
-
get mesh(): Mesh;
|
|
35
|
-
/**
|
|
36
|
-
* 获取层位在列的哪面,false=左,true=右
|
|
37
|
-
*/
|
|
38
|
-
get side(): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* 清理档案盒
|
|
41
|
-
*/
|
|
42
|
-
removeArchiveBox(): void;
|
|
43
|
-
}
|
|
1
|
+
import { Mesh } from '../../../runtime';
|
|
2
|
+
import { ArchiveBox } from './ArchiveBox';
|
|
3
|
+
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
4
|
+
/**
|
|
5
|
+
* 档案格(层位)
|
|
6
|
+
*/
|
|
7
|
+
export declare class ArchiveGrid {
|
|
8
|
+
/**
|
|
9
|
+
* 档案盒列表
|
|
10
|
+
*/
|
|
11
|
+
readonly boxes: ArchiveBox[];
|
|
12
|
+
/**
|
|
13
|
+
* 所属列
|
|
14
|
+
*/
|
|
15
|
+
readonly cabinet: ArchiveCabinet;
|
|
16
|
+
/**
|
|
17
|
+
* 节号
|
|
18
|
+
*/
|
|
19
|
+
readonly sectionId: string;
|
|
20
|
+
/**
|
|
21
|
+
* 层号
|
|
22
|
+
*/
|
|
23
|
+
readonly layerId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 实例化档案格对象
|
|
26
|
+
* @param cabinet 所属列
|
|
27
|
+
* @param sectionId 节号
|
|
28
|
+
* @param layerId 层号
|
|
29
|
+
*/
|
|
30
|
+
constructor(cabinet: ArchiveCabinet, sectionId: string, layerId: string);
|
|
31
|
+
/**
|
|
32
|
+
* 获取网格
|
|
33
|
+
*/
|
|
34
|
+
get mesh(): Mesh;
|
|
35
|
+
/**
|
|
36
|
+
* 获取层位在列的哪面,false=左,true=右
|
|
37
|
+
*/
|
|
38
|
+
get side(): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* 清理档案盒
|
|
41
|
+
*/
|
|
42
|
+
removeArchiveBox(): void;
|
|
43
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ArchiveGrid } from '../../..';
|
|
2
|
-
import { Entity } from '../../Entity';
|
|
3
|
-
import { Component } from '../Component';
|
|
4
|
-
import { ArchiveCabinetGroup } from './ArchiveCabinetGroup';
|
|
5
|
-
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
6
|
-
/**
|
|
7
|
-
* 档案管理
|
|
8
|
-
*/
|
|
9
|
-
export declare class ArchiveMgr extends Component {
|
|
10
|
-
/**
|
|
11
|
-
* 密集架组(库区)列表
|
|
12
|
-
*/
|
|
13
|
-
readonly groups: ArchiveCabinetGroup[];
|
|
14
|
-
/**
|
|
15
|
-
* 当前选中的密集架
|
|
16
|
-
*/
|
|
17
|
-
_selected: ArchiveCabinetGroup;
|
|
18
|
-
/**
|
|
19
|
-
* 定位的层位
|
|
20
|
-
*/
|
|
21
|
-
_tracked: ArchiveGrid;
|
|
22
|
-
/**
|
|
23
|
-
* 实例化一个档案管理对象
|
|
24
|
-
* @param entity 实体(楼层或园区)
|
|
25
|
-
*/
|
|
26
|
-
constructor(entity: Entity);
|
|
27
|
-
/**
|
|
28
|
-
* 显示容量
|
|
29
|
-
* @param countList 统计数据
|
|
30
|
-
*/
|
|
31
|
-
showCapcity(countList: ArchiveCabinetGroupCount[]): void;
|
|
32
|
-
/**
|
|
33
|
-
* 重置
|
|
34
|
-
*/
|
|
35
|
-
hideCapacity(): void;
|
|
36
|
-
}
|
|
1
|
+
import { ArchiveGrid } from '../../..';
|
|
2
|
+
import { Entity } from '../../Entity';
|
|
3
|
+
import { Component } from '../Component';
|
|
4
|
+
import { ArchiveCabinetGroup } from './ArchiveCabinetGroup';
|
|
5
|
+
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
6
|
+
/**
|
|
7
|
+
* 档案管理
|
|
8
|
+
*/
|
|
9
|
+
export declare class ArchiveMgr extends Component {
|
|
10
|
+
/**
|
|
11
|
+
* 密集架组(库区)列表
|
|
12
|
+
*/
|
|
13
|
+
readonly groups: ArchiveCabinetGroup[];
|
|
14
|
+
/**
|
|
15
|
+
* 当前选中的密集架
|
|
16
|
+
*/
|
|
17
|
+
_selected: ArchiveCabinetGroup;
|
|
18
|
+
/**
|
|
19
|
+
* 定位的层位
|
|
20
|
+
*/
|
|
21
|
+
_tracked: ArchiveGrid;
|
|
22
|
+
/**
|
|
23
|
+
* 实例化一个档案管理对象
|
|
24
|
+
* @param entity 实体(楼层或园区)
|
|
25
|
+
*/
|
|
26
|
+
constructor(entity: Entity);
|
|
27
|
+
/**
|
|
28
|
+
* 显示容量
|
|
29
|
+
* @param countList 统计数据
|
|
30
|
+
*/
|
|
31
|
+
showCapcity(countList: ArchiveCabinetGroupCount[]): void;
|
|
32
|
+
/**
|
|
33
|
+
* 重置
|
|
34
|
+
*/
|
|
35
|
+
hideCapacity(): void;
|
|
36
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { App } from '../../../core/App';
|
|
2
|
-
/**
|
|
3
|
-
* 创建档案格
|
|
4
|
-
* @param app 应用
|
|
5
|
-
*/
|
|
6
|
-
export declare function createArchiveGrid(app: App): Promise<void>;
|
|
1
|
+
import { App } from '../../../core/App';
|
|
2
|
+
/**
|
|
3
|
+
* 创建档案格
|
|
4
|
+
* @param app 应用
|
|
5
|
+
*/
|
|
6
|
+
export declare function createArchiveGrid(app: App): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InstancedMesh } from '../../../runtime';
|
|
2
|
-
/**
|
|
3
|
-
* 创建列标识网格
|
|
4
|
-
* @param tag 标识
|
|
5
|
-
*/
|
|
6
|
-
export declare function createColumnTag(tag: string): InstancedMesh;
|
|
1
|
+
import { InstancedMesh } from '../../../runtime';
|
|
2
|
+
/**
|
|
3
|
+
* 创建列标识网格
|
|
4
|
+
* @param tag 标识
|
|
5
|
+
*/
|
|
6
|
+
export declare function createColumnTag(tag: string): InstancedMesh;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
/**
|
|
3
|
-
* 应用的鼠标移动事件
|
|
4
|
-
* @param ev 事件参数
|
|
5
|
-
*/
|
|
6
|
-
export declare function onAppMove(ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
/**
|
|
3
|
+
* 应用的鼠标移动事件
|
|
4
|
+
* @param ev 事件参数
|
|
5
|
+
*/
|
|
6
|
+
export declare function onAppMove(ev: EventArg): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
/**
|
|
3
|
-
* 应用右键双击事件
|
|
4
|
-
* @param ev 事件参数
|
|
5
|
-
*/
|
|
6
|
-
export declare function onAppRightDoubleClick(ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
/**
|
|
3
|
+
* 应用右键双击事件
|
|
4
|
+
* @param ev 事件参数
|
|
5
|
+
*/
|
|
6
|
+
export declare function onAppRightDoubleClick(ev: EventArg): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
-
import { ArchiveCabinetGroup } from '../ArchiveCabinetGroup';
|
|
3
|
-
/**
|
|
4
|
-
* 密集架左键双击事件
|
|
5
|
-
* @param this 密集架
|
|
6
|
-
* @param ev 事件参数
|
|
7
|
-
*/
|
|
8
|
-
export declare function onGroupLeftDoubleClick(this: ArchiveCabinetGroup, ev: EventArg): void;
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
import { ArchiveCabinetGroup } from '../ArchiveCabinetGroup';
|
|
3
|
+
/**
|
|
4
|
+
* 密集架左键双击事件
|
|
5
|
+
* @param this 密集架
|
|
6
|
+
* @param ev 事件参数
|
|
7
|
+
*/
|
|
8
|
+
export declare function onGroupLeftDoubleClick(this: ArchiveCabinetGroup, ev: EventArg): void;
|