C# Класс Softing.OPCToolbox.Server.AddressSpaceElement

An Address Space Element represent the base component of the OPC DA and AE namespaces. Specific AE and DA object types are derived from this abstract class
Наследование: IAddressSpaceElement
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_hasChildren bool
m_isBrowsable bool
m_name string
m_objectHandle uint
m_parentHandle uint

Private Properties

Свойство Тип Описание
TriggerAddedToAddressSpace bool
TriggerRemovedFromAddressSpace bool

Открытые методы

Метод Описание
AddChild ( AddressSpaceElement aChild ) : bool

Implements the AddChild Interface. Must be overriden in the children classes

GetChildren ( ) : ArrayList

GetChildren interface. Derived classes must implement this method.

GetParent ( ) : AddressSpaceElement

GetParent intrface. Derived classes must implement this method.

RemoveChild ( AddressSpaceElement aChild ) : bool

Implements the RemoveChild Interface. Must be overriden in the children classes

Защищенные методы

Метод Описание
AddressSpaceElement ( ) : System

Default constructor

AddressSpaceElement ( string aName, uint anUserData, uint anObjectHandle, uint aParentHandle ) : System

Proteced constructor used for string based address element creation. This constructor is only allowed to be called from within the server's Creator instance.

Приватные методы

Метод Описание
TriggerAddedToAddressSpace ( ) : bool

triggers the event

TriggerRemovedFromAddressSpace ( ) : bool

triggers the event

Описание методов

AddChild() публичный Метод

Implements the AddChild Interface. Must be overriden in the children classes
public AddChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement an address space element to be added as child
Результат bool

AddressSpaceElement() защищенный Метод

Default constructor
protected AddressSpaceElement ( ) : System
Результат System

AddressSpaceElement() защищенный Метод

Proteced constructor used for string based address element creation. This constructor is only allowed to be called from within the server's Creator instance.
protected AddressSpaceElement ( string aName, uint anUserData, uint anObjectHandle, uint aParentHandle ) : System
aName string the name of the element
anUserData uint application's ID of the element. If 0, this is automatically generated
anObjectHandle uint Toolkit internal identifier of the element
aParentHandle uint Toolkit internal identifier of the element's parent
Результат System

GetChildren() публичный абстрактный Метод

GetChildren interface. Derived classes must implement this method.
public abstract GetChildren ( ) : ArrayList
Результат ArrayList

GetParent() публичный абстрактный Метод

GetParent intrface. Derived classes must implement this method.
public abstract GetParent ( ) : AddressSpaceElement
Результат AddressSpaceElement

RemoveChild() публичный Метод

Implements the RemoveChild Interface. Must be overriden in the children classes
public RemoveChild ( AddressSpaceElement aChild ) : bool
aChild AddressSpaceElement an address space element to be added as child
Результат bool

Описание свойств

m_hasChildren защищенное свойство

protected bool m_hasChildren
Результат bool

m_isBrowsable защищенное свойство

protected bool m_isBrowsable
Результат bool

m_name защищенное свойство

protected string m_name
Результат string

m_objectHandle защищенное свойство

OTB handler
protected uint m_objectHandle
Результат uint

m_parentHandle защищенное свойство

OTB parent handler
protected uint m_parentHandle
Результат uint