OPC Studio User's Guide and Reference
AEConditionState Constructor(AESubconditionElementCollection,AEAttributeValueDictionary,AESubconditionElement,Boolean,Boolean,Boolean,DAQuality,DateTime,DateTime,DateTime,DateTime,String,String)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEConditionState Class > AEConditionState Constructor : AEConditionState Constructor(AESubconditionElementCollection,AEAttributeValueDictionary,AESubconditionElement,Boolean,Boolean,Boolean,DAQuality,DateTime,DateTime,DateTime,DateTime,String,String)
Initializes a new instance of the class with given data.
Syntax
'Declaration
 
Public Function New( _
   ByVal subconditionElements As AESubconditionElementCollection, _
   ByVal attributeValues As AEAttributeValueDictionary, _
   ByVal activeSubcondition As AESubconditionElement, _
   ByVal enabled As Boolean, _
   ByVal active As Boolean, _
   ByVal acknowledged As Boolean, _
   ByVal quality As DAQuality, _
   ByVal activeTime As Date, _
   ByVal subconditionActiveTime As Date, _
   ByVal inactiveTime As Date, _
   ByVal acknowledgeTime As Date, _
   ByVal acknowledgerId As String, _
   ByVal comment As String _
)
'Usage
 
Dim subconditionElements As AESubconditionElementCollection
Dim attributeValues As AEAttributeValueDictionary
Dim activeSubcondition As AESubconditionElement
Dim enabled As Boolean
Dim active As Boolean
Dim acknowledged As Boolean
Dim quality As DAQuality
Dim activeTime As Date
Dim subconditionActiveTime As Date
Dim inactiveTime As Date
Dim acknowledgeTime As Date
Dim acknowledgerId As String
Dim comment As String
 
Dim instance As New AEConditionState(subconditionElements, attributeValues, activeSubcondition, enabled, active, acknowledged, quality, activeTime, subconditionActiveTime, inactiveTime, acknowledgeTime, acknowledgerId, comment)

Parameters

subconditionElements
attributeValues
activeSubcondition
enabled
active
acknowledged
quality
activeTime
subconditionActiveTime
inactiveTime
acknowledgeTime
acknowledgerId
comment
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