Click or drag to resize

IndependentAdapterManagerExtensionsGetMeasurementRecord Method

Gets measurement record, creating it if needed.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public static Measurement GetMeasurementRecord(
	this IIndependentAdapterManager instance,
	int currentDeviceID,
	string pointTag,
	string alternateTag,
	string signalReference,
	string description,
	SignalType signalType = SignalType.CALC,
	string targetHistorianAcronym = "PPA"
)
View Source

Parameters

instance  IIndependentAdapterManager
Target IIndependentAdapterManager instance.
currentDeviceID  Int32
Device ID associated with current adapter, or zero if none.
pointTag  String
Point tag of measurement.
alternateTag  String
Alternate tag of measurement.
signalReference  String
Signal reference of measurement.
description  String
Description of measurement.
signalType  SignalType  (Optional)
Signal type of measurement.
targetHistorianAcronym  String  (Optional)
Acronym of target historian for measurement.

Return Value

Measurement
Measurement record.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IIndependentAdapterManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also