|
MetadataHelpersGetMeasurementRecord Method
|
Gets measurement record, creating it if needed.
Namespace: GSF.TimeSeries.AdaptersAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.218-beta
Syntax [<ExtensionAttribute>]
static member GetMeasurementRecord :
instance : IAdapter *
currentDeviceID : Nullable<int> *
pointTag : string *
alternateTag : string *
signalReference : string *
description : string *
?signalType : SignalType *
?targetHistorianAcronym : string *
?sendChangedNotification : bool
(* Defaults:
let _signalType = defaultArg signalType SignalType.CALC
let _targetHistorianAcronym = defaultArg targetHistorianAcronym "PPA"
let _sendChangedNotification = defaultArg sendChangedNotification false
*)
-> Measurement
GSF.TimeSeries.Adapters.MetadataHelpers.GetMeasurementRecord = function(instance, currentDeviceID, pointTag, alternateTag, signalReference, description, signalType, targetHistorianAcronym, sendChangedNotification);
View SourceParameters
- 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
MeasurementMeasurement 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