Object PmaAlarmGroup (Alarm group)

The object provides storage of the states and history of alarms. Detailed description of see Alarm and Event system.
This object inherits properties, methods and events of the PmaObject object.
Properties and methods of this object:
Acknowledge Alarm item acknowledgement
Activate Activation of an existing alarm item
ActivateNew Dynamic creation and activation of the alarm item
Area Area of an alarm group
GetHistoryData Obtains the data from history of alarms
GetStateCount The number of alarms with given state
GetStateData Obtains the data from current state of alarms
GroupId Group identifier
GroupParent Returns reference to parent group
GroupTitle Displayed group name
Inactivate Alarm item inactivation
Item Access to one alarm item
QuitSound Termination of currently active sound signal of the alarm item
RegisterNew Dynamic creating of the alarm item
Obsolete properties and methods:
WndHistory History viewer of an alarm group
WndState State viewer of an alarm group
Properties and methods inherited from PmaObject:
AddEvent Registers a function into selected event
GetInfo Returns the Info object with the specified name
GetOwnedByIndex Returns the subobject defined by its index
GetOwnedByName Returns reference to the subobject defined by its name
GetOwnedByType Array of references to the subobjects
GetOwnedNum Returns number of subobjects in the object
GetPar Reading the value of the Pma object parameter (or its parents)
GetPathName Object name with the path to this object
GetPermission Returns permission of corresponding operation from object
Methods Access to designer's methods of this object
Name Object name (without the path)
Parent Returns reference to the parent object in the tree of Pma objects
Pm Returns reference to the Pma object or to its implementation subobject
RemoveEvent Un-registers the function in the specified event
Root Returns reference to the root application object PmaRoot
Events of this object:
onStateChange Is triggered when alarm item state change
onUserItemAction Is triggered when selecting the corresponding action in the state viewer by the local/net user
Events inherited from PmaObject:
onStart Is triggered for each object in the runtime only once at the beginning
onStop Is triggered for each Pma object in the runtime mode only once at the stop of the application
Configuration tabs:
Object General information about the object
Events Definition of object events algorithms
Group Basic parameters of an alarm group
Items Definition of alarm items
Storage Alarm group storage
Permissions Object permissions
Web server The link-up of the object to the Web server
Related objects:
PmAlarmItem(Alarm item) Alarm item
ExtAlarmAnalog An extension for alarm the analog value
ExtAlarmBinary An extension for alarm the value of the Boolean type

Pm9.00.12: Fixed bug: Bugfix of dynamic PmAlarmItem and onStateChange.
Pm9.00.00: Object name changed: PmAlarmEvent -> PmaAlarmGroup
Pm8.03.17: Fixed bug: Correct listing of items sortet backwards in time Filtration string can now be entered also in Chrome browser on the Web.
Pm8.03.15: In the history viewer the placement of time navigation buttons has been optimized.
- Bugfix of opening alarm/event viewer on the Web. If $vb was used then in the alarm group identifier the expression was evaluated as empty.
- Bugfix of memory data overwrite while writing into DBF (DBF alarms) if the written value size exceded the column size in DBF.
- The history data can now be saved also in MySQL database and FireBird database (see the "Storage type" configurator).
- In the Acknowledge method, now it is possible to enter the national language of acknowledging user.
- The localisation of national languages has been improved in Web client.
Pm8.02.16: Fixed bug: on the "Items" tab, there are new buttons for import/export of items.
Pm8.02.14: Fixed bug: (history viewer):
- Fixed bug: while the filter was on and with remote alarms (if Storage type = Remote connection via the Web) the scrollbar did not work correctly.
- Optimalization of search and reading of data from history files.
Pm8.02.13: Fixed bug: If the "Delete inactive acknowledged (green) (valid only for dynamically created items)" configurator was set in the status viewer, then the alarms were not displayed in the history viewer.
Pm8.02.12: Fixed bug: The filtration text is now also transferred when switching between history viewer and status viewer.
Pm8.02.07: Fixed bug: The GetStateData method did not return data if the type was set to "Remote connection via the Web".
Pm8.01.10: If set for the Remote connection via the Web type, then the filtering text did not work if diacritics was used.
- The AckerId property was returning incorrect value.
- If the XML configuration file contained an error, then the alarm viewer was unable to open.
- new configurators: Change inactive acknowledged (green) CEASED to NEW non-initialized alarms in [s] (-1=never) and 2 = Hide only new non-initialized allow to configure the alarm viewers so the alarms in the state inactive acknowledged (green) will be displayed in the alarm viewer only for a defined period of time - for example for 10 hours, so the following shift operators see what was going on previously.
- events onStateChange and onUserItemAction now contain a new pEvent.Context parameter that allows to identify for example the network user that confirmed some alarm.
Pm8.00.06: Generalization: The "Delete inactive acknowledged (green) (valid only for dynamically created items)" configurator has new option "2 = Hide only new non-initialized".
PROMOTIC 9.0.17 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice