fwAlarmHandling  8.4.1
fwAlarmScreenGeneric.ctl File Reference

Functions

void fwAlarmScreenGeneric_initAlarmCounter ()
 
void _fwAlarmScreenGeneric_alarmCount ()
 
void _fwAlarmScreenGeneric_acknowledgeAll (bool bVisibleRangeOnly=false)
 
dyn_string fwAlarmScreenGeneric_getConnectedSystems ()
 
void fwAlarmScreenGeneric_initSystemInfo ()
 
void _fwAlarmScreenGeneric_systemStateCB (string sDpe, bool bState)
 
void _fwAlarmScreenGeneric_filteredSystemsCB (string sDpe, dyn_string dsSystems)
 
void _fwAlarmScreenGeneric_updateSystemState ()
 
void fwAlarmScreenGeneric_config_openConfigPanel ()
 
string _fwAlarmScreenGeneric_config_getDpName ()
 
void _fwAlarmScreenGeneric_config_init (const string sDp)
 
void _fwAlarmScreenGeneric_config_set (const string sParameter, const anytype aValue)
 
anytype _fwAlarmScreenGeneric_config_get (const string sParameter)
 
bool _fwAlarmScreenGeneric_config_authorizedUser ()
 
bool _fwAlarmScreenGeneric_config_isAdmin ()
 
void fwAlarmScreenGeneric_config_triggerEvent (const int iEvent)
 
void _fwAlarmScreenGeneric_config_connectEvent (const string sWork)
 
void _fwAlarmScreenGeneric_config_disconnectEvent (const string sWork, string sUser)
 
void fwAlarmScreenGeneric_config_save (const bool bSaveToDisk=false)
 
void fwAlarmScreenGeneric_config_load ()
 
void fwAlarmScreenGeneric_config_reduce (const string sWidget)
 
void fwAlarmScreenGeneric_config_expand (const string sWidget)
 
void fwAlarmScreenGeneric_combocheckbox_setItems (const string sReference, dyn_string dsElementList)
 
dyn_string fwAlarmScreenGeneric_combocheckbox_getItems (const string sReference)
 
dyn_string fwAlarmScreenGeneric_combocheckbox_setSelectedItems (const string sReference, const dyn_string dsSelectedItemList, bool bAllAreSelected=false)
 
dyn_string fwAlarmScreenGeneric_combocheckbox_getSelectedItems (const string sReference, bool &bAllAreSelected)
 
void fwAlarmScreenGeneric_combocheckbox_showWidget (const string sReference, const bool bShow)
 
void fwAlarmScreenGeneric_combocheckbox_moveWidget (const string sReference, const int iDeltaX, const int iDeltaY)
 
void fwAlarmScreenGeneric_combocheckbox_enableWidget (const string sReference, const bool bEnabled)
 
void _fwAlarmScreenGeneric_combocheckbox_show ()
 
void _fwAlarmScreenGeneric_combocheckbox_saveSelection (const dyn_string dsSelectedElementList, const bool bForceSingle, const string sReferenceParam="")
 
void _fwAlarmScreenGeneric_combocheckbox_hideTable (const int iClickedRow=-1)
 
void _fwAlarmScreenGeneric_combocheckbox_filterTable (const string sFilter)
 
void _fwAlarmScreenGeneric_combocheckbox_selectAll (const bool bSelect)
 
void _fwAlarmScreenGeneric_combocheckbox_checkAll ()
 
void _fwAlarmScreenGeneric_combocheckbox_chooseAllVisible ()
 
void _fwAlarmScreenGeneric_rearrangeScreen ()
 
void _fwAlarmScreenGeneric_disableActions ()
 
void fwAlarmScreenGeneric_expandOrReduceFrame (string sFrame)
 
void fwAlarmScreenGeneric_resizeTable ()
 
void fwAlarmScreenGeneric_expand ()
 
void fwAlarmScreenGeneric_closePanel ()
 
void _fwAlarmScreenGeneric_moveWidgetTo (string sShape1, string sShape2)
 
bool _fwAlarmScreenGeneric_isReduced (string sFrame)
 
string fwAlarmScreenGeneric_getAlarmClass ()
 
void fwAlarmScreenGeneric_wait (bool bWait)
 
bool fwAlarmScreenGeneric_isHeaderReduced ()
 
bool fwAlarmScreenGeneric_isInfoReduced ()
 
bool fwAlarmScreenGeneric_isTableFilterReduced ()
 
bool fwAlarmScreenGeneric_isAlarmFilterReduced ()
 
bool fwAlarmScreenGeneric_screenReady ()
 
void fwAlarmScreenGeneric_copyLineToClipboard (const dyn_int diRows, const string sTableName)
 
void fwAlarmScreenGeneric_showHeader (const bool bShow)
 
void fwAlarmScreenGeneric_showInfo (const bool bShow)
 
void fwAlarmScreenGeneric_showTableFilter (const bool bShow)
 
void fwAlarmScreenGeneric_showAlertFilter (const bool bShow)
 

Variables

const string FW_ALARM_GENERIC_COMBOCHECKBOX_TABLE = "fwAlarmScreenGeneric_combochecktable"
 

Detailed Description

New version of the alarm panel. The goal is to have a single panel (instead of one for JCOP, one for UNICOS, one for anything else).


— Customization: —

The panel is made of the AES table and 4 customisable widgets:

  • A header.
  • A filter on the alarm (AES internally managed).
  • A filter on the table (just locally hide lines).
  • One to add any other information you would like to.

However, you can use each widget to put anything you want, the list is just based on what is commonly needed in an alarm panel.

Each of those widget is independent from the main panel, so that you can change them at your will. However, certain rules must be followed when creating a custom alert panel.

  • You need to identify your panel (e.g. "fwAlarmScreen") and pass this identifier by the $parameter $sAlarmType.
  • You need to define a set of functions with a specific name "xxAlarm_function" where "xxAlarm" refers to the identifier mentioned above (e.g. "fwAlarmScreen"). The constants FW_ALARM_GENERIC_FUNCTION_XXX give a list of available functions. Some of them are mandatory, without them the alarm panel will not work. The mandatory functions are those concerning those 4 widgets. However, they are mandatory only if the concerned widgets exist.

— Event management: —

Any alarm panel can send different events (see FWALARMSCREEN_GENERIC_CONFIG_EVENT_***). To handle those events, a function xxAlarm_eventHandler(string, int) must be defined. Event handling is implemented through the WinCC OA callback feature. Each time an event is triggered, this function will be called with the event as second parameter. Like this, it is possible to add a custom behaviour when the configuration changes, when the screen is expanded, etc.

If you wish to use custom events, start after 100.


-— Configuration: -—

A button is already in place to open a configuration panel where we define things for the current alarm screen like:

  • Custom right-click menu entries
  • Column visibility and width
  • Access control set-up
  • ...

By default, only the basic settings can be changed (i.e. the UI ones). It is possible to extend this by providing a function xxAlarm_getConfigPanels(). This function has to return a dyn_string, each element following this format: PanelFile;PanelTitle;

P1:
XX;

P2:YYY–... where

  • PanelFile is the path to the configuration panel (e.g. "vision/myAlarm/myConfigPanel.pnl"). The size of the panel must be 600x500 to fit the main config panel.
  • PanelTitle is the text to display for this configuration panel (e.g. "MyAlarm configuration")
  • $Pxxx are all the dollar parameters to pass to the config panel (and their value)
  • The ; is defined through FWALARMSCREEN_GENERIC_CONFIGURATION_PANEL_SEPARATOR, use this instead of plain text. For each line in the returned dyn_string a new configuration panel will be added. When everything is closed, the event FWALARMSCREEN_GENERIC_CONFIG_EVENT_CONFIG_CHANGED is triggered.

Note that the user must be authorized to write datapoints in order to save any configuration.


-— Custom right click configuration: -—

The user can save a set of custom right click menu entries to be added dynamically to a panel. To each new right click entry you must provide a function to call. This function has to take the following parameters (in the following order):

  • string sAlarmDpe : The DPE in alarm.
  • atime atAlertTime : The ID of the alarm.
  • anytype aCellValue : The content of the cell that was clicked.
  • string sClickedColumnName : The name of the clicked column.
  • int iClickedRow : The clicked row.

    — Access control: —

If access control is set up (i.e. fwAccessControl is installed), a function xxAlarm_userChanged(string sUser) can be defined. If defined, this function will be called every time a new user logs in. Remember that this function will be called from the reference panel so all variables defined in the scopelib of your alarm panel will not be visible.


-— Busy callback: -—

If defined, the function xxAlarm_busyStateChanged(int iState) will be called every time the busy state of the alarm changes.


-— Distributed control: -—

The "systemInfo" widget provides help with distributed system monitoring. You don't need to worry about how to manage your system connections any-more. If defined, the function xxxAlarm_systemConnected(string sSystemName) will be called when a system comes online. The parameter is the name of this new system. The function xxxAlarm_systemDisconnected(string sSystemName) will be called when a system goes offline. The parameter is the name of this system.

Creation Date
07/01/2013
Modification History
24/05/2017 Adrian Crestar Santome
  • There are certain columns that have to be "enabled" via the "AE-Row/Screen" config panel in order to be shown in the AlarmScreen. For example, by default, the "alarmPanel" column is not enabled, so even if the user wants to show it, it will get hidden again automatically. In order to make it visible permanently, these columns will be added to the PropertiesDP ".Both.Visible.VisibleColumns" element when the user decides to save the column configuration.
    • The DPE FWALARMSCREEN_GENERIC_CONFIGURATION_COLUMNS_VISIBILITY is connected to a function from 'fwAlarmScreen.ctl'. Every time there is a change in that DPE, the function will be called to update the ".Both.Visible.VisibleColumns" element in the AES Properties DP.

19/05/2017 Adrian Crestar Santome

  • {FWAH-355}: Button in the 'Options' panel to save the column configuration.

    • The columns visibility and the width are stored in the DP via this button. Any change done in the column configuration without "saving" it, will be available only during runtime.
    • In 'fwAlarmScreenGenericConfigSubPanel.pnl": - The checkboxes for "column visibility" and "save width" were removed. - Their functionality is now provided via the "Save" button.
    • In this file:
      • New DPE: ".runtime.columnsVisibility" to store the visibility without making it "permanent". (.global.columnsVisibility).
      • The function "fwAlarmScreenGeneric_config_save" has a new parameter, bSaveToDisk, which defaults to false. When calling this function with it set to true, it will store the column configuration in the "global" config of the DP.
      • The function "fwAlarmScreenGeneric_saveColumnsWidth" will set the flag "SAVE_COLUMNS_WIDTH" to false. This flag is set to true only when saving the column configuration via the 'Save' button.
      • The function 'fwAlarmScreenGeneric_setColumnVisibility" now has an input parameter to decide whether to load the "runtime" visibilitly or the "persistent" one. - The "fwAlarmScreenGeneric_openConfigPanel" function will:
        • Update the runtime visibility to the current one.
        • And, when closing the config panel:
          • Save the columns width (instead of doing it when closing the alarm screen).
          • Set the column visibility from the runtime configuration.

    05/04/2017: Adrian Crestar Santome

    • {FWAH-359} Put text counter in black if 0 alarms are in the lists.
    • Two new constants, FW_ALARM_GENERIC_EMPTY_ALARM_COUNTER_COLOR and FW_ALARM_GENERIC_NOT_EMPTY_ALARM_COUNTER_COLOR, to define the text counter colors when the alarm list is empty or not.
    • In _fwAlarmScreenGeneric_alarmCount: set the foreground color of the text counters.
Author
Cyril Caillaba (EN-ICE-SCD)

Function Documentation

void fwAlarmScreenGeneric_initAlarmCounter ( )
Description:
Initialize the widget that counts how many alarms are in the table and how many of them are not acknowledged.
Usage:
Public.
void _fwAlarmScreenGeneric_alarmCount ( )
Description:
Infinite loop that counts the alarms in the table to display them in the appropriate widget.
Usage:
Internal.
void _fwAlarmScreenGeneric_acknowledgeAll ( bool  bVisibleRangeOnly = false)
Description:
Acknowledge all the alarms in the table.
Usage:
Internal.
Parameters
[in]bVisibleRangeOnlybool, True to acknowledge only the alarm in the visible range of the table.
dyn_string fwAlarmScreenGeneric_getConnectedSystems ( )
Description:
Get the list of systems connected to the local system. Local system is included.
Usage:
Public.
Returns
The list of connected systems.
void fwAlarmScreenGeneric_initSystemInfo ( )
Description:
Initialize the widget that displays the state of the connected systems.
Usage:
Public.
void _fwAlarmScreenGeneric_systemStateCB ( string  sDpe,
bool  bState 
)
Description:
Callback triggered when a system changes its connection state.
Usage:
Internal:
Parameters
sDpestring input, The system DPE that triggered the CB.
bStatebool input, The state of this system: true for connected, false for disconnected.
void _fwAlarmScreenGeneric_filteredSystemsCB ( string  sDpe,
dyn_string  dsSystems 
)
Description:
Callback triggered when the AES system filter changes.
Usage:
Internal:
Parameters
sDpestring input, The system DPE that triggered the CB.
dsSystemsdyn_string input, The list of systems currently included in the filter.
void _fwAlarmScreenGeneric_updateSystemState ( )
Description:
Update the display of the state of the filtered systems.
Usage:
Internal.
void fwAlarmScreenGeneric_config_openConfigPanel ( )
Description:
Open the configuration panel.
Usage:
Internal.
string _fwAlarmScreenGeneric_config_getDpName ( )
Description:
Get the configuration datapoint for the current user and the current panel.
Usage:
Internal.
void _fwAlarmScreenGeneric_config_init ( const string  sDp)
Description:
Initialize the configuration for the current user and the current panel.
Usage:
Internal.
void _fwAlarmScreenGeneric_config_set ( const string  sParameter,
const anytype  aValue 
)
Description:
Set a configuration element to the given value.
Usage:
Internal.
Parameters
sParameterstring input, The parameter to set (see constants FWALARMSCREEN_GENERIC_CONFIGURATION_xxx).
aValueanytype input, The value to assign to this parameter.
anytype _fwAlarmScreenGeneric_config_get ( const string  sParameter)
Description:
Get the value of the given parameter.
Usage:
Internal.
Parameters
sParameterstring input, The parameter to set (see constants FWALARMSCREEN_GENERIC_CONFIGURATION_xxx).
Returns
The current value of this parameter.
bool _fwAlarmScreenGeneric_config_authorizedUser ( )
Description:
Check if the current user is allowed to write datapoints.
Usage:
Internal.
Returns
True if he can, false otherwise.
bool _fwAlarmScreenGeneric_config_isAdmin ( )
Description:
Check if the current user has admin rights. If the function xxAlarm_isAdmin() is defined the result will come from it. Otherwise, by default it corresponds to user level 4.
Usage:
Internal.
Returns
True if the current user has admin rights, false otherwise.
void fwAlarmScreenGeneric_config_triggerEvent ( const int  iEvent)
Description:
Trigger an event.
Usage:
Public.
Parameters
iEventint input, The event to trigger (see constants FWALARMSCREEN_GENERIC_CONFIG_EVENT_xxx).
void _fwAlarmScreenGeneric_config_connectEvent ( const string  sWork)
Description:
Connect the given callback to function to be triggered on any event.
Usage:
Internal.
Parameters
sWorkstring input, The callback function.
void _fwAlarmScreenGeneric_config_disconnectEvent ( const string  sWork,
string  sUser 
)
Description:
Disconnect the given callback to function to be triggered on any event for the given user.
Usage:
Internal.
Parameters
sWorkstring input, The callback function.
sUserstring input, The user to disconnect for.
void fwAlarmScreenGeneric_config_save ( const bool  bSaveToDisk = false)
Description:
Save the configuration. Can be called ONLY from the config panel.
Usage:
Internal.
void fwAlarmScreenGeneric_config_load ( )
Description:
Load the configuration. To be used at startup (or when user changes).
Usage:
Public.
void fwAlarmScreenGeneric_config_reduce ( const string  sWidget)
Description:
Save the config when given widget is reduced.
Usage:
Public.
Parameters
sWidgetstring input, The reduced widget.
void fwAlarmScreenGeneric_config_expand ( const string  sWidget)
Description:
Save the config when given widget is expanded.
Usage:
Public.
Parameters
sWidgetstring input, The expanded widget.
void fwAlarmScreenGeneric_combocheckbox_setItems ( const string  sReference,
dyn_string  dsElementList 
)
Description:
Set the item list for the given widget.
Usage:
Public.
Parameters
sReferencestring input, The name given to the reference when the widget was added.
dsElementsdyn_string input, The list of items to show. Duplicate items are removed.
dyn_string fwAlarmScreenGeneric_combocheckbox_getItems ( const string  sReference)
Description:
Get the item list of the given widget.
Usage:
Public.
Parameters
sReferencestring input, The name given to the reference when the widget was added.
Returns
The list of elements that can be selected.
dyn_string fwAlarmScreenGeneric_combocheckbox_setSelectedItems ( const string  sReference,
const dyn_string  dsSelectedItemList,
bool  bAllAreSelected = false 
)
Description:
Set the selected items list of the given widget.
Usage:
Public.
Parameters
sReferencestring input, The name given to the reference when the widget was added.
dsSelectedItemListdyn_string input, The list of items to select. No check if all items exist in the list.
bAllAreSelectedbool output, Indicates whether or not all the items are selected.
dyn_string fwAlarmScreenGeneric_combocheckbox_getSelectedItems ( const string  sReference,
bool &  bAllAreSelected 
)
Description:
Get the selected items list of the given widget.
Usage:
Public.
Parameters
sReferencestring input, The name given to the reference when the widget was added.
bAllAreSelectedbool output, Indicates whether or not all the items are selected.
Returns
The list of elements that can have been selected.
void fwAlarmScreenGeneric_combocheckbox_showWidget ( const string  sReference,
const bool  bShow 
)
Description:
Show/hide the entire widget. Use this instead of setValue(REF, "visible", true/false).
Usage:
Public.
Parameters
sReferencestring input, The reference of the widget to hide.
bShowbool input, True to show, false to hide.
void fwAlarmScreenGeneric_combocheckbox_moveWidget ( const string  sReference,
const int  iDeltaX,
const int  iDeltaY 
)
Description:
Move the entire widget. Use this instead of setValue(REF, "visible", true/false). The parameters are NOT the new position but the delta compared to the initial position
Usage:
Public.
Parameters
sReferencestring input, The reference of the widget to move.
iDeltaX,iDeltaYint input, move the widgets by X and Y pixels (can be <0)
void fwAlarmScreenGeneric_combocheckbox_enableWidget ( const string  sReference,
const bool  bEnabled 
)
Description:
Enable/disable the entire widget. Use this instead of setValue(REF, "enabled", true/false).
Usage:
Public.
Parameters
sReferencestring input, The reference of the widget to hide.
bEnabledbool input, True to enable, false to disable.
void _fwAlarmScreenGeneric_combocheckbox_show ( )
Description:
Show the table with all the elements. If some elements had been selected previously, they are selected again on loading.
Usage:
Internal.
Parameters
sElementListNameParamstring input, The widget with list of elements to show in the table. Operation cancelled if does not exist.
sSelectedElementListNameParamstring input, The widget with list of elements already selected. Operation cancelled if does not exist.
void _fwAlarmScreenGeneric_combocheckbox_saveSelection ( const dyn_string  dsSelectedElementList,
const bool  bForceSingle,
const string  sReferenceParam = "" 
)
Description:
Save the selected element(s) and display the appropriate label depending if none, one, several or all are selected.
Usage:
Internal.
Parameters
dsSelectedElementListdyn_string input, The list of elements that have been selected.
bForceSinglebool input, If one specific row was clicked force the value to this one only, even if there is only one item in the list (otherwise it would go as "All").
void _fwAlarmScreenGeneric_combocheckbox_hideTable ( const int  iClickedRow = -1)
Description:
Action on hiding the table: Save the element that was clicked or save all the checked elements. NB This routine will be called either when clicking on one single element or on mouse-over out of the table.
Parameters
iClickedRowint input, The row of the element clicked. By default -1 if table hidden by mouse-over out.
void _fwAlarmScreenGeneric_combocheckbox_filterTable ( const string  sFilter)
Description:
Filter the content of the table to hide lines that do not match the pattern.
Usage:
Internal.
Parameters
sFilterstring input, The pattern to check. Ignored if empty.
void _fwAlarmScreenGeneric_combocheckbox_selectAll ( const bool  bSelect)
Description:
Select all the elements in the table.
Usage:
Internal.
Parameters
bSelectbool input, True to select, false to unselect.
void _fwAlarmScreenGeneric_combocheckbox_checkAll ( )
Description:
Check if all the visible elements are selected. If they are, check the "All" box.
Usage:
Internal.
void _fwAlarmScreenGeneric_combocheckbox_chooseAllVisible ( )
Description:
Set all visible items as current selection.
Usage:
Internal.
void _fwAlarmScreenGeneric_rearrangeScreen ( )
Description:
Rearrange the panel layout to move all widget to their expected position.

Usage: Public.

void _fwAlarmScreenGeneric_disableActions ( )
Description:
Disable all the widgets to prevent an unauthorized user to change anything.
Usage:
Internal.
void fwAlarmScreenGeneric_expandOrReduceFrame ( string  sFrame)
Description:
Expand or reduce any section of the panel.
Usage:
Public.
Parameters
sFramestring input, The frame of the section to reduce/expand.
void fwAlarmScreenGeneric_resizeTable ( )
Description:
Resize the table (heigth) to fit just in between the lowest frame and the bottom of the screen.
Usage:
Public.
void fwAlarmScreenGeneric_expand ( )
Description:
Expand/reduce the whole panel to fit the size of the screen. Note: cannot expand to the entire screen size because the panel will appear bigger than the screen in that case (because of OS task bar and PVSS top part of a panel).
Usage:
Public.
void fwAlarmScreenGeneric_closePanel ( )
Description:
Close the panel. Call a custom close function if it exists for the current alarm panel, otherwise just close the window.
Usage:
Public.
void _fwAlarmScreenGeneric_moveWidgetTo ( string  sShape1,
string  sShape2 
)
Description:
Move one widget to the position of another widget.
Usage:
Private
Parameters
sShape1string input, widget to move.
sShape2string input, widget to move to.
bool _fwAlarmScreenGeneric_isReduced ( string  sFrame)
Description:
Check if the given frame is reduced.
Usage:
Internal.
Parameters
sFrame,stringinput, The frame to check.
Returns
True if the frame is reduced, false otherwise.
string fwAlarmScreenGeneric_getAlarmClass ( )
Description:
Get what kind of alarm panel is currently in use.
Usage:
Public.
Returns
The alarm panel type.
void fwAlarmScreenGeneric_wait ( bool  bWait)
Description:
Show a progress bar that will move untill it is implicitely stopped. The bar is showed at the same position everytime: the position of the rectangleBusyBar rectangle.
Usage:
Public.
Parameters
bWaitbool input, True to start the loading of the bar, false to stop it (remove the bar).
bool fwAlarmScreenGeneric_isHeaderReduced ( )
Description
Check if the header frame is reduced.
Usage:
Public.
Returns
True if it is reduced, false otherwise.
bool fwAlarmScreenGeneric_isInfoReduced ( )
Description
Check if the header frame is reduced.
Usage:
Public.
Returns
True if it is reduced, false otherwise.
bool fwAlarmScreenGeneric_isTableFilterReduced ( )
Description
Check if the table filter frame is reduced.
Usage:
Public.
Returns
True if it is reduced, false otherwise.
bool fwAlarmScreenGeneric_isAlarmFilterReduced ( )
Description
Check if the alarm filter frame is reduced.
Usage:
Public.
Returns
True if it is reduced, false otherwise.
bool fwAlarmScreenGeneric_screenReady ( )
Description:
Check if the alarm screen is ready.
Usage:
Public.
Returns
Boolean, True if the UI has finished initializing, false otherwise.
void fwAlarmScreenGeneric_copyLineToClipboard ( const dyn_int  diRows,
const string  sTableName 
)
Description:
Copy the content of the given line of the given table to the clipboard. Only copies visible cells.
Usage:
Public.
Parameters
[in]iRowint, The row to copy.
[in]sTableNamestring, The table from which to copy.
void fwAlarmScreenGeneric_showHeader ( const bool  bShow)
Description:
Show or hide the header part of the panel.
Usage:
Public.
Parameters
[in]bShowbool, True to show, false to hide.
void fwAlarmScreenGeneric_showInfo ( const bool  bShow)
Description:
Show or hide the info part of the panel.
Usage:
Public.
Parameters
[in]bShowbool, True to show, false to hide.
void fwAlarmScreenGeneric_showTableFilter ( const bool  bShow)
Description:
Show or hide the table filter part of the panel.
Usage:
Public.
Parameters
[in]bShowbool, True to show, false to hide.
void fwAlarmScreenGeneric_showAlertFilter ( const bool  bShow)
Description:
Show or hide the alert filter part of the panel.
Usage:
Public.
Parameters
[in]bShowbool, True to show, false to hide.

Variable Documentation

const string FW_ALARM_GENERIC_COMBOCHECKBOX_TABLE = "fwAlarmScreenGeneric_combochecktable"

Functions to show and use several check-boxes instead of a combo-box wherever it is possible. This panel is intended for alarm/event list use, but could actually be adapted to be used anywhere.

Since the table containing all the check-boxes has to be on top of any other widget, it is added dynamically. Because of that there is a problem when several of this widget are on the same panel. One widget can write inside another. That is why the variable g_sReferenceName is used before access to UI elements. It is defined both in the main panel and in the reference one (containing only a table).