|
MeasurementStateMappingExtensionsMapToStatusFlags Method
|
Namespace: eDNAAdaptersAssembly: eDNAAdapters (in eDNAAdapters.dll) Version: 2.4.218-beta
Syntax [<ExtensionAttribute>]
static member MapToStatusFlags :
stateFlags : MeasurementStateFlags *
?type : DataType *
?digitalSet : bool
(* Defaults:
let _type = defaultArg type DataType.Analog
let _digitalSet = defaultArg digitalSet false
*)
-> StatusFlags
eDNAAdapters.MeasurementStateMappingExtensions.MapToStatusFlags = function(stateFlags, type, digitalSet);
View SourceParameters
- stateFlags MeasurementStateFlags
- Flags to map.
- type DataType (Optional)
- Data type of measurement.
- digitalSet Boolean (Optional)
- Flag that determines if digital value is set.
Return Value
StatusFlagsStatusFlags mapped from
MeasurementStateFlags.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MeasurementStateFlags. 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