From a661b9ff765ca3db26e7ee53d8a7f7c9a90adf09 Mon Sep 17 00:00:00 2001 From: "DESKTOP-474NEJQ\\xzsjob" <359059686@qq.com> Date: Tue, 22 Sep 2020 08:44:49 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=88=A0=E9=99=A4]=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../working-area/working-area.component.ts | 101 ------------------ 1 file changed, 101 deletions(-) diff --git a/src/app/working-area/working-area.component.ts b/src/app/working-area/working-area.component.ts index 33bb2d6..6abf698 100644 --- a/src/app/working-area/working-area.component.ts +++ b/src/app/working-area/working-area.component.ts @@ -430,105 +430,6 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV const single = new SinglePointIcon(element, this); }); this.setNameVisible(false, GameMode.BasicInformation); - - - const tempData = { - TemplateId: null, - FloorId: null, - Angle: 0, - Color: 0, - Enabled: true, - FillMode: 0, - FireElementId: 0, - FixedSize: false, - CanConnection: true, - ConnectionObjs: [], - Height: 45, - Width: 45, - Id: '5f67f92238f13cd2048cae9d', - ImageUrl: './assets/images/泡沫消防车.png', - InteractiveMode: 0, - MultiPoint: null, - Point: { - x: 1295, - y: 1237 - }, - Name: '', - PropertyInfos: [ - { - Enabled: true, - Order: 0, - PhysicalUnit: '', - PropertyName: '名称/编号', - PropertyType: 0, - PropertyValue: '', - Required: false, - RuleName: '', - RuleValue: '', - Tag: '', - Visible: true - } - ], - Border: null, - DrawMode: null, - Thickness: 0, - IsFromBuilding: false, - GameMode: 2 - }; - - const tempData2 = { - TemplateId: null, - FloorId: null, - Angle: 0, - Color: 0, - Enabled: true, - FillMode: 0, - FireElementId: 0, - CanConnection: true, - ConnectionObjs: [], - FixedSize: false, - Height: 45, - Width: 45, - Id: '5f67f92238f13cd2048cae9d', - ImageUrl: './assets/images/水罐消防车.png', - InteractiveMode: 0, - MultiPoint: null, - Point: { - x: 1295, - y: 1237 - }, - Name: '', - PropertyInfos: [ - { - Enabled: true, - Order: 0, - PhysicalUnit: '', - PropertyName: '名称/编号', - PropertyType: 0, - PropertyValue: '', - Required: false, - RuleName: '', - RuleValue: '', - Tag: '', - Visible: true - } - ], - Border: null, - DrawMode: null, - Thickness: 0, - IsFromBuilding: false, - GameMode: 2 - }; - this.ShowCarIcon(tempData); - this.ShowCarIcon(tempData2); - this.ShowCarIcon(tempData); - this.ShowCarIcon(tempData2); - this.ShowCarIcon(tempData); - this.ShowCarIcon(tempData2); - - // // 开始绘制管线 - // this.beginPaintPipeline(); - this.beginPaintingArrows(); } /** * 显示车辆图标 @@ -769,7 +670,6 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV } else { this.paintingArrows.ready = true; this.paintingArrows = null; - this.beginPaintPipeline(); } break; } @@ -968,7 +868,6 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV this.paintPoints.splice(0, this.paintPoints.length); this.paintingPipeline = null; } - this.beginPaintingArrows(); } public beginPaintingArrows(): void { this.paintMode = PaintMode.Arrows;