Click or drag to resize

RealTimeSlope Class

Calculates slope for a real-time continuous data stream.
Inheritance Hierarchy
SystemObject
  GSF.NumericalAnalysisRealTimeSlope

Namespace: GSF.NumericalAnalysis
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public class RealTimeSlope
View Source

The RealTimeSlope type exposes the following members.

Constructors
 NameDescription
Public methodRealTimeSlope Creates a default instance of the real-time slope calculation class. Must call Initialize before using.
Public methodRealTimeSlope(Int32, Double)Creates a new instance of the real-time slope calculation class.
Top
Properties
 NameDescription
Public propertyRunTimeGets run-time, in seconds, for which slope has maintained a continuous positive or negative trend.
Public propertySlopeGets current calculated slope for data set.
Top
Methods
 NameDescription
Public methodCalculateAdds a new x, y data pair to continuous data set.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitialize Initializes real-time slope calculation.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventRecalculated Raised when new real-time Slope has been calculated and is available.
Public eventStatus Raised when new status messages come from the RealTimeSlope.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also