The element-frame serves to display the violations history and to update their dynamically for the current time in a full-format tabular form, to highlight them in color and text and the possibility of multilevel filtering. The violations are obtained from the buffer of current-active violations of OpenSCADA and archive(s), specified in the configuration field <alArch>. In fact, the element implements the primitive "Protocol" functions for violations and extension opportunities.

The frame in general contains elements:
- the messages table — the main area;
- a button of the mass quietance — the top left;
- a combobox of selection of the data model level sort rule, it provides sorting by the selected column from the list defined in <colms> and by default this is time, as the second criterion (last on the top) — the next one top left;
- a navigation panel at the messages history-archive — the top centre and right, consisting of:
  - the top-end time of the data;
  - size — depth of the data requesting;
  - the buttons of fast listing — per one and five intervals-depths forward and backward and at the current time;
  - a button to quickly move to the next part of a large query interval, divided by the limit on the number of messages in the table — for very dense-active messages generation;
  - a button to call-form of the report document for the actual table's data.
- elements of the five-level filter with displaying the next level at activation the last one, by selecting a column from the list of specified ones in <colms> — the top after the previous one.

According to the announced list of the control elements, message sorting can be modified by the user, both by the built-in column sorting mechanism of a single visualizer and at the data model level, if such function the visualizer is not provided. Considering the basic purpose of the frame is the status of the violations (ie history), the default sorting rule is the "last" to the messages top.

The frame is created, and is usually used, in pair with the widget of dynamically display the active violations, which is completed with main features of this frame but only for active violations and in the small widget.

The main user extension is the ability to define visible table fields from a list of options:
- atm — time of the violation appearing;
- qttm — time of the violation confirmation;
- nrmtm — time of coming-returning the violation to the state "NORMA";
- lev — level of the violation;
- cat — category of the violation;
- mess — full and unparsed text of the violation message;
- prm — address of the DAQ-parameter of the data source;
- dscr — description of the violation from the source DAQ-parameter;
- dscrCust{N} — description of the user field N;
- alrm — text of the violation;
- cmnt — commentary of the violation.

This frame and its fields generally represent the structure of the violation message, which is described in detail in the Program manual.

As you can see from the list of possible table fields, this item supports confirmation, commenting, and user fields.

Author: Roman Savochenko <roman@oscada.org>
Sponsored by: Ustijancev Michael
Version: 1.2.2
License: GPLv2