Created by Docfx
  • Documentation Library
  • API Documentation
  • API Documentation
  • MESL.SqlRace.Domain.Functions
  • ExecutionContextExtensionsForBuiltInProcessors
Show / Hide Table of Contents
  • MAT.SqlRace.FileLoaders
    • FormatTypeAttribute
  • MESL.SqlRace.Domain
    • AddCanDataErrorEventArgs
    • ApplicationGroup
    • AsyncEventArgs
    • AuditEntry
    • AuditType
    • AvailabilityChangedEventArgs
    • BilinearMap
    • Channel
    • ChannelBasedParameter
    • ClientSession
    • CompareSessionMode
    • CompositeContainerParameterDataAccess
    • CompositeMinimumMaximumMeanSample
    • CompositeMinimumMaximumSample
    • CompositeParameterDataAccess
    • CompositePdaExecutionService
    • CompositePdaParallelExecutionService
    • CompositeSample
    • CompositeSession
    • CompositeSessionContainer
    • CompositeSessionEventArgs
    • CompositeSessionEventType
    • CompositeSessionException
    • CompositeSessionInfo
    • CompositeSessionMode
    • CompositeStatistics
    • ConfigurationCommittedException
    • ConfigurationSet
    • ConfigurationSetAlreadyExistsException
    • ConfigurationSetManager
    • ConnectionBase
    • ConnectionContextBase
    • ConnectionInformationBase
    • ConnectionStringParser
    • Constant
    • ConstantParameterDataAccess
    • ConversionBase
    • Core
    • CoreInitialisedEventArgs
    • DatabaseConnection
    • DatabaseConnectionInformation
    • DatabaseConnectionManager
    • DatabaseManagerFactory
    • DataItem
    • DataItemReader
    • DbConfiguration
    • DbEngine
    • EntityBase
    • ErrorData
    • ErrorDefinition
    • Event
    • EventDefinition
    • ExtendedAssociate
    • FastConfigurationSetAttributes
    • FdlExpressionAdapter
    • FileSessionManager
    • FileSessionNotExistsException
    • FileSessionSummary
    • FileSessionWatcher
    • FormulaConversion
    • FunctionConstants
    • FunctionParameter
    • IApplicationInformationService
    • IAuditManager
    • IChannel
    • IClientSession
    • ICompareSessionMode
    • ICompositeContainerParameterDataAccess
    • ICompositeParameterDataAccess
    • ICompositePdaExecutionService
    • ICompositeSession
    • ICompositeSessionContainer
    • ICompositeSessionInfo
    • IConnectionManager
    • IDatabaseManager
    • IEntityWithSessionKey
    • IErrorData
    • IExpressionAdapter
    • IFileSessionManager
    • IFunctionParameter
    • ILap
    • IParameter
    • IParameterDataAccess
    • IRecordersConfiguration
    • ISession
    • ISessionDataService
    • ISessionSummary
    • ISessionTransientMarkerService
    • ItemCanArgs
    • ItemErrorArgs
    • Lap
    • LapBilinearMap
    • LapConstant
    • LapDataItem
    • LapLinearMap
    • LapMapBase
    • LapStatisticsEventArgs
    • LinearMap
    • MapBase
    • Marker
    • MarkerLabel
    • MidnightNotifier
    • MinimumMaximumMeanDouble
    • Parameter
    • ParameterBase
    • ParameterDataAccess
    • ParameterDataAccessBase
    • ParameterGroup
    • PdaCurrentPosition
    • PersistableHashCode
    • RationalConversion
    • RecordersConfiguration
    • RemoteConnectionInformation
    • RemoteSessionEventArgs
    • RepeatingLapCompareDataProvider
    • SaveConfigurationSetException
    • ScalarParameter
    • Session
    • SessionBase
    • SessionChildItemsToLoad
    • SessionClosedArgs
    • SessionCompareMode
    • SessionDataItem
    • SessionDataItemDefinition
    • SessionDetailChangedEventArgs
    • SessionEventArgs
    • SessionEventType
    • SessionException
    • SessionIdentifierChangedEventArgs
    • SessionItemType
    • SessionLoaderNotExistsException
    • SessionManager
    • SessionManagerBase
    • SessionManagerTestabilityAdapter
    • SessionNotAvailableEventArgs
    • SessionSampleCountSegment
    • SessionState
    • SessionStatusChangedEventArgs
    • SessionSummary
    • SessionSummaryInformation
    • SessionTimerange
    • SessionTimstampsSegment
    • SessionTransientMarkerServiceProvider
    • SessionType
    • SortOrder
    • SqliteDatabaseConnection
    • SqliteDatabaseManager
    • SQLRaceEvent
    • SQLRaceEventType
    • SqlServerDatabaseConnection
    • TableConversion
    • TextConversion
    • TimeRange
    • TransientConnectionInformation
    • VirtualParameter
  • MESL.SqlRace.Domain.Collections
    • CanCollection
    • ErrorCollection
    • EventCollection
    • IAssociateCollection
    • IExtendedAssociateCollection
    • ILapCollection
    • IPersistableCollection<T>
    • ItemEventArgs
    • LapCollection
    • LapEventArgs
    • MapCollection<T>
    • MergableSubGroups<T>
    • PersistableCollection<T>
    • SessionDataItemsCollection<T>
    • SessionRepositoryExtendedAssociateCollection
    • SynchronizedList<T>
  • MESL.SqlRace.Domain.Events
    • EventsFactory
    • ISessionEventService
  • MESL.SqlRace.Domain.Exceptions
    • CompatibilityException
    • SqlRaceTimeoutException
  • MESL.SqlRace.Domain.Extensions
    • ArrayExtension
    • ChannelExtensions
    • ColumnNameType
    • ConversionExtensions
    • EnumExtensions
    • FormulaConversionExtensions
    • LapExtensions
    • StringExtensions
    • TableConversionExtensions
    • TextConversionExtensions
  • MESL.SqlRace.Domain.FileDrivers
    • DriverBase
    • IFormatOption
  • MESL.SqlRace.Domain.FileSession
    • FileSessionConfigurationAvailableEventArgs
    • FileSessionConfigurationLoadedEventArgs
    • FileSessionFileLoadedEventArgs
    • ISessionConfiguration
    • ISessionInformation
    • ISessionLoader
    • SessionConfiguration
    • SessionInformation
  • MESL.SqlRace.Domain.Functions
    • BuiltInProcessorUniqueIdentifiers
    • CalculationModeInfoDefinition
    • ConstantAddedEventArgs
    • ConstantDefinition
    • ConstantEventArgsBase
    • ConstantObject
    • ConstantRemovedEventArgs
    • ConstantReplacedEventArgs
    • ConstantType
    • ConstantValueType
    • ExecuteOnEveryDataRequestDefinition
    • ExecuteOnEveryDataRequestDefinitionDto
    • ExecuteOnSessionEndDefinition
    • ExecuteOnSessionEndDefinitionDto
    • ExecutionContextExtensionsForBuiltInProcessors
    • FixedValueParameterDataAccess
    • FunctionAddedEventArgs
    • FunctionBuilderCatalog
    • FunctionBuildError
    • FunctionBuildResults
    • FunctionBuiltEventArgs
    • FunctionEventArgs
    • FunctionExecutionStrategyDefinitionDto
    • FunctionImplementationDefinitionDto
    • FunctionManagerFactory
    • FunctionModifiedEventArgs
    • FunctionOutputParameterDefinition
    • FunctionOutputParameterDefinitionExtensions
    • FunctionOutputSession
    • FunctionRemovedEventArgs
    • FunctionRenamedEventArgs
    • FunctionsFactory
    • FunctionValidationError
    • FunctionValidationErrors
    • FunctionValidationResults
    • ICalculationModeInfo
    • IConstantDefinition
    • IConstantDefinitions
    • ICustomFunctionBuilder
    • IExecutionContext
    • IFunction
    • IFunctionBuilder
    • IFunctionBuilderOutput
    • IFunctionBuildError
    • IFunctionDefinition
    • IFunctionExecutionStrategyDefinition
    • IFunctionImplementationDefinition
    • IFunctionInput
    • IFunctionManager
    • IFunctionOutput
    • IFunctionValidationError
    • IOutputData
    • IProcessor
    • IProcessorInstanceDefinition
    • IProcessorReferenceProvider
    • IProcessorRegistration
    • ProcessorInstanceDefinition
    • ProcessorReference
    • ProcessorRegistration
    • StaticProcessors
  • MESL.SqlRace.Domain.Functions.Behaviours
    • FunctionExecutionState
    • IFunctionBehaviour
    • IFunctionExecutionBehaviour
  • MESL.SqlRace.Domain.Functions.CSharp
    • CSharpFunctionConstants
    • CSharpFunctionImplementationDefinitionDto
    • ICSharpFunctionBuilder
    • ICSharpFunctionImplementationDefinition
  • MESL.SqlRace.Domain.Functions.DotNet
    • DotNetFunctionConstants
    • DotNetFunctionImplementationDefinition
    • IDotNetFunction
  • MESL.SqlRace.Domain.Functions.DotNetCompilation
    • DotNetCompilationError
  • MESL.SqlRace.Domain.Functions.Fdl
    • FdlBuildError
    • FdlCLikeBooleanExpressionEvaluator
    • FdlConditionalExpressionEvaluator
    • FdlFunctionBase
    • FdlFunctionConstants
    • FdlFunctionImplementationDefinitionDto
    • IFdlFunctionImplementationDefinition
    • LazilySizedArray<T>
  • MESL.SqlRace.Domain.Functions.Matlab
    • IMatlabFunctionImplementationDefinition
    • MappingDto
    • MappingDtoList
    • MatlabFunctionConstants
    • MatlabFunctionImplementationDefinitionDto
  • MESL.SqlRace.Domain.Functions.Persistence
    • CalculationModeInfoDto
    • CodedFunctionImplementationDefinitionDto
    • ImplementationDto
    • TriggerDto
    • Xfn1FunctionDto
    • Xfn2FunctionDto
    • Xfn2OutputParameterDto
  • MESL.SqlRace.Domain.Functions.Processors
    • IContextAwareProcessor
  • MESL.SqlRace.Domain.Functions.Processors.BestFit
    • BestFitProcessor
    • Point
    • PolyfitResult
    • SampleSetExtensions
    • SingleVarFunction
  • MESL.SqlRace.Domain.Infrastructure.DataAccess
    • ColumnMappedDataTable<T>
    • IDataHelper
    • TypedDataTableBase<T>
  • MESL.SqlRace.Domain.Infrastructure.DataPipeline
    • DataResult
    • DeferredDataResult
    • Frequency
    • FrequencyExtensions
    • FrequencyUnit
    • IDataResult
    • IDeferredDataResult
    • ISampleCollection
    • ISamplesDataResult
    • Sample
    • SamplesDataResult
    • StatisticOption
  • MESL.SqlRace.Domain.Infrastructure.DataProviders
    • AddChannelDataErrorEventArgs
    • SessionStartTimeChangedEventArgs
  • MESL.SqlRace.Domain.Infrastructure.DistinctionTracking
    • IDistinguishable
  • MESL.SqlRace.Domain.Infrastructure.Enumerators
    • StepDirection
  • MESL.SqlRace.Domain.Infrastructure.Formatting
    • CStyleStringFormatting
  • MESL.SqlRace.Domain.Infrastructure.Interfaces
    • IParameterDataStatistics
  • MESL.SqlRace.Domain.Infrastructure.Mappers
    • IMapper
  • MESL.SqlRace.Domain.Infrastructure.Publish
    • IGenericObjectPool<T>
  • MESL.SqlRace.Domain.Interfaces
    • IConnectionManager
    • IDatabaseConnection
    • IFunctionsSettingsStore
    • ISs2SessionExporter
  • MESL.SqlRace.Domain.Monitoring
    • FileMonitorBase
    • IFileMonitor
  • MESL.SqlRace.Domain.MountedSessions
    • IMountedConfiguration
    • IMountedDataPage
    • IMountedDataPageReader
    • IMountedDataPageSource
    • IMountedEventsPage
    • IMountedEventsPageSource
    • MountedConfiguration
    • MountedLap
    • MountedSession
    • MountedSessionCapabilities
    • MountedSessionEvents
    • MountedSessionEvents.ConfigurationAvailable
    • MountedSessionEvents.ConfigurationBound
    • MountedSessionEvents.DataAdded
    • MountedSessionEvents.EventsAdded
    • MountedSessionEvents.LapAdded
    • MountedSessionEvents.SessionUpdated
    • MountedSessionEvents.StateChanged
    • MountedSessionEvents.TimeRangeChanged
    • MountedSessionState
    • ReadDirection
  • MESL.SqlRace.Domain.Query
    • CombineType
    • CompositeFilter
    • FilesFilter
    • FolderFilter
    • IFilter
    • IQueryManagerController
    • MatchingRule
    • ParameterDataFilter
    • ParameterDataFilterValue
    • QueryManager
    • QueryManagerController
    • QuerySample
    • ScalarFilter
    • SearchOptions
    • SortCriterion
  • MESL.SqlRace.Domain.Remoting.Messages
    • CloseFilterPdaMessage
    • CreateFilterPdaMessage
    • FunctionManagerGetFunctionMessage
    • FunctionManagerGetFunctionMessageResponse
    • FunctionManagerGetFunctionsMessage
    • FunctionManagerGetFunctionsResponseMessage
    • SessionDetailChangedMessage
  • MESL.SqlRace.Domain.Remoting.Server
    • ClientSubscription
    • IServerListener
    • IServerManager
    • SessionSubscription
    • SqlRaceInitializationException
  • MESL.SqlRace.Domain.Repositories.CAN
    • CanInstance
  • MESL.SqlRace.Domain.Repositories.Configuration
    • ConfigurationSetMetaData
    • ParameterChannelGroupMapper
  • MESL.SqlRace.Domain.Repositories.Database
    • ILocalSessionCacheMigrationsProvider
  • MESL.SqlRace.Domain.Repositories.FileSessions
    • FileSessionIndexedEventArgs
    • SessionSummaryDetails
  • MESL.SqlRace.Domain.Repositories.Filestream
    • FilestreamRootPath
    • FilestreamRootPathRepository
    • IRootPathFolderMapper
    • RootPathFolderMapperFactory
    • RootPathType
  • MESL.SqlRace.Domain.Repositories.Laps
    • LapMergeController
    • LapMergeController.LapMergeCollector
  • MESL.SqlRace.Domain.Repositories.Sessions
    • FileSessionConfigurationCreatedEventArgs
    • FileSessionConfigurationProcessingErrorEventArgs
    • FileSessionConfigurationProcessingStepEventArgs
  • MESL.SqlRace.Domain.Services
    • DbRootPathService
    • IDistanceModeSettingService
    • IRootPathService
    • ServicesFactory
  • MESL.SqlRace.Domain.SessionProcessing
    • SessionProcessingStatus
    • SessionProcessingStatusCachingNewSessions
    • SessionProcessingStatusCalculatingSessionKeys
    • SessionProcessingStatusLoadingFromCache
    • SessionProcessingStatusLoadingUnprocessedSessions
    • SessionProcessingStatusProcessingAssociations
    • SessionProcessingStatusProgressUpdate
    • SessionProcessingStatusRemovingStaleCacheEntries
    • SessionProcessingStatusUpdate
  • MESL.SqlRace.Domain.Sort
    • SessionFieldIdentifiers
  • MESL.SqlRace.Domain.VirtualParameters
    • IFindTokens
    • IProvideHierarchy
    • ITokenTransformer
    • IVirtualInput
    • IVirtualParameterCompiler
    • IVirtualTemplate
    • NumberFinder
    • PdaType
    • VirtualInputParameter
    • VirtualParameterContext
    • VirtualParameterException
    • VirtualParameterHierarchy
    • VirtualParameterHierarchy.ExecutionResult
    • VirtualParameterHierarchy.SampleData
    • VirtualParameterRunner
    • VirtualSample
  • MESL.SqlRace.Domain.VirtualParameters.FDLLanguageConverter
    • FdlSharpSyntaxErrorException
  • MESL.SqlRace.Domain.VirtualParameters.FdlSharp
    • SfdlProcessors
  • MESL.SqlRace.Domain.XAxis
    • DataStoreKey
    • IProvideXAxisParameterData
    • XAxisDataManager
    • XAxisDataStore
    • XAxisLookupTable
    • XAxisParameterDataProvider
    • XAxisSamples
  • MESL.SqlRace.Enumerators
    • ByteOrderType
    • CalculationMode
    • ChannelDataSourceType
    • ChannelDataStorage
    • ConfigResolutionStatus
    • ConfigurationSetProcessingStatus
    • ConfigurationSetStorage
    • ConnectionStatus
    • ConversionType
    • DataStatusTypeExtensions
    • DataType
    • EventPriorityType
    • FileStreamType
    • FileStreamTypeHelper
    • FunctionTimerExecution
    • LanguageType
    • MapType
    • ParameterType
    • ParameterUsageType
    • PgvConfigurationSetStatus
    • ProfileKind
    • RequestType
    • SampleModeType
    • ScalingUnit
    • SessionEntities

Class ExecutionContextExtensionsForBuiltInProcessors

Execution context extension methods for built-in processors.

Inheritance
System.Object
ExecutionContextExtensionsForBuiltInProcessors
Namespace: MESL.SqlRace.Domain.Functions
Assembly: MESL.SqlRace.Domain.dll
Syntax
public static class ExecutionContextExtensionsForBuiltInProcessors : Object

Methods

BiLinearInterpolate(IExecutionContext, Int32, String, Double, Double, Int64)

Calculates the bilinear interpolate value for the given parameter.

Declaration
public static double BiLinearInterpolate(this IExecutionContext executionContext, int processorSlot, string fileName, double inputX, double inputY, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String fileName

The interpolate file.

System.Double inputX

The x input.

System.Double inputY

The y input.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

BiLinearInterpolate(IExecutionContext, Int32, String, String, String, Int64)

Calculates the bilinear interpolate value for the given parameter.

Declaration
public static double BiLinearInterpolate(this IExecutionContext executionContext, int processorSlot, string fileName, string parameterXId, string parameterYId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String fileName

The interpolate file.

System.String parameterXId

The parameter identifier.

System.String parameterYId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CumulativeLapMax(IExecutionContext, Int32, String, Int64)

Calculates the max value in the current and previous laps for the given parameter.

Declaration
public static double CumulativeLapMax(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the lap.

CumulativeLapMean(IExecutionContext, Int32, String, Int32, Int64)

Calculates the mean value for the given parameter in the current and previous laps. This overload is needed by FDL functions.

Declaration
public static double CumulativeLapMean(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CumulativeLapMean(IExecutionContext, Int32, String, Int64)

Calculates the weighted mean value for the given parameter in the current and previous laps. This overload is needed by FDL functions.

Declaration
public static double CumulativeLapMean(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CumulativeLapMin(IExecutionContext, Int32, String, Int64)

Calculates the min value in the current and previous laps for the given parameter.

Declaration
public static double CumulativeLapMin(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CumulativeLapStdDev(IExecutionContext, Int32, String, Int32, Int64)

Calculates the std dev value for the given parameter in the current and previous laps.

Declaration
public static double CumulativeLapStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CumulativeLapStdDev(IExecutionContext, Int32, String, Int64)

Calculates the weighted std dev value for the given parameter in the current and previous laps. This overload is needed by FDL functions.

Declaration
public static double CumulativeLapStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

CurrentLapNumber(IExecutionContext, Int32, Int64)

Calculates the current lap number.

Declaration
public static double CurrentLapNumber(this IExecutionContext executionContext, int processorSlot, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

Derivative(IExecutionContext, Int32, Double, Int64)

Calculates and returns the derivative of the given parameter.

Declaration
public static double Derivative(this IExecutionContext executionContext, int processorSlot, double sampleValue, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The slot that this processor occupies.

System.Double sampleValue

The processor input value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The derivative of the given parameter.

Derivative(IExecutionContext, Int32, String, Int64)

Calculates and returns the derivative of the given parameter.

Declaration
public static double Derivative(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The slot that this processor occupies.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The derivative of the given parameter.

DigitalFilter1(IExecutionContext, Int32, Double, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter1(this IExecutionContext executionContext, int processorSlot, double sampleValue, double b1, double b2, double a1, double a2, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Double b1

The value.

System.Double b2

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DigitalFilter1(IExecutionContext, Int32, String, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter1(this IExecutionContext executionContext, int processorSlot, string parameterId, double b1, double b2, double a1, double a2, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double b1

The value.

System.Double b2

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DigitalFilter2(IExecutionContext, Int32, Double, Double, Double, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter2(this IExecutionContext executionContext, int processorSlot, double sampleValue, double b1, double b2, double b3, double a1, double a2, double a3, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Double b1

The value.

System.Double b2

The value.

System.Double b3

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Double a3

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DigitalFilter2(IExecutionContext, Int32, String, Double, Double, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter2(this IExecutionContext executionContext, int processorSlot, string parameterId, double b1, double b2, double b3, double a1, double a2, double a3, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double b1

The value.

System.Double b2

The value.

System.Double b3

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Double a3

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DigitalFilter3(IExecutionContext, Int32, Double, Double, Double, Double, Double, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter3(this IExecutionContext executionContext, int processorSlot, double sampleValue, double b1, double b2, double b3, double b4, double a1, double a2, double a3, double a4, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Double b1

The value.

System.Double b2

The value.

System.Double b3

The value.

System.Double b4

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Double a3

The value.

System.Double a4

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DigitalFilter3(IExecutionContext, Int32, String, Double, Double, Double, Double, Double, Double, Double, Double, Int64)

Calculates the digital filter value for the given parameter.

Declaration
public static double DigitalFilter3(this IExecutionContext executionContext, int processorSlot, string parameterId, double b1, double b2, double b3, double b4, double a1, double a2, double a3, double a4, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double b1

The value.

System.Double b2

The value.

System.Double b3

The value.

System.Double b4

The value.

System.Double a1

The value.

System.Double a2

The value.

System.Double a3

The value.

System.Double a4

The value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

DistanceIntoLap(IExecutionContext, Int32, Int64)

Calculates distance in the current lap.

Declaration
public static double DistanceIntoLap(this IExecutionContext executionContext, int processorSlot, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The distance value of the lap.

Filter(IExecutionContext, Int32, Double, Double, Int64)

Calculates the low pass filter value for the given parameter.

Declaration
public static double Filter(this IExecutionContext executionContext, int processorSlot, double sampleValue, double frequency, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Double frequency

The frequency.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The given parameter passed through a low-pass filter.

Filter(IExecutionContext, Int32, String, Double, Int64)

Calculates the low pass filter value for the given parameter.

Declaration
public static double Filter(this IExecutionContext executionContext, int processorSlot, string parameterId, double frequency, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double frequency

The frequency.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The given parameter passed through a low-pass filter.

HighPassFilter(IExecutionContext, Int32, Double, Double, Int64)

Calculates the high pass filter value for the given parameter.

Declaration
public static double HighPassFilter(this IExecutionContext executionContext, int processorSlot, double sampleValue, double frequency, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Double frequency

The frequency.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

HighPassFilter(IExecutionContext, Int32, String, Double, Int64)

Calculates the high pass filter value for the given parameter.

Declaration
public static double HighPassFilter(this IExecutionContext executionContext, int processorSlot, string parameterId, double frequency, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double frequency

The frequency.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

IndexBySample(IExecutionContext, Int32, String, Double, Int64)

Calculates the value for the given parameter id offset forwards or backwards by the given sample.

Declaration
public static double IndexBySample(this IExecutionContext executionContext, int processorSlot, string parameterId, double sample, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double sample

The sample.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

IndexByTime(IExecutionContext, Int32, String, Double, Int64)

Calculates the value for the given parameter id offset forwards or backwards by the given time.

Declaration
public static double IndexByTime(this IExecutionContext executionContext, int processorSlot, string parameterId, double offset, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double offset

The offset in seconds.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

Integral(IExecutionContext, Int32, Double, Int64)

Calculates the integral value for the given parameter.

Declaration
public static double Integral(this IExecutionContext executionContext, int processorSlot, double sampleValue, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double sampleValue

The processor input value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

Integral(IExecutionContext, Int32, String, Int64)

Calculates the integral value for the given parameter.

Declaration
public static double Integral(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

IsInError(IExecutionContext, Int32, String, Int64)

Checks for Default status of parameter sample.

Declaration
public static double IsInError(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

Returns 1 if in Error, else 0.

LapBestFit(IExecutionContext, Int32, String, String, Int32, Int32, Int64)

Calculates the Lap Best Fit accross the values for current lap.

Declaration
public static double LapBestFit(this IExecutionContext executionContext, int processorSlot, string parameterXId, string parameterYId, int order, int coefficientIndex, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterXId

The parameter identifier.

System.String parameterYId

The parameter identifier.

System.Int32 order

The order.

System.Int32 coefficientIndex

The coefficient index.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapMax(IExecutionContext, Int32, String, Int64)

Calculates the max value in the current lap for the given parameter.

Declaration
public static double LapMax(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the lap.

LapMean(IExecutionContext, Int32, String, Int32, Int64)

Calculates the lap mean value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double LapMean(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapMean(IExecutionContext, Int32, String, Int64)

Calculates the weighted lap mean value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double LapMean(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapMin(IExecutionContext, Int32, String, Int64)

Calculates the min value in the current lap for the given parameter.

Declaration
public static double LapMin(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapStdDev(IExecutionContext, Int32, String, Int32, Int64)

Calculates the lap std dev value for the given parameter.

Declaration
public static double LapStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapStdDev(IExecutionContext, Int32, String, Int64)

Calculates the weighted lap std dev value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double LapStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LapTime(IExecutionContext, Int32, Double)

Calculates lap time in seconds.

Declaration
public static double LapTime(this IExecutionContext executionContext, int processorSlot, double lapNumber)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Double lapNumber
Returns
Type Description
System.Double

The min value in the lap.

LapTime(IExecutionContext, Int32, Int32)

Calculates lap time in seconds.

Declaration
public static double LapTime(this IExecutionContext executionContext, int processorSlot, int lapNumber)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Int32 lapNumber
Returns
Type Description
System.Double

The min value in the lap.

LinearInterpolate(IExecutionContext, Int32, String, Double, Int64)

Calculates the linear interpolate value for the given parameter.

Declaration
public static double LinearInterpolate(this IExecutionContext executionContext, int processorSlot, string fileName, double input, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String fileName

The interpolate file.

System.Double input

The input value.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LinearInterpolate(IExecutionContext, Int32, String, String, Int64)

Calculates the linear interpolate value for the given parameter.

Declaration
public static double LinearInterpolate(this IExecutionContext executionContext, int processorSlot, string fileName, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String fileName

The interpolate file.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LinearRegressionOffset(IExecutionContext, Int32, String, String, Int64)

Calculates the Linear Regression Offset accross the values for current lap.

Declaration
public static double LinearRegressionOffset(this IExecutionContext executionContext, int processorSlot, string parameterXId, string parameterYId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterXId

The parameter identifier.

System.String parameterYId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LinearRegressionR2(IExecutionContext, Int32, String, String, Int64)

Calculates the Linear Regression R Squared accross the values for current lap.

Declaration
public static double LinearRegressionR2(this IExecutionContext executionContext, int processorSlot, string parameterXId, string parameterYId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterXId

The parameter identifier.

System.String parameterYId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

LinearRegressionSlope(IExecutionContext, Int32, String, String, Int64)

Calculates the Linear Regression Slope accross the values for current lap.

Declaration
public static double LinearRegressionSlope(this IExecutionContext executionContext, int processorSlot, string parameterXId, string parameterYId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterXId

The parameter identifier.

System.String parameterYId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MedianFilter(IExecutionContext, Int32, String, Double, Int64)

Calculates the median filter value for the given parameter from a double window size

Declaration
public static double MedianFilter(this IExecutionContext executionContext, int processorSlot, string parameterId, double windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MedianFilter(IExecutionContext, Int32, String, Int32, Int64)

Calculates the median filter value for the given parameter.

Declaration
public static double MedianFilter(this IExecutionContext executionContext, int processorSlot, string parameterId, int windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MedianFilter17(IExecutionContext, Int32, String, Int64)

Calculates the median filter value for the given parameter.

Declaration
public static double MedianFilter17(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MedianFilter25(IExecutionContext, Int32, String, Int64)

Calculates the median filter value for the given parameter.

Declaration
public static double MedianFilter25(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MedianFilter9(IExecutionContext, Int32, String, Int64)

Calculates the median filter value for the given parameter.

Declaration
public static double MedianFilter9(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

MovingAverage(IExecutionContext, Int32, String, Double, Int64)

Calculates and returns the moving average of the given parameter from a double window size

Declaration
public static double MovingAverage(this IExecutionContext executionContext, int processorSlot, string parameterId, double windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext
System.Int32 processorSlot
System.String parameterId
System.Double windowSize
System.Int64 timestamp
Returns
Type Description
System.Double

The moving average of the given parameter.

MovingAverage(IExecutionContext, Int32, String, Int32, Int64)

Calculates and returns the moving average of the given parameter.

Declaration
public static double MovingAverage(this IExecutionContext executionContext, int processorSlot, string parameterId, int windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext
System.Int32 processorSlot
System.String parameterId
System.Int32 windowSize
System.Int64 timestamp
Returns
Type Description
System.Double

The moving average of the given parameter.

PhaseCompFilter(IExecutionContext, Int32, String, Double)

Calculates the phase comp filter value for the given parameter.

Declaration
public static double PhaseCompFilter(this IExecutionContext executionContext, int processorSlot, string parameterId, double frequency)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double frequency

The frequency.

Returns
Type Description
System.Double

The min value in the lap.

SamplesMax(IExecutionContext, Int32, String, Double, Int64)

Calculates the max value of a parameter. This processor calculates the max value of the given window from a double window size

Declaration
public static double SamplesMax(this IExecutionContext executionContext, int processorSlot, string parameterId, double windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the samples.

SamplesMax(IExecutionContext, Int32, String, Int32, Int64)

Calculates the max value of a parameter. This processor calculates the max value of the given window.

Declaration
public static double SamplesMax(this IExecutionContext executionContext, int processorSlot, string parameterId, int windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the samples.

SamplesMin(IExecutionContext, Int32, String, Double, Int64)

Calculates the min value of a parameter. This processor calculates the min value of the given window from a double window size

Declaration
public static double SamplesMin(this IExecutionContext executionContext, int processorSlot, string parameterId, double windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Double windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the samples.

SamplesMin(IExecutionContext, Int32, String, Int32, Int64)

Calculates the min value of a parameter. This processor calculates the min value of the given window.

Declaration
public static double SamplesMin(this IExecutionContext executionContext, int processorSlot, string parameterId, int windowSize, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 windowSize

The windowSize.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the samples.

SamplesPerSec(IExecutionContext, Int32, String)

Calculates the samples per second for the given parameter.

Declaration
public static double SamplesPerSec(this IExecutionContext executionContext, int processorSlot, string parameterId)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

Returns
Type Description
System.Double

The min value in the lap.

SessionMax(IExecutionContext, Int32, String, Int64)

Calculates the max value in the session for the given parameter.

Declaration
public static double SessionMax(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The max value in the lap.

SessionMean(IExecutionContext, Int32, String, Int32, Int64)

Calculates the session mean value for the given parameter.

Declaration
public static double SessionMean(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

SessionMean(IExecutionContext, Int32, String, Int64)

Calculates the session mean value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double SessionMean(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

SessionMin(IExecutionContext, Int32, String, Int64)

Calculates the max value in the session for the given parameter.

Declaration
public static double SessionMin(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The max value in the session.

SessionStdDev(IExecutionContext, Int32, String, Int32, Int64)

Calculates the session std dev value for the given parameter.

Declaration
public static double SessionStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, int weightStatistics, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int32 weightStatistics

The weight statistics flag; 0 for unweighted, 1 for weighted.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

SessionStdDev(IExecutionContext, Int32, String, Int64)

Calculates the session std dev value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double SessionStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

SetEvent(IExecutionContext, Int32, String, String, String, Int32, Int32, Int64)

Set an event marker in the session.

Declaration
public static double SetEvent(this IExecutionContext executionContext, int processorSlot, string eventName, string description, string group, int type, int persistency, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext
System.Int32 processorSlot
System.String eventName
System.String description
System.String group
System.Int32 type
System.Int32 persistency

If greater than Zero it will persist the event to session.

System.Int64 timestamp
Returns
Type Description
System.Double

SetEvent(IExecutionContext, Int32, String, String, String, Int32, Int64)

Set an event marker in the session.

Declaration
public static double SetEvent(this IExecutionContext executionContext, int processorSlot, string eventName, string description, string group, int type, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String eventName

The event name.

System.String description

The event description.

System.String group

The event group.

System.Int32 type

The event priority type.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

0

SetLap(IExecutionContext, Int32)

Sets a lap marker in the session.

Declaration
public static double SetLap(this IExecutionContext executionContext, int processorSlot)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

Returns
Type Description
System.Double

The min value in the lap.

TimeIntoLap(IExecutionContext, Int64)

Calculates the max value in the session for the given parameter.

Declaration
public static double TimeIntoLap(this IExecutionContext executionContext, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the session.

TimeIntoSession(IExecutionContext, Int64)

Returns the time into the current session.

Declaration
public static double TimeIntoSession(this IExecutionContext executionContext, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The time into the current session.

TimeOfDay(IExecutionContext, Int32, Int64)

Calculates the max value in the session for the given parameter.

Declaration
public static double TimeOfDay(this IExecutionContext executionContext, int processorSlot, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The max value in the session.

UwLapMean(IExecutionContext, Int32, String, Int64)

Calculates the unweighted lap mean value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double UwLapMean(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

UwLapStdDev(IExecutionContext, Int32, String, Int64)

Calculates the unweighted lap standard deviation value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double UwLapStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp.

Returns
Type Description
System.Double

The min value in the lap.

UwSessionMean(IExecutionContext, Int32, String, Int64)

Calculates the unweighted session mean value for the given parameter.

Declaration
public static double UwSessionMean(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

UwSessionStdDev(IExecutionContext, Int32, String, Int64)

Calculates the unweighted session std dev value for the given parameter. This overload is needed by FDL functions.

Declaration
public static double UwSessionStdDev(this IExecutionContext executionContext, int processorSlot, string parameterId, long timestamp)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String parameterId

The parameter identifier.

System.Int64 timestamp

The timestamp for the point. This is not session end time!.

Returns
Type Description
System.Double

The min value in the lap.

WriteToLog(IExecutionContext, Int32, String, String)

Saves the write to log value.

Declaration
public static double WriteToLog(this IExecutionContext executionContext, int processorSlot, string fileName, string logEntry)
Parameters
Type Name Description
IExecutionContext executionContext

The execution context.

System.Int32 processorSlot

The processor slot.

System.String fileName

The log file.

System.String logEntry

The log entry.

Returns
Type Description
System.Double

The min value in the lap.

In This Article
  • Methods
    • BiLinearInterpolate(IExecutionContext, Int32, String, Double, Double, Int64)
    • BiLinearInterpolate(IExecutionContext, Int32, String, String, String, Int64)
    • CumulativeLapMax(IExecutionContext, Int32, String, Int64)
    • CumulativeLapMean(IExecutionContext, Int32, String, Int32, Int64)
    • CumulativeLapMean(IExecutionContext, Int32, String, Int64)
    • CumulativeLapMin(IExecutionContext, Int32, String, Int64)
    • CumulativeLapStdDev(IExecutionContext, Int32, String, Int32, Int64)
    • CumulativeLapStdDev(IExecutionContext, Int32, String, Int64)
    • CurrentLapNumber(IExecutionContext, Int32, Int64)
    • Derivative(IExecutionContext, Int32, Double, Int64)
    • Derivative(IExecutionContext, Int32, String, Int64)
    • DigitalFilter1(IExecutionContext, Int32, Double, Double, Double, Double, Double, Int64)
    • DigitalFilter1(IExecutionContext, Int32, String, Double, Double, Double, Double, Int64)
    • DigitalFilter2(IExecutionContext, Int32, Double, Double, Double, Double, Double, Double, Double, Int64)
    • DigitalFilter2(IExecutionContext, Int32, String, Double, Double, Double, Double, Double, Double, Int64)
    • DigitalFilter3(IExecutionContext, Int32, Double, Double, Double, Double, Double, Double, Double, Double, Double, Int64)
    • DigitalFilter3(IExecutionContext, Int32, String, Double, Double, Double, Double, Double, Double, Double, Double, Int64)
    • DistanceIntoLap(IExecutionContext, Int32, Int64)
    • Filter(IExecutionContext, Int32, Double, Double, Int64)
    • Filter(IExecutionContext, Int32, String, Double, Int64)
    • HighPassFilter(IExecutionContext, Int32, Double, Double, Int64)
    • HighPassFilter(IExecutionContext, Int32, String, Double, Int64)
    • IndexBySample(IExecutionContext, Int32, String, Double, Int64)
    • IndexByTime(IExecutionContext, Int32, String, Double, Int64)
    • Integral(IExecutionContext, Int32, Double, Int64)
    • Integral(IExecutionContext, Int32, String, Int64)
    • IsInError(IExecutionContext, Int32, String, Int64)
    • LapBestFit(IExecutionContext, Int32, String, String, Int32, Int32, Int64)
    • LapMax(IExecutionContext, Int32, String, Int64)
    • LapMean(IExecutionContext, Int32, String, Int32, Int64)
    • LapMean(IExecutionContext, Int32, String, Int64)
    • LapMin(IExecutionContext, Int32, String, Int64)
    • LapStdDev(IExecutionContext, Int32, String, Int32, Int64)
    • LapStdDev(IExecutionContext, Int32, String, Int64)
    • LapTime(IExecutionContext, Int32, Double)
    • LapTime(IExecutionContext, Int32, Int32)
    • LinearInterpolate(IExecutionContext, Int32, String, Double, Int64)
    • LinearInterpolate(IExecutionContext, Int32, String, String, Int64)
    • LinearRegressionOffset(IExecutionContext, Int32, String, String, Int64)
    • LinearRegressionR2(IExecutionContext, Int32, String, String, Int64)
    • LinearRegressionSlope(IExecutionContext, Int32, String, String, Int64)
    • MedianFilter(IExecutionContext, Int32, String, Double, Int64)
    • MedianFilter(IExecutionContext, Int32, String, Int32, Int64)
    • MedianFilter17(IExecutionContext, Int32, String, Int64)
    • MedianFilter25(IExecutionContext, Int32, String, Int64)
    • MedianFilter9(IExecutionContext, Int32, String, Int64)
    • MovingAverage(IExecutionContext, Int32, String, Double, Int64)
    • MovingAverage(IExecutionContext, Int32, String, Int32, Int64)
    • PhaseCompFilter(IExecutionContext, Int32, String, Double)
    • SamplesMax(IExecutionContext, Int32, String, Double, Int64)
    • SamplesMax(IExecutionContext, Int32, String, Int32, Int64)
    • SamplesMin(IExecutionContext, Int32, String, Double, Int64)
    • SamplesMin(IExecutionContext, Int32, String, Int32, Int64)
    • SamplesPerSec(IExecutionContext, Int32, String)
    • SessionMax(IExecutionContext, Int32, String, Int64)
    • SessionMean(IExecutionContext, Int32, String, Int32, Int64)
    • SessionMean(IExecutionContext, Int32, String, Int64)
    • SessionMin(IExecutionContext, Int32, String, Int64)
    • SessionStdDev(IExecutionContext, Int32, String, Int32, Int64)
    • SessionStdDev(IExecutionContext, Int32, String, Int64)
    • SetEvent(IExecutionContext, Int32, String, String, String, Int32, Int32, Int64)
    • SetEvent(IExecutionContext, Int32, String, String, String, Int32, Int64)
    • SetLap(IExecutionContext, Int32)
    • TimeIntoLap(IExecutionContext, Int64)
    • TimeIntoSession(IExecutionContext, Int64)
    • TimeOfDay(IExecutionContext, Int32, Int64)
    • UwLapMean(IExecutionContext, Int32, String, Int64)
    • UwLapStdDev(IExecutionContext, Int32, String, Int64)
    • UwSessionMean(IExecutionContext, Int32, String, Int64)
    • UwSessionStdDev(IExecutionContext, Int32, String, Int64)
    • WriteToLog(IExecutionContext, Int32, String, String)
Back to top Generated by DocFX