Browse Source

加载无关联信息处置预案

dev
徐振升 4 years ago
parent
commit
ae374266bd
  1. 1
      debug.log
  2. 8
      src/app/canvas-share-data.service.ts
  3. 21
      src/app/working-area/working-area.component.ts

1
debug.log

@ -1,2 +1,3 @@
[1229/141605.754:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0104/100053.968:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[0122/085819.900:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

8
src/app/canvas-share-data.service.ts

@ -588,6 +588,14 @@ export class DisposalNodeData {
*
*/
public Version: string;
/**
*
*/
public BackgroundImageUrl: string;
/**
*
*/
public BackgroundImageAngle: number;
/**
*
*/

21
src/app/working-area/working-area.component.ts

@ -974,6 +974,27 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
this.createNodeShape(this.canvasData.selectPanelPoint.Data);
this.createAxLegend();
}
/**
*
* @data
*/
public async loadNoRelevantInformationDisposalPlan(data:DisposalNodeData): Promise<void> {
await this.refreshBackgroundImage(data.BackgroundImageUrl,data.BackgroundImageAngle);
// 清空所有图形
this.selection.deselectAll();
const itemList = [];
this.backgroundImage.children.forEach(item => {
if (item instanceof AxShape && item instanceof AxPreviewImageShape === false) {
itemList.push(item.name);
}
});
itemList.forEach(item => {
this.backgroundImage.getChildByName(item).destroy();
});
// 创建处置预案图形
this.createNodeShape(this.canvasData.selectPanelPoint.Data);
}
/**
*
*/

Loading…
Cancel
Save