Skip to content

Reference

OpcCondition Members

Represents a snapshot of a 'Opc.UaFx.OpcConditionNode'.

Reference

OpcCondition Members ​

Type
OpcCondition
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from OpcEvent.

Constructors ​

OpcCondition ​

since v2.8

Initializes a new instance of the OpcCondition class using the dataStore specified.

csharp
public OpcCondition(IOpcReadOnlyNodeDataStore dataStore)
vbnet
Public Sub New(dataStore As IOpcReadOnlyNodeDataStore)

Parameters

NameTypeDescription
dataStoreIOpcReadOnlyNodeDataStoreThe IOpcReadOnlyNodeDataStore of the 'Opc.UaFx.OpcConditionNode' to represent.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe dataStore is a null reference (Nothing in Visual Basic).

Properties ​

BranchId ​

Gets an identifier which identifies the branch to that the event does belong.

csharp
public OpcNodeId BranchId { get; }
vbnet
Public ReadOnly Property BranchId As OpcNodeId

Property value

OpcNodeId

The identifier of the branch. For more information see 'Opc.UaFx.OpcConditionNode.BranchId'.

ClientUserId ​

Gets an identifier that is related to the Comment and contains the identity of the user who inserted the most recent Comment.

csharp
public string ClientUserId { get; }
vbnet
Public ReadOnly Property ClientUserId As String

Property value

String

The identifier that is related to the Comment. For more information see 'Opc.UaFx.OpcConditionNode.ClientUserId'.

Comment ​

Gets the last comment provided for a certain state (condition branch).

csharp
public OpcText Comment { get; }
vbnet
Public ReadOnly Property Comment As OpcText

Property value

OpcText

The last comment provided for a certain state. For more information see 'Opc.UaFx.OpcConditionNode.Comment'.

ConditionClassId ​

Gets a value which specifies in which domain this condition is used. It is the OpcNodeId of the corresponding condition class type.

csharp
public OpcNodeId ConditionClassId { get; }
vbnet
Public ReadOnly Property ConditionClassId As OpcNodeId

Property value

OpcNodeId

The OpcNodeId of the corresponding condition class type. For more information see 'Opc.UaFx.OpcConditionNode.ConditionClassId'.

ConditionClassName ​

Gets a value that matches the display name of the condition class type.

csharp
public OpcText ConditionClassName { get; }
vbnet
Public ReadOnly Property ConditionClassName As OpcText

Property value

OpcText

The display name of the condition class type. For more information see 'Opc.UaFx.OpcConditionNode.ConditionClassName'.

ConditionName ​

Gets a value which identifies the condition instance that the event originated from.

csharp
public string ConditionName { get; }
vbnet
Public ReadOnly Property ConditionName As String

Property value

String

The name of the condition instance that the event originated from. For more information see 'Opc.UaFx.OpcConditionNode.ConditionName'.

IsEnabled ​

Gets a value indicating whether the condition is enabled.

csharp
public bool IsEnabled { get; }
vbnet
Public ReadOnly Property IsEnabled As Boolean

Property value

Boolean

A value indicating whether the condition is enabled. For more information see 'Opc.UaFx.OpcConditionNode.IsEnabled'.

IsRetained ​

Gets a value indicating whether the condition is in a state that is interesting for a client wishing to synchronize its state with the server's state.

csharp
public bool IsRetained { get; }
vbnet
Public ReadOnly Property IsRetained As Boolean

Property value

Boolean

The value true if the condition (or condition branch) is being in a state that is interesting for a client wishing to synchronize its state with the server's state. For more information see 'Opc.UaFx.OpcConditionNode.IsRetained'.

LastSeverity ​

Gets a value which provides the previous severity of the condition branch.

csharp
public OpcEventSeverity LastSeverity { get; }
vbnet
Public ReadOnly Property LastSeverity As OpcEventSeverity

Property value

OpcEventSeverity

One of the members defined by the OpcEventSeverity enumeration. For more information see 'Opc.UaFx.OpcConditionNode.LastSeverity'.

Quality ​

Gets a value which reveals the status of process values or other resources that this condition is based upon.

csharp
public OpcStatus Quality { get; }
vbnet
Public ReadOnly Property Quality As OpcStatus

Property value

OpcStatus

The quality of data that this condition is based upon. For more information see 'Opc.UaFx.OpcConditionNode.Quality'.