C# 클래스 Opc.Ua.BaseInstanceState

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

공개 메소드들

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

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

GetDefaultTypeDefinitionId ( ISystemContext context ) : Opc.Ua.NodeId

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

GetDisplayPath ( ) : string

Gets a display path for the node.

GetDisplayPath ( int maxLength, char seperator ) : string

Gets a display path for the node.

GetDisplayText ( ) : string

Gets a display text for the node.

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

Makes a copy of the node and all children.

ReportEvent ( ISystemContext context, IFilterTarget e ) : void

Sets the flag which indicates whether event are being monitored for the instance and its 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.

SetMinimumSamplingInterval ( ISystemContext context, double minimumSamplingInterval ) : void

Sets the minimum sampling interval for the node an all of its child variables..

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

Updates the specified context.

Update ( ISystemContext context, SimpleAttributeOperandCollection fields, EventFieldList e ) : void

Initializes the instance from an event notification.

This method creates components based on the browse paths in the event field and sets the NodeId or Value based on values in the event notification.

Update ( ISystemContext context, XmlDecoder decoder ) : void

Updates the attributes from the stream.

보호된 메소드들

메소드 설명
BaseInstanceState ( NodeClass nodeClass, NodeState parent ) : 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.

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

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

Initialize ( ISystemContext context, NodeState source ) : void

Initializes the instance from another instance.

PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void

Populates the browser with references that meet the criteria.

비공개 메소드들

메소드 설명
GetNonNullText ( NodeState node ) : string

Returns non-null text for the node.

메소드 상세

BaseInstanceState() 보호된 메소드

Initializes the instance with its defalt attribute values.
protected BaseInstanceState ( NodeClass nodeClass, NodeState parent ) : System
nodeClass NodeClass
parent NodeState
리턴 System

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 to update with the values from the instance.
리턴 void

GetAttributeValue() 공개 메소드

public GetAttributeValue ( FilterContext context, Opc.Ua.NodeId typeDefinitionId, IList relativePath, uint attributeId, NumericRange indexRange ) : object
context FilterContext
typeDefinitionId Opc.Ua.NodeId
relativePath IList
attributeId uint
indexRange NumericRange
리턴 object

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

GetDefaultTypeDefinitionId() 공개 메소드

Returns the id of the default type definition node for the instance.
public GetDefaultTypeDefinitionId ( ISystemContext context ) : Opc.Ua.NodeId
context ISystemContext
리턴 Opc.Ua.NodeId

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 The namespace uris.
리턴 Opc.Ua.NodeId

GetDisplayPath() 공개 메소드

Gets a display path for the node.
public GetDisplayPath ( ) : string
리턴 string

GetDisplayPath() 공개 메소드

Gets a display path for the node.
public GetDisplayPath ( int maxLength, char seperator ) : string
maxLength int
seperator char
리턴 string

GetDisplayText() 공개 메소드

Gets a display text for the node.
public GetDisplayText ( ) : string
리턴 string

Initialize() 보호된 메소드

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

IsTypeOf() 공개 메소드

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

MemberwiseClone() 공개 메소드

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

PopulateBrowser() 보호된 메소드

Populates the browser with references that meet the criteria.
protected PopulateBrowser ( ISystemContext context, NodeBrowser browser ) : void
context ISystemContext The context for the system being accessed.
browser NodeBrowser The browser to populate.
리턴 void

ReportEvent() 공개 메소드

Sets the flag which indicates whether event are being monitored for the instance and its children.
public ReportEvent ( ISystemContext context, IFilterTarget e ) : void
context ISystemContext The system context.
e IFilterTarget The event to report.
리턴 void

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

SetMinimumSamplingInterval() 공개 메소드

Sets the minimum sampling interval for the node an all of its child variables..
public SetMinimumSamplingInterval ( ISystemContext context, double minimumSamplingInterval ) : void
context ISystemContext The context.
minimumSamplingInterval double The minimum sampling interval.
리턴 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() 공개 메소드

Initializes the instance from an event notification.
This method creates components based on the browse paths in the event field and sets the NodeId or Value based on values in the event notification.
public Update ( ISystemContext context, SimpleAttributeOperandCollection fields, EventFieldList e ) : void
context ISystemContext The context.
fields SimpleAttributeOperandCollection The fields selected for the event notification.
e EventFieldList The event notification.
리턴 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