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.
파일 보기 프로젝트 열기: SoftingIndustrial/OPC-Classic-SDK

보호된 프로퍼티들

프로퍼티 타입 설명
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