C# 클래스 Softing.OPCToolbox.Server.AddressSpaceRoot

Represents the address space entry point
상속: IAddressSpaceElement
파일 보기 프로젝트 열기: SoftingIndustrial/OPC-Classic-SDK

보호된 프로퍼티들

프로퍼티 타입 설명
m_elements Hashtable
m_namespaceType EnumAddressSpaceType
m_root AddressSpaceElement

공개 메소드들

메소드 설명
AddChild ( AddressSpaceElement aChild ) : bool

Adds a namespace element as child to the root element

GetChildren ( ) : ArrayList

Returns the collection of root children

GetParent ( ) : AddressSpaceElement

returns the parent of the root - this is not usefull, but kept for compatibility with the element interface

QueryAddressSpaceElementChildren ( string anElementID, ArrayList aChildrenList ) : int

Returns the collection of children of the address space element to the element ID provided. This interface needs to be implemented in the string based object space case

QueryAddressSpaceElementData ( string anElementID, AddressSpaceElement &anElement ) : int

Returns the corresponding address space element to the element ID provided. This interface needs to be implemented in the string based object space case.

QueryAddressSpaceElementDataEx ( string anElementID, EnumAddressSpaceElementData &elementDataFilter, AddressSpaceElement &anElement ) : int

Returns the corresponding address space element to the element ID provided.
This interface needs to be implemented in the string based object space case.
This is the extended version of QueryAddressSpaceElementData method.

RemoveChild ( AddressSpaceElement aChild ) : bool

Removes Child and its children if there are some

보호된 메소드들

메소드 설명
AddressSpaceRoot ( AddressSpaceElement aRoot ) : System

Used to build an address space toor both object and string based

AddressSpaceRoot ( EnumAddressSpaceType anAddressSpaceType, AddressSpaceElement aRoot ) : System

AddressSpaceRoot constructor: Used to build a specialised root type

비공개 메소드들

메소드 설명
AddElementToArray ( AddressSpaceElement anElement ) : uint

adds an element to the internal address space hashtable

GetElementFromArray ( uint anElementUserData ) : AddressSpaceElement

retreives an address space element from the internal address space hashtable

GetParent ( uint aHandle ) : AddressSpaceElement

retrieves the parent from a handle

RemoveElementFromArray ( AddressSpaceElement anElement ) : int

removes an element from the internal hashtable

RemoveElementFromArray ( uint anElementUserData ) : int

removes an element from the internal hashtable

메소드 상세

AddChild() 공개 메소드

Adds a namespace element as child to the root element
public AddChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement Child to be added
리턴 bool

AddressSpaceRoot() 보호된 메소드

Used to build an address space toor both object and string based
protected AddressSpaceRoot ( AddressSpaceElement aRoot ) : System
aRoot AddressSpaceElement An address space element to impersonate the root. This element is not visible in the namespace
리턴 System

AddressSpaceRoot() 보호된 메소드

AddressSpaceRoot constructor: Used to build a specialised root type
protected AddressSpaceRoot ( EnumAddressSpaceType anAddressSpaceType, AddressSpaceElement aRoot ) : System
anAddressSpaceType EnumAddressSpaceType /// The type of address space ///
aRoot AddressSpaceElement /// An address space element to impersonate the root. This element is not visible in the namespace ///
리턴 System

GetChildren() 공개 메소드

Returns the collection of root children
public GetChildren ( ) : ArrayList
리턴 ArrayList

GetParent() 공개 메소드

returns the parent of the root - this is not usefull, but kept for compatibility with the element interface
public GetParent ( ) : AddressSpaceElement
리턴 AddressSpaceElement

QueryAddressSpaceElementChildren() 공개 추상적인 메소드

Returns the collection of children of the address space element to the element ID provided. This interface needs to be implemented in the string based object space case
public abstract QueryAddressSpaceElementChildren ( string anElementID, ArrayList aChildrenList ) : int
anElementID string Address space path of the element.
aChildrenList ArrayList out parameter - collection of children of the element ID.
리턴 int

QueryAddressSpaceElementData() 공개 추상적인 메소드

Returns the corresponding address space element to the element ID provided. This interface needs to be implemented in the string based object space case.
public abstract QueryAddressSpaceElementData ( string anElementID, AddressSpaceElement &anElement ) : int
anElementID string Address space path of the element
anElement AddressSpaceElement Out parameter reference to the element matched in case of success. Null reference if not supported or invalid path provided.
리턴 int

QueryAddressSpaceElementDataEx() 공개 추상적인 메소드

Returns the corresponding address space element to the element ID provided.
This interface needs to be implemented in the string based object space case.
This is the extended version of QueryAddressSpaceElementData method.
public abstract QueryAddressSpaceElementDataEx ( string anElementID, EnumAddressSpaceElementData &elementDataFilter, AddressSpaceElement &anElement ) : int
anElementID string Address space path of the element
elementDataFilter EnumAddressSpaceElementData Type of the element data to be filled in
anElement AddressSpaceElement Out parameter reference to the element matched in case of success. Null reference if not supported or invalid path provided.
리턴 int

RemoveChild() 공개 메소드

Removes Child and its children if there are some
public RemoveChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement AddressSpaceElement to be removed
리턴 bool

프로퍼티 상세

m_elements 보호되어 있는 프로퍼티

Storage place for all for the address space elements assigned to this root the key for this table is the UserData field of the Address space element
protected Hashtable m_elements
리턴 Hashtable

m_namespaceType 보호되어 있는 프로퍼티

the type of the address space
protected EnumAddressSpaceType m_namespaceType
리턴 EnumAddressSpaceType

m_root 보호되어 있는 프로퍼티

An address space element representing the root element
protected AddressSpaceElement,Softing.OPCToolbox.Server m_root
리턴 AddressSpaceElement