C# Class DsatsDemo.RigState

Inheritance: Opc.Ua.BaseObjectState
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
GetChildren ( ISystemContext context, IList children ) : void

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

IsValidPhase ( Opc.Ua.NodeId phaseId ) : bool

Returns true if the phase is valid.

RigState ( NodeState parent ) : System

Initializes the type with its default attribute values.

SetPhase ( Opc.Ua.NodeId phaseId ) : void

Sets the phase for the rig.

Méthodes protégées

Méthode 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.

Method Details

FindChild() protected méthode

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
Résultat Opc.Ua.BaseInstanceState

GetChildren() public méthode

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.
Résultat void

GetDefaultTypeDefinitionId() protected méthode

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
Résultat Opc.Ua.NodeId

Initialize() protected méthode

Initializes the instance.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
Résultat void

InitializeOptionalChildren() protected méthode

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

IsValidPhase() public méthode

Returns true if the phase is valid.
public IsValidPhase ( Opc.Ua.NodeId phaseId ) : bool
phaseId Opc.Ua.NodeId
Résultat bool

RigState() public méthode

Initializes the type with its default attribute values.
public RigState ( NodeState parent ) : System
parent NodeState
Résultat System

SetPhase() public méthode

Sets the phase for the rig.
public SetPhase ( Opc.Ua.NodeId phaseId ) : void
phaseId Opc.Ua.NodeId
Résultat void