C# Class TestData.UserScalarValueObjectState

Exibir arquivo Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
GetChildren ( ISystemContext context, IList children ) : void

Populates a list with the children that belong to the node.

UserScalarValueObjectState ( NodeState parent ) : System

Initializes the type with its default attribute values.

Protected Methods

Method Description
FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState

Finds the child with the specified browse name.

GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId

Returns the id of the default type definition node for the instance.

Initialize ( ISystemContext context ) : void

Initializes the instance.

InitializeOptionalChildren ( ISystemContext context ) : void

Initializes the any option children defined for the instance.

OnAfterCreate ( ISystemContext context, NodeState node ) : void

Initializes the object as a collection of counters which change value on read.

OnGenerateValues ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, uint count ) : ServiceResult

Handles the generate values method.

Method Details

FindChild() protected method

Finds the child with the specified browse name.
protected FindChild ( ISystemContext context, Opc.Ua.QualifiedName browseName, bool createOrReplace, BaseInstanceState replacement ) : BaseInstanceState
context ISystemContext
browseName Opc.Ua.QualifiedName
createOrReplace bool
replacement Opc.Ua.BaseInstanceState
return Opc.Ua.BaseInstanceState

GetChildren() public method

Populates a list with the children that belong to the node.
public GetChildren ( ISystemContext context, IList children ) : void
context ISystemContext The context for the system being accessed.
children IList The list of children to populate.
return void

GetDefaultTypeDefinitionId() protected method

Returns the id of the default type definition node for the instance.
protected GetDefaultTypeDefinitionId ( Opc.Ua.NamespaceTable namespaceUris ) : Opc.Ua.NodeId
namespaceUris Opc.Ua.NamespaceTable
return Opc.Ua.NodeId

Initialize() protected method

Initializes the instance.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
return void

InitializeOptionalChildren() protected method

Initializes the any option children defined for the instance.
protected InitializeOptionalChildren ( ISystemContext context ) : void
context ISystemContext
return void

OnAfterCreate() protected method

Initializes the object as a collection of counters which change value on read.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
return void

OnGenerateValues() protected method

Handles the generate values method.
protected OnGenerateValues ( ISystemContext context, MethodState method, Opc.Ua.NodeId objectId, uint count ) : ServiceResult
context ISystemContext
method Opc.Ua.MethodState
objectId Opc.Ua.NodeId
count uint
return Opc.Ua.ServiceResult

UserScalarValueObjectState() public method

Initializes the type with its default attribute values.
public UserScalarValueObjectState ( NodeState parent ) : System
parent NodeState
return System