|
|
|
@ -7,24 +7,26 @@ import { PropertyData_Base } from "../property-data-base";
|
|
|
|
|
*/ |
|
|
|
|
export class PropertyData_JYJ extends PropertyData_Base { |
|
|
|
|
|
|
|
|
|
brand: string = ""; //品牌
|
|
|
|
|
superBrand: string = ""; //超大牌
|
|
|
|
|
oilGunNum: string = ""; //油枪数量
|
|
|
|
|
oilProductNo: string = ""; //油品品号
|
|
|
|
|
oilPumpType: 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.brand = brand |
|
|
|
|
this.superBrand = superBrand |
|
|
|
|
this.oilGunNum = oilGunNum |
|
|
|
|
this.oilProductNo = oilProductNo |
|
|
|
|
this.oilPumpType = oilPumpType |
|
|
|
|
} |
|
|
|
|
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 |
|
|
|
|
this.oilProductNo = oilProductNo |
|
|
|
|
this.oilPumpType = oilPumpType |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
clone(key: string) { |
|
|
|
|
let result = new PropertyData_JYJ(key,this.brand,this.superBrand,this.oilGunNum,this.oilProductNo,this.oilPumpType); |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
clone(key: string) { |
|
|
|
|
let result = new PropertyData_JYJ(key, this.brand, this.superBrand, this.oilGunNum, this.oilProductNo, this.oilPumpType); |
|
|
|
|
result.name = this.name; |
|
|
|
|
return result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |