OPC Studio User's Guide and Reference
FromDouble Method (UADataChangeFilter)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataChangeFilter Class : FromDouble Method
A data change filter's absolute deadband value.
Converts a double to a data change filter, by creating a filter with absolute deadband.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function FromDouble( _
   ByVal absoluteDeadbandValue As Double _
) As UADataChangeFilter
'Usage
 
Dim absoluteDeadbandValue As Double
Dim value As UADataChangeFilter
 
value = UADataChangeFilter.FromDouble(absoluteDeadbandValue)
[NotNull()]
public static UADataChangeFilter FromDouble( 
   double absoluteDeadbandValue
)
[NotNull()]
public:
static UADataChangeFilter^ FromDouble( 
   double absoluteDeadbandValue
) 

Parameters

absoluteDeadbandValue
A data change filter's absolute deadband value.

Return Value

Returns a data change filter specifying the given absolute deadband, and triggered by StatusValue.

This method never returns null (Nothing in Visual Basic).

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this method explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also