OPCHDA.NET-UA
CheckHDAState Method
See Also  Send Feedback
OpcHDaNetUaOption.Net4 Assembly > OPCHDA Namespace > HDAQuality Class : CheckHDAState Method

qualityCode
Quality code received from the OPC HDA server.
mask
HDAQualityState enumeration value

Glossary Item Box

Checks a single bit in the OPC HDA quality value.

Syntax

Visual Basic (Declaration) 
Public Shared Function CheckHDAState( _
   ByVal qualityCode As Integer, _
   ByVal mask As HDAQualityState _
) As Boolean
C# 
public static bool CheckHDAState( 
   int qualityCode,
   HDAQualityState mask
)

Parameters

qualityCode
Quality code received from the OPC HDA server.
mask
HDAQualityState enumeration value

Return Value

Returns true if the requested quality state is set in the quality value.

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.