|
MetadataHelpersLookupDevice Method
|
Looks up associated device acronym and ID from provided signalID.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.205-beta
Syntax public static (string acronym, int ID) LookupDevice(
this IAdapter instance,
Guid signalID,
string measurementTable = "ActiveMeasurements"
)
GSF.TimeSeries.Adapters.MetadataHelpers.LookupDevice = function(instance, signalID, measurementTable);
View SourceParameters
- 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,
Int32Device 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