102 $this->counters = $this->getCountersEmptyState();
108 foreach ($this as $item)
110 if ($this->
getLoader()->isCounterFlag($item[
'TYPE']))
115 $logId = $item[
'SONET_LOG_ID'];
116 $groupId = $item[
'GROUP_ID'];
117 $value = $item[
'VALUE'];
118 $type = $item[
'TYPE'];
120 $meta = $this->getMetaProp($item, $groups);
121 $subType = $this->getItemSubType($type);
123 if (!isset($this->counters[$meta][$type][$groupId]))
125 $this->counters[$meta][$type][$groupId] = 0;
127 if (!isset($this->counters[$meta][$subType][$groupId]))
129 $this->counters[$meta][$subType][$groupId] = 0;
131 if (!isset($tmpHeap[$meta][$subType][$groupId]))
133 $tmpHeap[$meta][$subType][$groupId] = [];
152 if (!isset($tmpHeap[$meta][$type][$groupId][$logId]))
154 $tmpHeap[$meta][$type][$groupId][$logId] = $value;
155 $this->counters[$meta][$type][$groupId] += $value;
165 && !isset($tmpHeap[$meta][$subType][$groupId][$logId])
168 $tmpHeap[$meta][$subType][$groupId][$logId] = $value;
169 $this->counters[$meta][$subType][$groupId] += $value;