|
|
|
@ -13,8 +13,9 @@ export class PropertyData_JYJ extends PropertyData_Base {
|
|
|
|
|
oilProductNo: string = ""; //油品品号
|
|
|
|
|
oilPumpType: 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); |
|
|
|
|
this.name = "未命名"; |
|
|
|
|
this.brand = brand |
|
|
|
|
this.superBrand = superBrand |
|
|
|
|
this.oilGunNum = oilGunNum |
|
|
|
@ -23,7 +24,8 @@ export class PropertyData_JYJ extends PropertyData_Base {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
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; |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|