inventory-items-2 #44
@ -11,7 +11,6 @@ export class AbstractItemGroup extends ItemGroup {
|
||||
}
|
||||
|
||||
protected addCharacteristicValue(characteristic: ItemGroupCharacteristic): void {
|
||||
console.log("Abstract Characteristic Value: Do nothing (" , characteristic.characteristicName , ")")
|
||||
//Do Nothing
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,6 @@ export class Item extends ModelComponent {
|
||||
}
|
||||
|
||||
addCharacteristic(characteristic: ItemGroupCharacteristic) {
|
||||
console.log("Add Characteristic: " , characteristic)
|
||||
const characteristicValue = new ItemgroupCharacteristicValue(characteristic, 0);
|
||||
if(!this.isValueInitialized(characteristic)) {
|
||||
this.itemCharacteristicValues.push(characteristicValue);
|
||||
|
@ -12,7 +12,6 @@ export abstract class ItemGroup extends ModelComponent {
|
||||
addItemgroupCharacteristic(itemgroupCharacteristic: ItemGroupCharacteristic) {
|
||||
this.itemGroupCharacteristics.push(itemgroupCharacteristic);
|
||||
this.addCharacteristicValueForManuallyItems(itemgroupCharacteristic);
|
||||
console.log("[Itemgroup] Add ItemgroupCharacteristic ", itemgroupCharacteristic);
|
||||
this.addCharacteristicValue(itemgroupCharacteristic);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user