C# 클래스 Opc.Ua.ViewState

The base class for all view nodes.
상속: NodeState
파일 보기 프로젝트 열기: OPCFoundation/UA-.NETStandardLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnReadContainsNoLoops NodeAttributeEventHandler
OnReadEventNotifier NodeAttributeEventHandler
OnWriteContainsNoLoops NodeAttributeEventHandler
OnWriteEventNotifier NodeAttributeEventHandler

공개 메소드들

메소드 설명
Construct ( NodeState parent ) : NodeState

Constructs an instance of a node.

GetAttributesToSave ( ISystemContext context ) : AttributesToSave

Returns a mask which indicates which attributes have non-default value.

MemberwiseClone ( NodeState parent ) : object

Makes a copy of the node and all children.

Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void

Saves object in an binary stream.

Save ( ISystemContext context, XmlEncoder encoder ) : void

Saves the attributes from the stream.

Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void

Updates the specified context.

Update ( ISystemContext context, XmlDecoder decoder ) : void

Updates the attributes from the stream.

ViewState ( ) : System

Initializes the instance with its defalt attribute values.

보호된 메소드들

메소드 설명
Export ( ISystemContext context, Node node ) : void

Exports a copy of the node to a node table.

Initialize ( ISystemContext context ) : void

Initializes the instance with the default values.

Initialize ( ISystemContext context, NodeState source ) : void

Initializes the instance from another instance.

ReadNonValueAttribute ( ISystemContext context, uint attributeId, object &value ) : ServiceResult

Reads the value for any non-value attribute.

WriteNonValueAttribute ( ISystemContext context, uint attributeId, object value ) : ServiceResult

Write the value for any non-value attribute.

메소드 상세

Construct() 공개 정적인 메소드

Constructs an instance of a node.
public static Construct ( NodeState parent ) : NodeState
parent NodeState The parent.
리턴 NodeState

Export() 보호된 메소드

Exports a copy of the node to a node table.
protected Export ( ISystemContext context, Node node ) : void
context ISystemContext The context.
node Node The node.
리턴 void

GetAttributesToSave() 공개 메소드

Returns a mask which indicates which attributes have non-default value.
public GetAttributesToSave ( ISystemContext context ) : AttributesToSave
context ISystemContext The context for the system being accessed.
리턴 AttributesToSave

Initialize() 보호된 메소드

Initializes the instance with the default values.
protected Initialize ( ISystemContext context ) : void
context ISystemContext
리턴 void

Initialize() 보호된 메소드

Initializes the instance from another instance.
protected Initialize ( ISystemContext context, NodeState source ) : void
context ISystemContext
source NodeState
리턴 void

MemberwiseClone() 공개 메소드

Makes a copy of the node and all children.
public MemberwiseClone ( NodeState parent ) : object
parent NodeState
리턴 object

ReadNonValueAttribute() 보호된 메소드

Reads the value for any non-value attribute.
protected ReadNonValueAttribute ( ISystemContext context, uint attributeId, object &value ) : ServiceResult
context ISystemContext
attributeId uint
value object
리턴 ServiceResult

Save() 공개 메소드

Saves object in an binary stream.
public Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void
context ISystemContext The context user.
encoder BinaryEncoder The encoder to write to.
attributesToSave AttributesToSave The masks indicating what attributes to write.
리턴 void

Save() 공개 메소드

Saves the attributes from the stream.
public Save ( ISystemContext context, XmlEncoder encoder ) : void
context ISystemContext The context for the system being accessed.
encoder XmlEncoder The encoder wrapping the stream to write.
리턴 void

Update() 공개 메소드

Updates the specified context.
public Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void
context ISystemContext The context.
decoder BinaryDecoder The decoder.
attibutesToLoad AttributesToSave The attributes to load.
리턴 void

Update() 공개 메소드

Updates the attributes from the stream.
public Update ( ISystemContext context, XmlDecoder decoder ) : void
context ISystemContext The context for the system being accessed.
decoder XmlDecoder The decoder wrapping the stream to read.
리턴 void

ViewState() 공개 메소드

Initializes the instance with its defalt attribute values.
public ViewState ( ) : System
리턴 System

WriteNonValueAttribute() 보호된 메소드

Write the value for any non-value attribute.
protected WriteNonValueAttribute ( ISystemContext context, uint attributeId, object value ) : ServiceResult
context ISystemContext
attributeId uint
value object
리턴 ServiceResult

프로퍼티 상세

OnReadContainsNoLoops 공개적으로 프로퍼티

Raised when the ContainsNoLoops attribute is read.
public NodeAttributeEventHandler OnReadContainsNoLoops
리턴 NodeAttributeEventHandler

OnReadEventNotifier 공개적으로 프로퍼티

Raised when the EventNotifier attribute is read.
public NodeAttributeEventHandler OnReadEventNotifier
리턴 NodeAttributeEventHandler

OnWriteContainsNoLoops 공개적으로 프로퍼티

Raised when the ContainsNoLoops attribute is written.
public NodeAttributeEventHandler OnWriteContainsNoLoops
리턴 NodeAttributeEventHandler

OnWriteEventNotifier 공개적으로 프로퍼티

Raised when the EventNotifier attribute is written.
public NodeAttributeEventHandler OnWriteEventNotifier
리턴 NodeAttributeEventHandler