.NET Based OPC UA Client/Server SDK
3.0.1.448
|
Maintains a local cache of nodes and their attribute values. More...
Inherits UnifiedAutomation.UaBase.ITypeTable.
Public Member Functions | |
CacheManager (Session session) | |
Initializes a new instance of the CacheManager class. More... | |
string | GetDisplayText (ExpandedNodeId nodeId) |
Gets the display text. More... | |
string | GetDisplayText (NodeId nodeId) |
Gets the display text. More... | |
NodeId | GetDisplayText (NodeId rootId, string browsePath) |
Gets the node id which is the target of the browse path. More... | |
NodeId | GetNodeId (NodeId rootId, params QualifiedName[] browsePath) |
Gets the node id which is the target of the browse path (follows hierarchical references). More... | |
string | GetEnumerationText (NodeId nodeId, DataValue value) |
Gets the display text for the enumerated value. More... | |
string | GetEnumerationText (NodeId nodeId, Variant value) |
Gets the display text for the enumerated value. More... | |
string | GetEnumerationText (NodeId nodeId, int enumValue, string defaultText) |
Gets the display text for the enumerated value. More... | |
List< NodeId > | GetAvailableDataEncodings (NodeId nodeId) |
Gets the available data encodings. More... | |
T | GetAttribute< T > (NodeId nodeId, uint attributeId, T defaultValue) |
Gets the attribute. More... | |
void | Clear () |
Clears the cache. More... | |
void | Clear (NodeId nodeId) |
Clears the cached information for the specified node. More... | |
bool | IsKnown (ExpandedNodeId typeId) |
Determines whether a node id is a known type id. More... | |
bool | IsKnown (NodeId typeId) |
Determines whether a node id is a known type id. More... | |
NodeId | FindSuperType (ExpandedNodeId typeId) |
Returns the immediate supertype for the type. More... | |
NodeId | FindSuperType (NodeId typeId) |
Returns the immediate supertype for the type. More... | |
bool | IsTypeOf (ExpandedNodeId subTypeId, ExpandedNodeId superTypeId) |
Determines whether a type is a subtype of another type. More... | |
bool | IsTypeOf (NodeId subTypeId, NodeId superTypeId) |
Determines whether a type is a subtype of another type. More... | |
QualifiedName | FindReferenceTypeName (NodeId referenceTypeId) |
Returns the node identifier for the reference type with the specified browse name. More... | |
NodeId | FindReferenceType (QualifiedName referenceTypeName) |
Returns the qualified name for the reference type id. More... | |
NodeId | FindDataTypeId (ExpandedNodeId encodingId) |
Returns the data type for the specified encoding. More... | |
NodeId | FindDataTypeId (NodeId encodingId) |
Returns the data type for the specified encoding. More... | |
Properties | |
RequestSettings | DefaultRequestSettings [get, set] |
Gets or sets the default request settings. More... | |
Maintains a local cache of nodes and their attribute values.
|
inline |
Initializes a new instance of the CacheManager class.
session | The session. |
|
inline |
Clears the cache.
|
inline |
Clears the cached information for the specified node.
nodeId | The node id. |
|
inline |
Returns the data type for the specified encoding.
encodingId | The encoding id. |
Implements UnifiedAutomation.UaBase.ITypeTable.
Returns the data type for the specified encoding.
encodingId | The encoding id. |
Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Returns the qualified name for the reference type id.
referenceTypeName | Name of the reference type. |
Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Returns the node identifier for the reference type with the specified browse name.
referenceTypeId | The reference type id. |
Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Returns the immediate supertype for the type.
typeId | The extended type identifier. |
Implements UnifiedAutomation.UaBase.ITypeTable.
Returns the immediate supertype for the type.
typeId | The type identifier. |
Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Gets the attribute.
T |
nodeId | The node id. |
attributeId | The attribute id. |
defaultValue | The default value. |
|
inline |
Gets the available data encodings.
nodeId | The variable or data type node id. |
|
inline |
Gets the display text.
nodeId | The node id. |
|
inline |
Gets the display text.
nodeId | The node id. |
|
inline |
Gets the node id which is the target of the browse path.
rootId | The root id. |
browsePath | The browse path. |
|
inline |
Gets the display text for the enumerated value.
nodeId | The variable or data type node id. |
value | The value. |
|
inline |
Gets the display text for the enumerated value.
nodeId | The variable or data type node id. |
value | The value. |
|
inline |
Gets the display text for the enumerated value.
nodeId | The variable or data type node id. |
enumValue | The enum value. |
defaultText | The default text. |
|
inline |
Gets the node id which is the target of the browse path (follows hierarchical references).
rootId | The root id. |
browsePath | The browse path. |
|
inline |
Determines whether a node id is a known type id.
typeId | The type extended identifier. |
true
if the specified type id is known; otherwise, false
. Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Determines whether a node id is a known type id.
typeId | The type identifier. |
true
if the specified type id is known; otherwise, false
. Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Determines whether a type is a subtype of another type.
subTypeId | The subtype identifier. |
superTypeId | The supertype identifier. |
true
if superTypeId is supertype of subTypeId ; otherwise, false
. Implements UnifiedAutomation.UaBase.ITypeTable.
|
inline |
Determines whether a type is a subtype of another type.
subTypeId | The subtype identifier. |
superTypeId | The supertype identyfier. |
true
if superTypeId is supertype of subTypeId ; otherwise, false
. Implements UnifiedAutomation.UaBase.ITypeTable.
|
getset |
Gets or sets the default request settings.
The default request settings.