QuickOPC User's Guide and Reference
EasyUAAlarmsAndConditionsClient Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions Namespace : EasyUAAlarmsAndConditionsClient Class
A specialized OPC UA client object for alarms and conditions.
Object Model
EasyUAAlarmsAndConditionsClient ClassIEasyUAClient InterfaceEasyUAClientSelector ClassIEasyUAClient InterfaceIUAReadOnlyModelProvider Interface
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient)>
<ComVisibleAttribute(True)>
<GuidAttribute("BDE0A98B-801E-4A29-9428-946B7378E803")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<DesignerCategoryAttribute("Component")>
<SerializableAttribute()>
Public NotInheritable Class EasyUAAlarmsAndConditionsClient 
   Inherits OpcLabs.EasyOpc.UA.EasyUASpecializedClient
   Implements OpcLabs.BaseLib.Arrangement.IQueryTraits, OpcLabs.BaseLib.IValueEquatable, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.BaseLib.Widgets.ComTypes._Widget, OpcLabs.BaseLib.Widgets.IWidget, OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient, IEasyUAAlarmsAndConditionsClient, OpcLabs.EasyOpc.UA.ComTypes._EasyUASpecializedClient, OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As EasyUAAlarmsAndConditionsClient
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient)]
[ComVisible(true)]
[Guid("BDE0A98B-801E-4A29-9428-946B7378E803")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
[Serializable()]
public sealed class EasyUAAlarmsAndConditionsClient : OpcLabs.EasyOpc.UA.EasyUASpecializedClient, OpcLabs.BaseLib.Arrangement.IQueryTraits, OpcLabs.BaseLib.IValueEquatable, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.BaseLib.Widgets.ComTypes._Widget, OpcLabs.BaseLib.Widgets.IWidget, OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient, IEasyUAAlarmsAndConditionsClient, OpcLabs.EasyOpc.UA.ComTypes._EasyUASpecializedClient, OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient)]
[ComVisible(true)]
[Guid("BDE0A98B-801E-4A29-9428-946B7378E803")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
[Serializable()]
public ref class EasyUAAlarmsAndConditionsClient sealed : public OpcLabs.EasyOpc.UA.EasyUASpecializedClient, OpcLabs.BaseLib.Arrangement.IQueryTraits, OpcLabs.BaseLib.IValueEquatable, OpcLabs.BaseLib.Licensing.ILicensingContextHolder, OpcLabs.BaseLib.Widgets.ComTypes._Widget, OpcLabs.BaseLib.Widgets.IWidget, OpcLabs.EasyOpc.UA.AlarmsAndConditions.ComTypes._EasyUAAlarmsAndConditionsClient, IEasyUAAlarmsAndConditionsClient, OpcLabs.EasyOpc.UA.ComTypes._EasyUASpecializedClient, OpcLabs.EasyOpc.UA.IEasyUASpecializedClient, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks

 

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.

 

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         OpcLabs.BaseLib.Widgets.Widget
            OpcLabs.EasyOpc.UA.EasyUASpecializedClient
               OpcLabs.EasyOpc.UA.AlarmsAndConditions.EasyUAAlarmsAndConditionsClient

Requirements

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

See Also