QuickOPC User's Guide and Reference
IEasyUAAlarmsAndConditionsClient Interface

OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions Namespace : IEasyUAAlarmsAndConditionsClient Interface
Provides access to information model for OPC UA Alarms and Conditions.
Public Interface IEasyUAAlarmsAndConditionsClient 
   Inherits OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.IServiceProvider 
Dim instance As IEasyUAAlarmsAndConditionsClient
public interface IEasyUAAlarmsAndConditionsClient : OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.IServiceProvider  
public interface class IEasyUAAlarmsAndConditionsClient : public OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.IServiceProvider  

You can obtain this interface e.g.:


Methods described in this chapter allow your application to modify information in the underlying data source that the OPC server connects to or in the OPC server itself (acknowledging conditions). It is assumed that your application already somehow knows how to identify the data it is interested in. If the location of the data is not known upfront, use methods described Browsing for Information chapter first.

The operations performed by the methods described here are actually implemented inside the OPC server. The OPC specification defines OPC UA methods for that, and as such, you could use e.g. one of the EasyUAClient.CallMethod overloads in order to achieve the same outcome. You would have to, however, look up and specify the Node ID of the desired method, and properly assemble the array of input arguments (with proper types), and so on. The methods described below make it easier, and do the boring part for you. They are all implemented in a specialized client object for OPC UA Alarms and Conditions (EasyUAAlarmsAndConditionsClient Class), which you can derive from the IEasyUAClient, or instantiate standalone.

The easiest way to access the functionality is usually to call the AsAlarmsAndConditionsClient Method on the IEasyUAClient Interface you already have. See Specialized Client Objects for more details. For an example of how to do that, see Examples - OPC UA Alarms&Conditions - Acknowledge an event.

The features discussed here, or some of them, may not be available in all editions of the product. Check the Product Editions page for differences between the editions. The trial license has all features enabled (and is limited in period for which it provides valid data), but licenses for specific commercial editions may have functionality limitations.



Target Platforms: .NET Framework: Windows 10, Windows Server 2012, Windows Server 2016; .NET Core, .NET 5: Linux, macOS, Microsoft Windows

See Also


IEasyUAAlarmsAndConditionsClient Members
OpcLabs.EasyOpc.UA.AlarmsAndConditions Namespace