Sage Modeling and Simulation Library

EventTimeHistorian..::..GetAverageIntraEventDuration Method

Gets the average intra event duration for the past n events. If n is -1, .

Namespace:  Highpoint.Sage.Utility
Assembly:  Sage4 (in Sage4.dll)

Syntax


public TimeSpan GetAverageIntraEventDuration(
	int numPastEvents
)

Parameters

numPastEvents
Type: Int32
The number of past events to be considered. If -1, then the entire set of tracked events (numPastEventsTracked) is considered.

Return Value

TimeSpan.

Exceptions


ExceptionCondition
OverflowException