@soonspacejs/plugin-cps-soonmanager 2.8.13 → 2.8.15

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/index.d.ts CHANGED
@@ -14,11 +14,11 @@ declare class CpsSoonmanagerPlugin {
14
14
  /**
15
15
  * 模型树
16
16
  */
17
- treeData: ITreeData[] | null;
17
+ treeData: ITreeData[];
18
18
  /**
19
19
  * 拓扑路径
20
20
  */
21
- topologyData: TopologyInfo[] | null;
21
+ topologyData: TopologyInfo[];
22
22
  /**
23
23
  * 自定义属性
24
24
  */
@@ -69,10 +69,13 @@ declare class CpsSoonmanagerPlugin {
69
69
  */
70
70
  fetchModelVisionsData(): Promise<TModelVisionsMap>;
71
71
  private loadNode;
72
+ getTargetIdTreeData(id: ITreeData['id'], treeData?: ITreeData[]): ITreeData | undefined;
72
73
  /**
73
74
  * 加载场景树中的对象 (深度优先遍历)
74
75
  */
75
- private loadObjects;
76
+ loadObjects(options: ILoadSceneOptions & {
77
+ treeData?: ITreeData[];
78
+ }): Promise<void>;
76
79
  /**
77
80
  * 加载场景树中的对象 (广度优先遍历)
78
81
  */