|
IndependentAdapterManagerExtensionsLookupDevice Method
|
Lookups up associated device name from provided signalID.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.248-beta
Syntaxpublic static string LookupDevice(
this IIndependentAdapterManager instance,
Guid signalID,
string measurementTable = "ActiveMeasurements"
)
<ExtensionAttribute>
Public Shared Function LookupDevice (
instance As IIndependentAdapterManager,
signalID As Guid,
Optional measurementTable As String = "ActiveMeasurements"
) As String
public:
[ExtensionAttribute]
static String^ LookupDevice(
IIndependentAdapterManager^ instance,
Guid signalID,
String^ measurementTable = L"ActiveMeasurements"
)
[<ExtensionAttribute>]
static member LookupDevice :
instance : IIndependentAdapterManager *
signalID : Guid *
?measurementTable : string
(* Defaults:
let _measurementTable = defaultArg measurementTable "ActiveMeasurements"
*)
-> string
GSF.TimeSeries.Adapters.IndependentAdapterManagerExtensions.LookupDevice = function(instance, signalID, measurementTable);
View SourceParameters
- instance IIndependentAdapterManager
- Target IIndependentAdapterManager instance.
- signalID Guid
- Guid signal ID to lookup.
- measurementTable String (Optional)
- Measurement table name used for meta-data lookup.
Return Value
StringDevice name, if found; otherwise, string representation of associated point tag.
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