Click or drag to resize

MetadataHelpersGetMeasurementRecord 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 IAdapter instance,
	int? currentDeviceID,
	string pointTag,
	string alternateTag,
	string signalReference,
	string description,
	SignalType signalType = SignalType.CALC,
	string targetHistorianAcronym = "PPA",
	bool sendChangedNotification = false
)
View Source

Parameters

instance  IAdapter
Target IAdapter instance.
currentDeviceID  NullableInt32
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.
sendChangedNotification  Boolean  (Optional)
Flag that determines if host system should be notified of configuration changes.

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 IAdapter. 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