Click or drag to resize

MetadataHelpersLookupDevice Method

Looks up associated device acronym and ID from provided signalID.

Namespace: GSF.TimeSeries.Adapters
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public static (string acronym, int ID) LookupDevice(
	this IAdapter instance,
	Guid signalID,
	string measurementTable = "ActiveMeasurements"
)
View Source

Parameters

instance  IAdapter
Target IAdapter instance.
signalID  Guid
Guid signal ID to lookup.
measurementTable  String  (Optional)
Measurement table name used for meta-data lookup.

Return Value

ValueTupleString, Int32
Device acronym and ID tuple, if found; otherwise, string representation of associated point tag and ID of zero.

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