'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)
public AEConditionState( AESubconditionElementCollection subconditionElements, AEAttributeValueDictionary attributeValues, AESubconditionElement activeSubcondition, bool enabled, bool active, bool acknowledged, DAQuality quality, DateTime activeTime, DateTime subconditionActiveTime, DateTime inactiveTime, DateTime acknowledgeTime, string acknowledgerId, string comment )
public: AEConditionState( AESubconditionElementCollection^ subconditionElements, AEAttributeValueDictionary^ attributeValues, AESubconditionElement^ activeSubcondition, bool enabled, bool active, bool acknowledged, DAQuality^ quality, DateTime activeTime, DateTime subconditionActiveTime, DateTime inactiveTime, DateTime acknowledgeTime, String^ acknowledgerId, String^ comment )
Parameters
- subconditionElements
The value of this parameter cannot be
null
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic).- attributeValues
The value of this parameter cannot be
null
(Nothing
in Visual Basic).- activeSubcondition
The value of this parameter can be
null
(Nothing
in Visual Basic).- enabled
- active
- acknowledged
- quality
Because the OpcLabs.EasyOpc.DataAccess.DAQuality has an implicit conversion from System.Int32 and OpcLabs.EasyOpc.DataAccess.DAQualities, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use an integer (representing the internal value of the quality), or an element of the OpcLabs.EasyOpc.DataAccess.DAQualities enumeration in place of this parameter, and the corresponding OPC DA quality object will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.DataAccess.DAQuality.DAQuality Constructor(Int32) or OpcLabs.EasyOpc.DataAccess.DAQuality.DAQuality Constructor(DAQualities) constructor instead.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).- activeTime
- subconditionActiveTime
- inactiveTime
- acknowledgeTime
- acknowledgerId
The value of this parameter cannot be
null
(Nothing
in Visual Basic).- comment
The value of this parameter cannot be
null
(Nothing
in Visual Basic).