C# 클래스 Opc.Ua.InstanceStateSnapshot

A lightweight snapshot of an instance node.
상속: IFilterTarget
파일 보기 프로젝트 열기: OPCFoundation/Misc-Tools 1 사용 예제들

공개 메소드들

메소드 설명
GetAttributeValue ( FilterContext context, Opc.Ua.NodeId typeDefinitionId, IList relativePath, uint attributeId, NumericRange indexRange ) : object

Returns the value of the attribute for the specified child.

Initialize ( ISystemContext context, BaseInstanceState state ) : void

Initializes the snapshot from an instance.

IsTypeOf ( FilterContext context, Opc.Ua.NodeId typeDefinitionId ) : bool

Returns true if the snapshort is an instance of the specified type.

SetChildValue ( Opc.Ua.QualifiedName browseName, NodeClass nodeClass, object value ) : void

Sets the value for a child. Adds it if it does not already exist.

비공개 메소드들

메소드 설명
CreateChildNode ( ISystemContext context, BaseInstanceState state ) : ChildNode

Creates a snapshot of a node.

CreateChildNodes ( ISystemContext context, BaseInstanceState state ) : List

Recusively stores the the current value for Object and Variable child nodes.

GetAttributeValue ( ChildNode node, IList relativePath, int index, uint attributeId ) : object

Returns the value of the attribute for the specified child.

SetChildValue ( ChildNode node, Opc.Ua.QualifiedName browseName, NodeClass nodeClass, object value ) : void

Sets the value for a child. Adds it if it does not already exist.

메소드 상세

GetAttributeValue() 공개 메소드

Returns the value of the attribute for the specified child.
public GetAttributeValue ( FilterContext context, Opc.Ua.NodeId typeDefinitionId, IList relativePath, uint attributeId, NumericRange indexRange ) : object
context FilterContext The context to use when evaluating the operand.
typeDefinitionId Opc.Ua.NodeId The type of the instance.
relativePath IList The path from the instance to the node which defines the attribute.
attributeId uint The attribute to return.
indexRange NumericRange The sub-set of an array value to return.
리턴 object

Initialize() 공개 메소드

Initializes the snapshot from an instance.
public Initialize ( ISystemContext context, BaseInstanceState state ) : void
context ISystemContext The context.
state BaseInstanceState The state.
리턴 void

IsTypeOf() 공개 메소드

Returns true if the snapshort is an instance of the specified type.
public IsTypeOf ( FilterContext context, Opc.Ua.NodeId typeDefinitionId ) : bool
context FilterContext The context to use when checking the type definition.
typeDefinitionId Opc.Ua.NodeId The type of the instance.
리턴 bool

SetChildValue() 공개 메소드

Sets the value for a child. Adds it if it does not already exist.
public SetChildValue ( Opc.Ua.QualifiedName browseName, NodeClass nodeClass, object value ) : void
browseName Opc.Ua.QualifiedName The BrowseName.
nodeClass NodeClass The node class.
value object The value.
리턴 void