chenjingyu 4 years ago
parent
commit
3b2199f683
  1. 1
      debug.log
  2. 8
      src/app/canvas-share-data.service.ts
  3. 23
      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;
/**
*
*/

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

@ -148,7 +148,7 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
* RC版: 该版本已经相当成熟了BUG
* Release版: 该版本意味使Release不会以单词形式出现在软件封面上®
*/
public VERSION = '1.0.10.20210118_beta';
public VERSION = '1.0.11.20210122_beta';
/**
*
*/
@ -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