From 5430d4e302ff98c501e3feecb7e8e29c39bdf203 Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Wed, 17 Nov 2021 16:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E8=BE=93=E6=B2=B9=E7=AE=A1?= =?UTF-8?q?=E7=BA=BF,=20=E6=B2=B9=E6=B0=94=E5=9B=9E=E6=94=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property-data/in/property-data-sygx.ts | 9 +-- .../property-data/in/property-data-yqhsgx.ts | 24 +++++--- .../left-domain/left-domain.component.html | 55 ++++++++++++++++++- .../left-domain/left-domain.component.scss | 4 +- .../left-domain/left-domain.component.ts | 6 +- src/app/pages/plan/plan.component.html | 2 +- src/app/pages/plan/plan.component.ts | 2 +- 7 files changed, 82 insertions(+), 20 deletions(-) diff --git a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-sygx.ts b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-sygx.ts index a396beb..f3fa99d 100644 --- a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-sygx.ts +++ b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-sygx.ts @@ -4,21 +4,22 @@ import { PropertyData_Base_IMG } from "../base/property-data-base-img"; import { PropertyData_Base } from "../property-data-base"; /** - * 输油管 + * 输油管线 */ export class PropertyData_SYGX extends PropertyData_Base_IMG { constructor(key: string) { - super(key, "", "", "", FacilityType.JY_SYGX); - + super(key, "", "", "", FacilityType.JY_SYGX); + this.name = "未命名"; } clone(key: string) { let result = new PropertyData_SYGX(key); + result.name = this.name; result.img = this.img; result.pos = this.pos; result.info = this.info, - result.is360 = this.is360; + result.is360 = this.is360; return result; } diff --git a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yqhsgx.ts b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yqhsgx.ts index 22bdab0..a8c62f0 100644 --- a/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yqhsgx.ts +++ b/src/app/babylon/model/data/institution/facility/property-data/in/property-data-yqhsgx.ts @@ -4,22 +4,28 @@ import { PropertyData_Base_IMG } from "../base/property-data-base-img"; import { PropertyData_Base } from "../property-data-base"; /** - * 输油管 + * 油气回收管线 */ export class PropertyData_YQHSGX extends PropertyData_Base_IMG { + VRUType: string = ""; //油气回收系统类型 + VRUPumpType: string = ""; //油气回收泵类型 + constructor(key: string) { - super(key, "", "", "", FacilityType.JY_YQHSGX); - + super(key, "", "", "", FacilityType.JY_YQHSGX); + this.name = "未命名"; } clone(key: string) { - let result = new PropertyData_YQHSGX(key); - result.img = this.img; - result.pos = this.pos; - result.info = this.info, - result.is360 = this.is360; - return result; + let result = new PropertyData_YQHSGX(key); + result.name = this.name; + result.VRUType = this.VRUType; + result.VRUPumpType = this.VRUPumpType; + result.img = this.img; + result.pos = this.pos; + result.info = this.info, + result.is360 = this.is360; + return result; } } \ No newline at end of file diff --git a/src/app/pages/left-domain/left-domain.component.html b/src/app/pages/left-domain/left-domain.component.html index 3bd7838..9f246ed 100644 --- a/src/app/pages/left-domain/left-domain.component.html +++ b/src/app/pages/left-domain/left-domain.component.html @@ -49,7 +49,7 @@ -