Reference
OpcServerStatePropertyNode Members
Defines a property node for server state properties.
Reference
OpcServerStatePropertyNode Members
- Type
- OpcServerStatePropertyNode
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from OpcPropertyNode, OpcVariableNode, OpcInstanceNode, OpcNode.
Constructors
OpcServerStatePropertyNode
| 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. |
OpcServerStatePropertyNode(OpcName)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name specified.
public OpcServerStatePropertyNode(OpcName name)Public Sub New(name As OpcName)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new server state property node can be accessed. |
OpcServerStatePropertyNode(OpcName, OpcServerState)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name specified with the initial value given by value.
public OpcServerStatePropertyNode(OpcName name, OpcServerState value)Public Sub New(name As OpcName, value As OpcServerState)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new server state property node can be accessed. |
value | OpcServerState | The initial value of the new server state property node. |
OpcServerStatePropertyNode(OpcName, OpcNodeId)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name and id specified.
public OpcServerStatePropertyNode(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 server state property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new server state property node can be identified and accessed. |
OpcServerStatePropertyNode(OpcName, OpcNodeId, OpcServerState)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name and id specified with the initial value given by value.
public OpcServerStatePropertyNode(
OpcName name,
OpcNodeId id,
OpcServerState value)Public Sub New(name As OpcName, id As OpcNodeId, value As OpcServerState)Parameters
| Name | Type | Description |
|---|---|---|
name | OpcName | The OpcName through that the new server state property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new server state property node can be identified and accessed. |
value | OpcServerState | The initial value of the new server state property node. |
OpcServerStatePropertyNode(IOpcNode, OpcName)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name specified as a child node of the parent node given.
public OpcServerStatePropertyNode(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 server state property node can be accessed. |
OpcServerStatePropertyNode(IOpcNode, OpcName, OpcServerState)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name specified with the initial value defined by value as a child node of the parent node given.
public OpcServerStatePropertyNode(
IOpcNode parent,
OpcName name,
OpcServerState value)Public Sub New(parent As IOpcNode, name As OpcName, value As OpcServerState)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 server state property node can be accessed. |
value | OpcServerState | The initial value of the new server state property node. |
OpcServerStatePropertyNode(IOpcNode, OpcName, OpcNodeId)
Initializes a new instance of the OpcServerStatePropertyNode class accessible by the name and id specified as a child node of the parent node given.
public OpcServerStatePropertyNode(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 server state property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new server state property node can be identified and accessed. |
OpcServerStatePropertyNode(IOpcNode, OpcName, OpcNodeId, OpcServerState)
Initializes a new instance of the OpcServerStatePropertyNode 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 OpcServerStatePropertyNode(
IOpcNode parent,
OpcName name,
OpcNodeId id,
OpcServerState value)Public Sub New(
parent As IOpcNode,
name As OpcName,
id As OpcNodeId,
value As OpcServerState)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 server state property node can be accessed. |
id | OpcNodeId | The OpcNodeId through that the new server state property node can be identified and accessed. |
value | OpcServerState | The initial value of the new server state property node. |
OpcServerStatePropertyNode(PropertyState<ServerState>)
Initializes a new instance of the OpcServerStatePropertyNode class using the content as the instance to wrap.
protected OpcServerStatePropertyNode(PropertyState<ServerState> content)Protected Sub New(content As PropertyState(Of ServerState))Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState<ServerState> | The PropertyState< |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The content is a null reference ( |
OpcServerStatePropertyNode(PropertyState<ServerState>, OpcNodeModel)
Initializes a new instance of the OpcServerStatePropertyNode class using the content as the instance to wrap.
protected OpcServerStatePropertyNode(
PropertyState<ServerState> content,
OpcNodeModel model)Protected Sub New(
content As PropertyState(Of ServerState),
model As OpcNodeModel)Parameters
| Name | Type | Description |
|---|---|---|
content | PropertyState<ServerState> | The PropertyState< |
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 ( |
Properties
ReadServerStatePropertyValueCallback
Gets or sets a callback used to read the server state property value.
public OpcReadServerStatePropertyValueCallback ReadServerStatePropertyValueCallback { get; set; }Public Property ReadServerStatePropertyValueCallback As OpcReadServerStatePropertyValueCallbackProperty value
OpcReadServerStatePropertyValueCallback
A OpcReadServerStatePropertyValueCallback used to read the server state property value as the type OpcServerState. The value can also be a null reference (Nothing in Visual Basic).
Remarks
This callback is used in call chain with the ReadPropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).
Value
Gets or sets the value of the property node.
public OpcServerState Value { get; set; }Public Property Value As OpcServerStateProperty value
A value of the type OpcServerState.
WriteServerStatePropertyValueCallback
Gets or sets a callback used to write the server state property value.
public OpcWriteServerStatePropertyValueCallback WriteServerStatePropertyValueCallback { get; set; }Public Property WriteServerStatePropertyValueCallback As OpcWriteServerStatePropertyValueCallbackProperty value
OpcWriteServerStatePropertyValueCallback
A OpcWriteServerStatePropertyValueCallback used to write the server state property value as the type OpcServerState. The value can also be a null reference (Nothing in Visual Basic).
Remarks
This callback is used in call chain with the WritePropertyValueCallback and will be called with the outcome of that callback routine (in case there is one defined).
Methods
ReadPropertyValueCore
Reads the value of the property node using the context and value information specified.
protected override sealed OpcPropertyValue<object> ReadPropertyValueCore(
OpcReadPropertyValueContext context,
OpcPropertyValue<object> value)Protected NotOverridable Overrides Function ReadPropertyValueCore(
context As OpcReadPropertyValueContext,
value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<Object> | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> read using the ReadPropertyValueCallback or the value if there is no custom callback routine defined.
Overrides
ReadServerStatePropertyValueCore
Reads the server state value of the property node using the context and value information specified.
protected virtual OpcPropertyValue<OpcServerState> ReadServerStatePropertyValueCore(
OpcReadPropertyValueContext<OpcServerStatePropertyNode> context,
OpcPropertyValue<OpcServerState> value)Protected Overridable Function ReadServerStatePropertyValueCore(
context As OpcReadPropertyValueContext(Of OpcServerStatePropertyNode),
value As OpcPropertyValue(Of OpcServerState)) As OpcPropertyValue(Of OpcServerState)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<OpcServerState> | The OpcPropertyValue< |
Returns
OpcPropertyValue<OpcServerState>
The OpcPropertyValue<T> read using the ReadServerStatePropertyValueCallback or the value if there is no custom callback routine defined.
ReadServerStateValue
Reads the server state value of the property node.
public OpcServerState ReadServerStateValue(OpcReadVariableValueContext context)Public Function ReadServerStateValue(
context As OpcReadVariableValueContext) As OpcServerStateParameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
Returns
The OpcServerState value of the server state property node read.
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |
WritePropertyValueCore
Writes the value of the property node using the context and value information specified.
protected override sealed OpcPropertyValue<object> WritePropertyValueCore(
OpcWritePropertyValueContext context,
OpcPropertyValue<object> value)Protected NotOverridable Overrides Function WritePropertyValueCore(
context As OpcWritePropertyValueContext,
value As OpcPropertyValue(Of Object)) As OpcPropertyValue(Of Object)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<Object> | The OpcPropertyValue< |
Returns
The OpcPropertyValue<T> written using the WritePropertyValueCallback or the value if there is no custom callback routine defined.
Overrides
WriteServerStatePropertyValueCore
Writes the server state value of the property node using the context and value information specified.
protected virtual OpcPropertyValue<OpcServerState> WriteServerStatePropertyValueCore(
OpcWritePropertyValueContext<OpcServerStatePropertyNode> context,
OpcPropertyValue<OpcServerState> value)Protected Overridable Function WriteServerStatePropertyValueCore(
context As OpcWritePropertyValueContext(Of OpcServerStatePropertyNode),
value As OpcPropertyValue(Of OpcServerState)) As OpcPropertyValue(Of OpcServerState)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcPropertyValue<OpcServerState> | The OpcPropertyValue< |
Returns
OpcPropertyValue<OpcServerState>
The OpcPropertyValue<T> written using the WriteServerStatePropertyValueCallback or the value if there is no custom callback routine defined.
WriteServerStateValue
Writes the value of the property node specified by value.
public void WriteServerStateValue(
OpcWriteVariableValueContext context,
OpcServerState value)Public Sub WriteServerStateValue(
context As OpcWriteVariableValueContext,
value As OpcServerState)Parameters
| Name | Type | Description |
|---|---|---|
context | Opc | The Opc |
value | OpcServerState | The OpcServerState value of the server state property node to write. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The context is a null reference ( |

