Version: 2021.2

HierarchyFrameDataView.GetItemMergedSamplesColumnDataAsDoubles

切换到手册
public void GetItemMergedSamplesColumnDataAsDoubles (int id, int column, List<double> outValues);

参数

id 层级视图项标识符。
column 列标识符。
outValues The merged samples for the specified hierarchy item, returned as a list of doubles. This list is resized if necessary.

描述

Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of doubles through the outValues param.

When HierarchyFrameDataView uses ViewMode.MergeSamplesWithTheSameName mode, samples with the same name, and at the same hierarchy level, are merged and represented by a single item. In this case, GetItemColumnData represents an aggregated value.
Use GetItemMergedSamplesColumnDataAsDoubles to obtain double values for individual samples in a merged hierarchy.
The resulting list of doubles is written to outValues. This list is resized if necessary.

另请参阅:GetItemColumnDataGetItemMergedSamplesCountGetItemMergedSamplesColumnData