The AlarmSubscription type exposes the following members.

Constructors

  NameDescription
Public methodAlarmSubscription
Initializes a new instance of the AlarmSubscription class.

Methods

  NameDescription
Public methodStatic memberCreateDefaultHASubscription
Creates a default AlarmSubscription instance for an entire Hyper Alarm Server on the local node.
Public methodStatic memberCreateDefaultSubscription
Creates a default AlarmSubscription instance for an entire Server on the local node.
Public methodCreateEventFilter
Returns the WhereClause of a NoncontextEventFilter, that can be used on the server side.
Public methodStatic memberCreateEventSubscription
Creates a default AlarmSubscription instance for an entire GenEvent Server on the local node.
Public methodCreateNoncontextEventFilter(String)
Creates a filter that has no dependencies on the event point. This method is usually used by Historical Subscriptions where points share the same WHERE clause and there are no custom attributes
Public methodCreateNoncontextEventFilter(EventPoint, String)
Creates a filter of properties exposed by the event point
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetAliases
Returns the aliases uses by the virtual fields
Public methodGetAutoKeys
Given a FieldGroupMap return automatically the custom keys associated with each group
Public methodGetAutoMapping
Gets an automatic mapping of the fields. The fields with the same name and the same type are aggregated together
Public methodStatic memberGetCategoriesAsync
Given an alarm tag retrieves the categories exposed by the alarm server associated with the tag
Public methodGetExpressionKeys
Return a list of the expression keys used in the subscription, one for each field group.
Public methodGetFieldsMapping
Maps the index of the field in the subscription with its position in the mapped list
Public methodGetGroupKeys
Return a list of the keys used in the subscription, one for each field group.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetKey
Returns the Key of the AlarmSubscription.
Public methodGetMappingFromGroupKey
Given a Group Key returns the index of the group in the FieldGroupMap
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetAutoMapping
Automatically sets the FieldGroupMap coming from GetAutoMapping()()()() method
Public methodSetFields
Replaces the Fields collection with a new set of EventField. It will send just ONE overall event
Public methodSetMapping(FieldGroupMap)
Sets the mapping for the columns
Public methodSetMapping(FieldGroupMap, FieldGroupKeys)
Sets the mapping for the columns
Public methodToString
Returns a String that represents the current Object.
(Overrides Object..::..ToString()()()().)

Properties

  NameDescription
Public propertyFields
A collection of the selected EventField
Public propertyHistoryTimeRange Obsolete.
FOR INTERNAL USE NOT FOR CUSTOMERS

Gets or sets a date/time interval to limit the history of requested event points

Public propertyIsHistorical
Specifies if the subscription is historical or real time
Public propertyIsReadOnly
Specifies if the subscription is read only or not
Public propertyMap
Defines the columns Map
Public propertyName
The name of this subscription
Public propertyNewEventsPosition
Defines where the new incoming events should be put in the grid
Public propertyPoints
Collection of subscribed EventPoint
Public propertyTimeRange
Gets or sets a date/time interval to limit the history of requested event points
Public propertyTimeZone
Defines the Time Zone tag for this subscription>

Events

  NameDescription
Public eventSubscriptionChanged
Event fired when AlarmSubscription is modified.

See Also