Click or drag to resize
Grid Solutions Framework

MeasurementStateMappingExtensionsMapToStatusFlags Method

Maps MeasurementStateFlags to StatusFlags.

Namespace: eDNAAdapters
Assembly: eDNAAdapters (in eDNAAdapters.dll) Version: 2.4.218-beta
Syntax
public static StatusFlags MapToStatusFlags(
	this MeasurementStateFlags stateFlags,
	DataType type = DataType.Analog,
	bool digitalSet = false
)
View Source

Parameters

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

StatusFlags
StatusFlags 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