C# Класс DsatsDemo.ToolState

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetChildren ( ISystemContext context, IList children ) : void

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

GetLockForPhase ( Opc.Ua.NodeId phaseId ) : Opc.Ua.NodeId

Gets the lock for the phase.

SetPhaseLock ( Opc.Ua.NodeId phaseId, Opc.Ua.NodeId lockId ) : void

Sets the lock for the phase.

ToolState ( NodeState parent ) : System

Initializes the type with its default attribute values.

Защищенные методы

Метод Описание
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.

Описание методов

FindChild() защищенный Метод

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
Результат Opc.Ua.BaseInstanceState

GetChildren() публичный Метод

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.
Результат void

GetDefaultTypeDefinitionId() защищенный Метод

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
Результат Opc.Ua.NodeId

GetLockForPhase() публичный Метод

Gets the lock for the phase.
public GetLockForPhase ( Opc.Ua.NodeId phaseId ) : Opc.Ua.NodeId
phaseId Opc.Ua.NodeId
Результат Opc.Ua.NodeId

Initialize() защищенный Метод

Initializes the instance.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
Результат void

InitializeOptionalChildren() защищенный Метод

Initializes the any option children defined for the instance.
protected InitializeOptionalChildren ( ISystemContext context ) : void
context ISystemContext
Результат void

SetPhaseLock() публичный Метод

Sets the lock for the phase.
public SetPhaseLock ( Opc.Ua.NodeId phaseId, Opc.Ua.NodeId lockId ) : void
phaseId Opc.Ua.NodeId
lockId Opc.Ua.NodeId
Результат void

ToolState() публичный Метод

Initializes the type with its default attribute values.
public ToolState ( NodeState parent ) : System
parent NodeState
Результат System