Method | Description | |
---|---|---|
ComDaClientNodeManager ( IServerInternal server, string namespaceUri, |
Initializes the node manager.
|
|
CreateAddressSpace ( IDictionary |
Does any initialization required before the address space can be used. The externalReferences is an out parameter that allows the node manager to link to nodes in other node managers. For example, the 'Objects' node is managed by the CoreNodeManager and should have a reference to the root folder node(s) exposed by this node manager. |
|
DeleteAddressSpace ( ) : void |
Frees any resources allocated for the address space.
|
|
LocalToRemoteValue ( Variant srcValue, object &dstValue ) : int |
Converts a value to something the DA server can accept.
|
|
New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId |
Creates the NodeId for the specified node. This method is called by the NodeState.Create() method which initializes a Node from the type model. During initialization a number of child nodes are created and need to have NodeIds assigned to them. This implementation constructs NodeIds by constructing strings. Other implementations could assign unique integers or Guids and save the new Node in a dictionary for later lookup. |
|
OnServerReconnected ( object state ) : void |
Called when client manager has reconnected to the COM server.
|
|
RemoteToLocalValue ( object srcValue, Variant &dstValue ) : int |
Converts a DA value to a UA compatible type.
|
Method | Description | |
---|---|---|
AddAdditionalElementReferences ( |
Allows sub-class to add additional references to a element node after validation.
|
|
CreateMonitoredItem ( |
Creates a new set of monitored items for a set of variables. This method only handles data change subscriptions. Event subscriptions are created by the SDK. |
|
Dispose ( bool disposing ) : void |
An overrideable version of the Dispose.
|
|
GetManagerHandle ( |
Returns a unique handle for the node.
|
|
LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection |
Loads a node set from a file or resource and addes them to the set of predefined nodes.
|
|
OnCreateMonitoredItemsComplete ( |
Called when a batch of monitored items has been created.
|
|
OnDeleteMonitoredItemsComplete ( |
Called when a batch of monitored items has been deleted.
|
|
OnModifyMonitoredItemsComplete ( |
Called when a batch of monitored items has been modified.
|
|
OnSetMonitoringModeComplete ( |
Called when a batch of monitored items has their monitoring mode changed.
|
|
Read ( |
Validates the nodes and reads the values from the underlying source.
|
|
ValidateNode ( |
Verifies that the specified node exists.
|
|
Write ( |
Validates the nodes and writes the value to the underlying system.
|
Method | Description | |
---|---|---|
LocalToRemoteValue ( object srcValue, BuiltInType srcType, BuiltInType dstType ) : object |
Converts a UA value to something the DA server will accept.
|
|
RemoteToLocalValue ( object srcValue, BuiltInType srcType, BuiltInType dstType ) : object |
Converts a value to something the UA client can accept.
|
protected AddAdditionalElementReferences ( |
||
context | ||
node | NodeState | |
return | void |
public ComDaClientNodeManager ( IServerInternal server, string namespaceUri, |
||
server | IServerInternal | |
namespaceUri | string | |
configuration | ||
ownsTypeModel | bool | |
return | System |
public CreateAddressSpace ( IDictionary |
||
externalReferences | IDictionary |
|
return | void |
protected CreateMonitoredItem ( |
||
context | ||
handle | ||
subscriptionId | uint | |
publishingInterval | double | |
diagnosticsMasks | DiagnosticsMasks | |
timestampsToReturn | TimestampsToReturn | |
itemToCreate | ||
globalIdCounter | long | |
filterResult | MonitoringFilterResult | |
monitoredItem | IMonitoredItem | |
return |
protected GetManagerHandle ( |
||
context | ||
nodeId | Opc.Ua.NodeId | |
cache | NodeState>.IDictionary | |
return |
protected LoadPredefinedNodes ( ISystemContext context ) : NodeStateCollection | ||
context | ISystemContext | |
return | NodeStateCollection |
public static LocalToRemoteValue ( Variant srcValue, object &dstValue ) : int | ||
srcValue | Variant | The source value. |
dstValue | object | The converted value. |
return | int |
public New ( ISystemContext context, NodeState node ) : Opc.Ua.NodeId | ||
context | ISystemContext | The context. |
node | NodeState | The node. |
return | Opc.Ua.NodeId |
protected OnCreateMonitoredItemsComplete ( |
||
context | ||
monitoredItems | IList |
|
return | void |
protected OnDeleteMonitoredItemsComplete ( |
||
context | ||
monitoredItems | IList |
|
return | void |
protected OnModifyMonitoredItemsComplete ( |
||
context | ||
monitoredItems | IList |
|
return | void |
public OnServerReconnected ( object state ) : void | ||
state | object | |
return | void |
protected OnSetMonitoringModeComplete ( |
||
context | ||
monitoredItems | IList |
|
return | void |
protected Read ( |
||
context | The context. | |
nodesToRead | IList |
The nodes to read. |
values | IList |
The values. |
errors | IList |
The errors. |
nodesToValidate | List |
The nodes to validate. |
cache | NodeState>.IDictionary | The cache. |
return | void |
public static RemoteToLocalValue ( object srcValue, Variant &dstValue ) : int | ||
srcValue | object | The source value. |
dstValue | Variant | The converted value. |
return | int |
protected ValidateNode ( |
||
context | ||
handle | ||
cache | NodeState>.IDictionary | |
return | NodeState |
protected Write ( |
||
context | The context. | |
nodesToWrite | IList |
The nodes to write. |
errors | IList |
The errors. |
nodesToValidate | List |
The nodes to validate. |
cache | NodeState>.IDictionary | The cache. |
return | void |