QuickOPC User's Guide and Reference
UATwoStateDiscreteNode Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataAccess Namespace : UATwoStateDiscreteNode Class
This VariableType defines the general characteristics of a DiscreteItem that can have two states. The TwoStateDiscreteType derives from the DiscreteItemType.
Object Model
UATwoStateDiscreteNode ClassUAEndpointDescriptor ClassUAMonitoringParameters ClassUANodeDescriptor ClassUAReadParameters ClassUAStatusCode ClassUASubscriptionParameters Class
Syntax
'Declaration
 
<ComVisibleAttribute(False)>
<UATypeDefinitionIdAttribute("nsu=http://opcfoundation.org/UA/;i=2373")>
<UANamespaceAttribute("http://opcfoundation.org/UA/")>
<UATypeAttribute()>
<CLSCompliantAttribute(True)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
Public Class UATwoStateDiscreteNode 
   Inherits OpcLabs.EasyOpc.UA.DataAccess.UADiscreteItemNode(Of Boolean,Boolean)
'Usage
 
Dim instance As UATwoStateDiscreteNode
[ComVisible(false)]
[UATypeDefinitionId("nsu=http://opcfoundation.org/UA/;i=2373")]
[UANamespace("http://opcfoundation.org/UA/")]
[UAType()]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public class UATwoStateDiscreteNode : OpcLabs.EasyOpc.UA.DataAccess.UADiscreteItemNode<bool,bool> 
[ComVisible(false)]
[UATypeDefinitionId("nsu=http://opcfoundation.org/UA/;i=2373")]
[UANamespace("http://opcfoundation.org/UA/")]
[UAType()]
[CLSCompliant(true)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
public ref class UATwoStateDiscreteNode : public OpcLabs.EasyOpc.UA.DataAccess.UADiscreteItemNode<bool,bool> 
Remarks
If the item contains an array the Properties will apply to all elements in the array.
Inheritance Hierarchy

System.Object
   OpcLabs.BaseLib.LiveMapping.MappedObject
      OpcLabs.EasyOpc.UA.LiveMapping.UAMappedNode
         OpcLabs.EasyOpc.UA.InformationModel.UABaseVariable<TValue,TAttribute>
            OpcLabs.EasyOpc.UA.InformationModel.UABaseDataVariable<TValue,TAttribute>
               OpcLabs.EasyOpc.UA.DataAccess.UADataItemNode<TValue,TAttribute>
                  OpcLabs.EasyOpc.UA.DataAccess.UADiscreteItemNode<TValue,TAttribute>
                     OpcLabs.EasyOpc.UA.DataAccess.UATwoStateDiscreteNode

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