Reference
OpcMultiStateValueDiscreteNode Members
Defines a generic implementation of the OpcMultiStateValueDiscreteNode.
Reference
OpcMultiStateValueDiscreteNode<T> Members
- Type
- OpcMultiStateValueDiscreteNode<T>
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcMultiStateValueDiscreteNode, OpcDataItemNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcMultiStateValueDiscreteNode
| Overload | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opccontent as the instance to wrap. |
| Opc | Initializes a new instance of the Opcname specified. |
| Opc | Initializes a new instance of the Opcname specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname and id specified. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value given by value. |
| Opc | Initializes a new instance of the Opcname specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname specified with the initial value defined by value as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified as a child node of the parent node given. |
| Opc | Initializes a new instance of the Opcname and id specified with the initial value defined by value as a child node of the parent node given. |
OpcMultiStateValueDiscreteNode(OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified.
public OpcMultiStateValueDiscreteNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
OpcMultiStateValueDiscreteNode(OpcName, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified with the initial value given by value.
public OpcMultiStateValueDiscreteNode(OpcName name, T value)Public Sub New(name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
value | T | The initial value of the new multi state value discrete node. |
OpcMultiStateValueDiscreteNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified.
public OpcMultiStateValueDiscreteNode(OpcName name, OpcNodeId id)Public Sub New(name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state value discrete node can be identified and accessed. |
OpcMultiStateValueDiscreteNode(OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.
public OpcMultiStateValueDiscreteNode(OpcName name, OpcNodeId id, T value)Public Sub New(name As OpcName, id As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state value discrete node can be identified and accessed. |
value | T | The initial value of the new multi state value discrete node. |
OpcMultiStateValueDiscreteNode(IOpcNode, OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.
public OpcMultiStateValueDiscreteNode(IOpcNode parent, OpcName name)Public Sub New(parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
OpcMultiStateValueDiscreteNode(IOpcNode, OpcName, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcMultiStateValueDiscreteNode(IOpcNode parent, OpcName name, T value)Public Sub New(parent As IOpcNode, name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
value | T | The initial value of the new multi state value discrete node. |
OpcMultiStateValueDiscreteNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.
public OpcMultiStateValueDiscreteNode(
IOpcNode parent,
OpcName name,
OpcNodeId id)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state value discrete node can be identified and accessed. |
OpcMultiStateValueDiscreteNode(IOpcNode, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
public OpcMultiStateValueDiscreteNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
T value)Public Sub New(parent As IOpcNode, name As OpcName, id As OpcNodeId, value As T)Parameters
| Name | Type | Description |
|---|---|---|
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state value discrete node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state value discrete node can be identified and accessed. |
value | T | The initial value of the new multi state value discrete node. |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content)Protected Sub New(content As MultiStateValueDiscreteState(Of T))Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>, OpcNodeModel)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content,
OpcNodeModel model)Protected Sub New(
content As MultiStateValueDiscreteState(Of T),
model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>, OpcNodeModel, OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content,
OpcNodeModel model,
OpcName name)Protected Sub New(
content As MultiStateValueDiscreteState(Of T),
model As OpcNodeModel,
name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>, OpcNodeModel, OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content,
OpcNodeModel model,
OpcName name,
OpcNodeId id)Protected Sub New(
content As MultiStateValueDiscreteState(Of T),
model As OpcNodeModel,
name As OpcName,
id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content,
OpcNodeModel model,
IOpcNode parent,
OpcName name)Protected Sub New(
content As MultiStateValueDiscreteState(Of T),
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(MultiStateValueDiscreteState<T>, OpcNodeModel, IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class using the content as the instance to wrap.
protected OpcMultiStateValueDiscreteNode(
MultiStateValueDiscreteState<T> content,
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id)Protected Sub New(
content As MultiStateValueDiscreteState(Of T),
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
content | Multi | The Multi |
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcMultiStateValueDiscreteNode(OpcNodeModel, OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified.
protected OpcMultiStateValueDiscreteNode(OpcNodeModel model, OpcName name)Protected Sub New(model As OpcNodeModel, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, OpcName, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified with the initial value given by value.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
OpcName name,
T value)Protected Sub New(model As OpcNodeModel, name As OpcName, value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
value | T | The initial value of the new multi state discrete value node. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
OpcName name,
OpcNodeId id)Protected Sub New(model As OpcNodeModel, name As OpcName, id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified with the initial value given by value.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
OpcName name,
OpcNodeId id,
T value)Protected Sub New(
model As OpcNodeModel,
name As OpcName,
id As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
value | T | The initial value of the new multi state discrete value node. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, IOpcNode, OpcName)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified as a child node of the parent node given.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name)Protected Sub New(model As OpcNodeModel, parent As IOpcNode, name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, IOpcNode, OpcName, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
T value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
value | T | The initial value of the new multi state discrete value node. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified as a child node of the parent node given.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
OpcMultiStateValueDiscreteNode(OpcNodeModel, IOpcNode, OpcName, OpcNodeId, T)
Initializes a new instance of the OpcMultiStateValueDiscreteNode<T> class accessible by the name and id specified with the initial value defined by value as a child node of the parent node given.
protected OpcMultiStateValueDiscreteNode(
OpcNodeModel model,
IOpcNode parent,
OpcName name,
OpcNodeId id,
T value)Protected Sub New(
model As OpcNodeModel,
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
model | OpcNodeModel | The OpcNodeModel which defines the modelling directives for the new node or a null reference ( |
parent | IOpcNode | The IOpcNode used as the parent node or a null reference ( |
name | OpcName | The OpcName through that the new multi state discrete value node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new multi state discrete value node can be identified and accessed. |
value | T | The initial value of the new multi state discrete value node. |
Properties
DataType
Gets or sets a value which defines a pre-defined used DataTypeId as one of the members defined by the OpcDataType enumeration to simplify querying standard data types.
public override OpcDataType DataType { get; set; }Public Overrides Property DataType As OpcDataTypeProperty value
One of the members defined by the OpcDataType enumeration.
Overrides
Value
Gets or sets the value of the multi state discrete value node.
public T Value { get; set; }Public Property Value As TProperty value
T
A T representing the value of the multi state discrete value node. This can be also a null reference (Nothing in Visual Basic).
Methods
InitializeDefaults
Initializes the default values used by the OpcMultiStateValueDiscreteNode<T>.
protected override void InitializeDefaults()Protected Overrides Sub InitializeDefaults()Overrides
Remarks
This method is used to ensure the availability of appropriate node specific default values. For more information like when this method is to be overwritten see InitializeDefaults.
ReadGenericValue
Reads the multi state discrete value node value using the context specified.
public T ReadGenericValue(OpcReadVariableValueContext context)Public Function ReadGenericValue(context As OpcReadVariableValueContext) As TParameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
Returns
T
The T multi state discrete value node value associated with this node and read using the context specified. This can also be a null reference (Nothing in Visual Basic).
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
WriteGenericValue
Writes the value to the multi state discrete value node value using the context specified.
public void WriteGenericValue(OpcWriteVariableValueContext context, T value)Public Sub WriteGenericValue(
context As OpcWriteVariableValueContext,
value As T)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opcvalue specified. |
value | T | The T to write to the multi state discrete value node value. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |

