.NET Based OPC UA Client/Server SDK
3.2.1.522
|
Inherits IFormattable, and UnifiedAutomation.UaBase.IEncodeable.
Inherited by UnifiedAutomation.UaBase.InstanceNode, and UnifiedAutomation.UaBase.TypeNode.
Public Member Functions | |
Node () | |
The default constructor. More... | |
virtual void | Encode (IEncoder encoder) |
virtual void | Decode (IDecoder decoder) |
virtual bool | IsEqual (IEncodeable encodeable) |
Checks if encodeable is the same object or has the same content More... | |
virtual object | Clone () |
void | UnsetAccessRestriction () |
Unset the AccessRestriction to use the default of the namespace. More... | |
void | AddReference (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool checkForDuplicates) |
Adds the reference. More... | |
bool | RemoveReference (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
Removes the reference. More... | |
bool | ReferenceExists (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
References the exists. More... | |
List< ReferenceNode > | FindReferences (NodeId referenceTypeId, bool isInverse) |
Finds the references. More... | |
List< ReferenceNode > | FindReferences (NodeId referenceTypeId, bool isInverse, bool includeSubtypes, ITypeTable typeTable) |
Finds the references. More... | |
List< ReferenceNode > | FindAllReferences () |
Finds all references of the node. More... | |
ReferenceNode | FindSingleReference (NodeId referenceTypeId, bool isInverse, int index) |
Finds the single reference. More... | |
ReferenceNode | FindSingleReference (NodeId referenceTypeId, bool isInverse, bool includeSubtypes, ITypeTable typeTable, int index) |
Finds the single reference. More... | |
virtual bool | HasAttribute (uint attributeId) |
Determines whether the specified attribute id has attribute. More... | |
virtual StatusCode | Read (IList< string > locales, uint attributeId, RequestEncoding messageEncoding, out Variant value) |
Reads the specified attribute. More... | |
virtual StatusCode | Write (uint attributeId, object value) |
Reads the specified attribute. More... | |
virtual NodeAttributes | GetAttributes () |
Gets the attributes. More... | |
override string | ToString () |
Returns a System.String that represents this instance. More... | |
string | ToString (string format, IFormatProvider formatProvider) |
Returns a System.String that represents this instance. More... | |
Protected Member Functions | |
LocalizedText | ChooseTranslation (IList< string > locales, IList< LocalizedText > translations, LocalizedText defaultText) |
Chooses the translation. More... | |
List< LocalizedText > | UpdateTranslation (List< LocalizedText > translations, LocalizedText newText) |
Updates the translation. More... | |
void | GetNodeAttributes (NodeAttributes attributes) |
Updates the attributes with the values for the node. More... | |
Properties | |
NodeId | NodeId [get, set] |
NodeClass | NodeClass [get, set] |
QualifiedName | BrowseName [get, set] |
LocalizedText | DisplayName [get, set] |
LocalizedText | Description [get, set] |
uint | WriteMask [get, set] |
uint | UserWriteMask [get, set] |
RolePermissionTypeCollection | UserRolePermissions [get, set] |
ReferenceNodeCollection | References [get, set] |
virtual ExpandedNodeId | TypeId [get] |
virtual ExpandedNodeId | BinaryEncodingId [get] |
virtual ExpandedNodeId | XmlEncodingId [get] |
RolePermissionTypeCollection | RolePermissions [get, set] |
bool | IsRolePermissionsSet [get] |
Indicates if the optional RolePermissions attribute has been set. More... | |
ushort | AccessRestrictions [get, set] |
bool | IsAccessRestrictionsSet [get] |
Indicates if the optional AccessRestrictions attribute has been set. More... | |
object | UserData [get, set] |
Gets or sets the user data. More... | |
List< LocalizedText > | DisplayNameTranslations [get, set] |
Gets or sets the translations for the display name. More... | |
List< LocalizedText > | DescriptionTranslations [get, set] |
Gets or sets the translations for the description. More... | |
INodeAccessInfo | Permissions [get, set] |
The permissions assigned to the node. More... | |
IRolePermissions | IRolePermissions [get, set] |
The RolePermissions for an optimized access. More... | |
List< XmlElement > | Extensions [get, set] |
Extensions that are serialized with the node. More... | |
ReferenceTable | ReferenceTable [get] |
Gets the an indexed table of references. More... | |
Properties inherited from UnifiedAutomation.UaBase.IEncodeable | |
ExpandedNodeId | TypeId [get] |
Returns the UA type identifier for the encodeable type. More... | |
ExpandedNodeId | BinaryEncodingId [get] |
Returns the UA type identifier for the default binary encoding for the type. More... | |
ExpandedNodeId | XmlEncodingId [get] |
Returns the UA type identifier for the default XML encoding for the type. More... | |
UnifiedAutomation.UaBase.Node.Node | ( | ) |
The default constructor.
void UnifiedAutomation.UaBase.Node.AddReference | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
ExpandedNodeId | targetId, | ||
bool | checkForDuplicates | ||
) |
Adds the reference.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
targetId | The target id. |
checkForDuplicates | if set to true raise an exception if the reference already exists. |
|
protected |
Chooses the translation.
locales | The locales. |
translations | The translations. |
defaultText | The default text. |
List<ReferenceNode> UnifiedAutomation.UaBase.Node.FindAllReferences | ( | ) |
Finds all references of the node.
List<ReferenceNode> UnifiedAutomation.UaBase.Node.FindReferences | ( | NodeId | referenceTypeId, |
bool | isInverse | ||
) |
Finds the references.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
List<ReferenceNode> UnifiedAutomation.UaBase.Node.FindReferences | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
bool | includeSubtypes, | ||
ITypeTable | typeTable | ||
) |
Finds the references.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
includeSubtypes | if set to true [include subtypes]. |
typeTable | The type table. |
ReferenceNode UnifiedAutomation.UaBase.Node.FindSingleReference | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
int | index | ||
) |
Finds the single reference.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
index | The index. |
ReferenceNode UnifiedAutomation.UaBase.Node.FindSingleReference | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
bool | includeSubtypes, | ||
ITypeTable | typeTable, | ||
int | index | ||
) |
Finds the single reference.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
includeSubtypes | if set to true [include subtypes]. |
typeTable | The type table. |
index | The index. |
|
virtual |
Gets the attributes.
Reimplemented in UnifiedAutomation.UaBase.VariableNode, UnifiedAutomation.UaBase.VariableTypeNode, UnifiedAutomation.UaBase.ReferenceTypeNode, UnifiedAutomation.UaBase.DataTypeNode, UnifiedAutomation.UaBase.MethodNode, UnifiedAutomation.UaBase.ObjectNode, and UnifiedAutomation.UaBase.ObjectTypeNode.
|
protected |
Updates the attributes with the values for the node.
|
virtual |
Determines whether the specified attribute id has attribute.
attributeId | The attribute id. |
true
if the specified attribute id has attribute; otherwise, false
. Reimplemented in UnifiedAutomation.UaBase.VariableNode, UnifiedAutomation.UaBase.MethodNode, UnifiedAutomation.UaBase.DataTypeNode, UnifiedAutomation.UaBase.ObjectNode, UnifiedAutomation.UaBase.ObjectTypeNode, UnifiedAutomation.UaBase.VariableTypeNode, and UnifiedAutomation.UaBase.ViewNode.
|
virtual |
Checks if encodeable is the same object or has the same content
encodeable |
Implements UnifiedAutomation.UaBase.IEncodeable.
Reimplemented in UnifiedAutomation.UaBase.DataTypeNode, UnifiedAutomation.UaBase.ViewNode, UnifiedAutomation.UaBase.MethodNode, UnifiedAutomation.UaBase.ReferenceTypeNode, UnifiedAutomation.UaBase.VariableTypeNode, UnifiedAutomation.UaBase.VariableNode, UnifiedAutomation.UaBase.ObjectTypeNode, UnifiedAutomation.UaBase.ObjectNode, UnifiedAutomation.UaBase.TypeNode, and UnifiedAutomation.UaBase.InstanceNode.
|
virtual |
Reads the specified attribute.
locales | The locales. |
attributeId | The attribute id. |
messageEncoding | The MessageEncoding |
value | The value. |
Reimplemented in UnifiedAutomation.UaBase.VariableNode, UnifiedAutomation.UaBase.MethodNode, UnifiedAutomation.UaBase.DataTypeNode, UnifiedAutomation.UaBase.VariableTypeNode, UnifiedAutomation.UaBase.ViewNode, UnifiedAutomation.UaBase.ObjectNode, UnifiedAutomation.UaBase.ObjectTypeNode, and UnifiedAutomation.UaBase.ReferenceTypeNode.
bool UnifiedAutomation.UaBase.Node.ReferenceExists | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
ExpandedNodeId | targetId | ||
) |
References the exists.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
targetId | The target id. |
bool UnifiedAutomation.UaBase.Node.RemoveReference | ( | NodeId | referenceTypeId, |
bool | isInverse, | ||
ExpandedNodeId | targetId | ||
) |
Removes the reference.
referenceTypeId | The reference type id. |
isInverse | Set to true if the reference is an inverse reference. |
targetId | The target id. |
override string UnifiedAutomation.UaBase.Node.ToString | ( | ) |
Returns a System.String that represents this instance.
string UnifiedAutomation.UaBase.Node.ToString | ( | string | format, |
IFormatProvider | formatProvider | ||
) |
Returns a System.String that represents this instance.
format | The format. |
formatProvider | The format provider. |
void UnifiedAutomation.UaBase.Node.UnsetAccessRestriction | ( | ) |
Unset the AccessRestriction to use the default of the namespace.
|
protected |
Updates the translation.
translations | The translations. |
newText | The new text. |
|
virtual |
Reads the specified attribute.
attributeId | The attribute id. |
value | The value. |
Reimplemented in UnifiedAutomation.UaBase.VariableNode, UnifiedAutomation.UaBase.VariableTypeNode, UnifiedAutomation.UaBase.DataTypeNode, UnifiedAutomation.UaBase.MethodNode, UnifiedAutomation.UaBase.ReferenceTypeNode, UnifiedAutomation.UaBase.ViewNode, UnifiedAutomation.UaBase.ObjectNode, and UnifiedAutomation.UaBase.ObjectTypeNode.
|
getset |
|
getset |
|
getset |
|
getset |
Gets or sets the translations for the description.
The translations for the description.
|
getset |
|
getset |
Gets or sets the translations for the display name.
The translations for the display name.
|
getset |
Extensions that are serialized with the node.
|
getset |
The RolePermissions for an optimized access.
|
get |
Indicates if the optional AccessRestrictions attribute has been set.
|
get |
Indicates if the optional RolePermissions attribute has been set.
|
getset |
|
getset |
|
getset |
The permissions assigned to the node.
|
getset |
|
get |
Gets the an indexed table of references.
The reference table.
This property should be used instead of References property because it is more efficient.
|
getset |
|
getset |
Gets or sets the user data.
The user data.
|
getset |
|
getset |
|
getset |