pMe | (Object) Reference to the PmgTrendViewer object where the event rises. |
---|---|
pEvent | (Object) Reference to the object describing detailed information about the specific event. |
var iTrend;
var nCount = pMe.TrendsCount;
Pm.Debug(pMe.CursorTime);
for (iTrend = 0; iTrend < nCount; iTrend++)
{
var oTrend = pMe.Trends(iTrend);
Pm.Debug(oTrend.ID + "=" + oTrend.CursorValue(2));
}