|
|
@ -12,6 +12,8 @@ export class PropertyData_JYJ extends PropertyData_Base { |
|
|
|
oilGunNum: string = ""; //油枪数量
|
|
|
|
oilGunNum: string = ""; //油枪数量
|
|
|
|
oilProductNo: string = ""; //油品品号
|
|
|
|
oilProductNo: string = ""; //油品品号
|
|
|
|
oilPumpType: string = ""; //油泵类型
|
|
|
|
oilPumpType: string = ""; //油泵类型
|
|
|
|
|
|
|
|
flow: string = ""; //流量
|
|
|
|
|
|
|
|
power: string = ""; //功率
|
|
|
|
|
|
|
|
|
|
|
|
constructor(key: string, brand: string, superBrand: string, oilGunNum: string, oilProductNo: string, oilPumpType: string) { |
|
|
|
constructor(key: string, brand: string, superBrand: string, oilGunNum: string, oilProductNo: string, oilPumpType: string) { |
|
|
|
super(key, FacilityType.JY_JYJ); |
|
|
|
super(key, FacilityType.JY_JYJ); |
|
|
@ -21,11 +23,15 @@ export class PropertyData_JYJ extends PropertyData_Base { |
|
|
|
this.oilGunNum = oilGunNum |
|
|
|
this.oilGunNum = oilGunNum |
|
|
|
this.oilProductNo = oilProductNo |
|
|
|
this.oilProductNo = oilProductNo |
|
|
|
this.oilPumpType = oilPumpType |
|
|
|
this.oilPumpType = oilPumpType |
|
|
|
|
|
|
|
this.flow = "0.5kg/s" |
|
|
|
|
|
|
|
this.power = "1kw" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
clone(key: string) { |
|
|
|
clone(key: string) { |
|
|
|
let result = new PropertyData_JYJ(key, this.brand, this.superBrand, this.oilGunNum, this.oilProductNo, this.oilPumpType); |
|
|
|
let result = new PropertyData_JYJ(key, this.brand, this.superBrand, this.oilGunNum, this.oilProductNo, this.oilPumpType); |
|
|
|
result.name = this.name; |
|
|
|
result.name = this.name; |
|
|
|
|
|
|
|
result.flow = this.flow; |
|
|
|
|
|
|
|
result.power = this.power; |
|
|
|
return result; |
|
|
|
return result; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|