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

The AeCategory class implements an event category in the OPC AE Server. A category contains events or conditions of the same kind. They are also characterized by the fact that they can supply the same attributes to the OPC Client.
Показать файл Открыть проект

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

Свойство Тип Описание
m_attributes Hashtable
m_conditions Hashtable
m_eventType EnumEventType
m_id uint
m_name string

Private Properties

Свойство Тип Описание
AeCategory System

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

Метод Описание
AddAttribute ( uint anId, string aName, Type aDataType ) : int

Creates and adds a new attribute to the category hashtable.

AddConditionDefinition ( string aConditionName ) : int

adds a new condition definition object with the name provided as aConditionDefinition

AddSubConditionDefinition ( string aConditionName, string aSubconditionName ) : int

Adds a subcondition to a condition in the AeCategory.

AeCategory ( EnumEventType anEventType, uint anId, string aName ) : System

Category constructor

GetConditionDefinition ( string aConditionName ) : Softing.OPCToolbox.Server.AeConditionDefinition

retrieves the AeConditionDefinition associated to the aConditionName

GetSubConditionDefinition ( string aConditionName, string aSubconditionName ) : Softing.OPCToolbox.Server.AeSubConditionDefinition

returns the sub condition definition object for a specified condition and subcondition identifier

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

Метод Описание
AddAttribute ( AeAttribute anAttribute ) : int

Adds an existing attribute object to the category internal hashtable

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

Метод Описание
AeCategory ( EnumEventType anEventType, uint anId, string aName, uint aHandle ) : System

Internal constructor. may be only called from witin the TBN asembly

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

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

Adds an existing attribute object to the category internal hashtable
protected AddAttribute ( AeAttribute anAttribute ) : int
anAttribute AeAttribute an already created instance of the attribute
Результат int

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

Creates and adds a new attribute to the category hashtable.
public AddAttribute ( uint anId, string aName, Type aDataType ) : int
anId uint new attribute ID
aName string new attribute
aDataType Type
Результат int

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

adds a new condition definition object with the name provided as aConditionDefinition
public AddConditionDefinition ( string aConditionName ) : int
aConditionName string the condition name
Результат int

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

Adds a subcondition to a condition in the AeCategory.
public AddSubConditionDefinition ( string aConditionName, string aSubconditionName ) : int
aConditionName string The existing condition.
aSubconditionName string New subcondition name.
Результат int

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

Category constructor
public AeCategory ( EnumEventType anEventType, uint anId, string aName ) : System
anEventType EnumEventType the type of event
anId uint unique integer identifier of a category
aName string the category name
Результат System

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

retrieves the AeConditionDefinition associated to the aConditionName
public GetConditionDefinition ( string aConditionName ) : Softing.OPCToolbox.Server.AeConditionDefinition
aConditionName string /// the name of the condition definition to be found ///
Результат Softing.OPCToolbox.Server.AeConditionDefinition

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

returns the sub condition definition object for a specified condition and subcondition identifier
public GetSubConditionDefinition ( string aConditionName, string aSubconditionName ) : Softing.OPCToolbox.Server.AeSubConditionDefinition
aConditionName string /// The condition identifier where the needed subcondition lays ///
aSubconditionName string /// the id of the subcondition needed ///
Результат Softing.OPCToolbox.Server.AeSubConditionDefinition

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

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

List of attributes types
protected Hashtable m_attributes
Результат Hashtable

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

list of conditions associated to this category
protected Hashtable m_conditions
Результат Hashtable

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

The type of the events that will be generated by this AeCategory
protected EnumEventType m_eventType
Результат EnumEventType

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

Unique identifier for the instantiated Category. The Category Id must be specified when object created.
protected uint m_id
Результат uint

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

The condition's name
protected string m_name
Результат string