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