|
|
|
@ -14,8 +14,9 @@ export class PropertyData_YG extends PropertyData_Base {
|
|
|
|
|
quantity: string = ""; //数量
|
|
|
|
|
tankFarm: string = ""; //罐区
|
|
|
|
|
oilTankType: string = ""; //油罐类型
|
|
|
|
|
oilPumpType: string = ""; //油泵类型
|
|
|
|
|
|
|
|
|
|
constructor(key: string,oilProductNo: string,oilGunNo: string,oilTankVolume: string,safeVolume: string,quantity: string,tankFarm: string,oilTankType: string) { |
|
|
|
|
constructor(key: string, oilProductNo: string, oilGunNo: string, oilTankVolume: string, safeVolume: string, quantity: string, tankFarm: string, oilTankType: string, oilPumpType: string) { |
|
|
|
|
super(key, FacilityType.JY_YG); |
|
|
|
|
this.name = "未命名"; |
|
|
|
|
this.oilProductNo = oilProductNo |
|
|
|
@ -25,10 +26,11 @@ export class PropertyData_YG extends PropertyData_Base {
|
|
|
|
|
this.quantity = quantity |
|
|
|
|
this.tankFarm = tankFarm |
|
|
|
|
this.oilTankType = oilTankType |
|
|
|
|
this.oilPumpType = oilPumpType |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
clone(key: string) { |
|
|
|
|
let result = new PropertyData_YG(key,this.oilProductNo,this.oilGunNo,this.oilTankVolume,this.safeVolume,this.quantity,this.tankFarm,this.oilTankType); |
|
|
|
|
let result = new PropertyData_YG(key, this.oilProductNo, this.oilGunNo, this.oilTankVolume, this.safeVolume, this.quantity, this.tankFarm, this.oilTankType, this.oilPumpType); |
|
|
|
|
result.name = this.name; |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|