AlarmList

<< 点击显示目录 >>

主页  mappView帮助助手 > mapp View帮助信息 > Widgets  > Data  > AlarmList  >

AlarmList

Widget "AlarmList" provides the necessary interface for listing and interacting with system alarms. These system alarms are made available by mapp component MpAlarmX.

To use this widget, library MpServer must be present on the target system. "MpServer" is used for internal communication. For more information, see here.

There is an optimized version of this widget. It allows this widget to run on devices with less performance (T50, for example). For information about how this optimization can be set, see the concept page. Optimization.

logo_use_case

For this widget, there are various use cases that explain how the widget can be used.

logo_online_tutorial

Our B&R Tutorial Portal includes a tutorial on widget AlarmList (GER/ENG). (access data)

The following properties cannot be used in compound widget "Mapping":

zIndex, left, top, height, width

Appearance

alarmlist_editor

alarmlist_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

imagePrefix

DirectoryPath

Relative path to images displayed on the widget for the category. For more information, see here.

 

 

 

imageSuffix

ImageType

Defines the file extension of the images located in the path of property imagePrefix.

 

 

.png

imageActive

ImagePath

Relative path to an image that is displayed on the widget for state "Active and unacknowledged".

 

 

 

imageActiveAcknowledged

ImagePath

Relative path to an image that is displayed on the widget for state "Active and acknowledged".

 

 

 

imageInactive

ImagePath

Relative path to an image that is displayed on the widget for state "Inactive and unacknowledged".

 

 

 

nextText

String

Text display in the button for switching to the next page. Only applies if "paging" = true.

 

 

Next

previousText

String

Text display in the button for switching to the previous page. Only applies if "paging" = true.

 

 

Previous

paging

Boolean

Divides alarms across multiple pages. The appearance of the buttons used for this can be modified within a theme using a ToggleButton style called "default".

 

 

true

showPagingButtons

Boolean

Defines whether the integrated page change system is used. If true, the predefined navigation is displayed; if false then the external buttons are used via the event/action system. The events related to the page change are only triggered if property showPagingButtons=false.

 

 

true

itemsPerPage

Integer

Defines the number of alarms displayed on each page. Only applies if "paging" = true.

 

 

3

searchBox

Boolean

Text field for searching for alarms in the list.

 

 

true

mpLink

MpComIdentType

Connection to the mapp component. The important thing here is that the binding mode is "Read/Write".

For more information, see .Concept

check

check

 

enable

Boolean

Defines the usability of the widget. A disabled widget (enable=false) does not react to user interaction and does not trigger events. The "enable" behavior is inherited from the container widgets to the child widgets.

check

 

true

left

Integer

Absolute position measured from the left border of the surrounded element (e.g. container widget or content).

 

 

 

top

Integer

Absolute position measured from the top border of the surrounded element (e.g. container widget or content).

 

 

 

permissionOperate

RoleCollection

Defines the roles that are permitted to use the widget. For roles without sufficient rights, the widget does not react to user interaction and does not trigger events.

 

 

 

permissionView

RoleCollection

Defines the roles that are permitted to see the widget. For roles without sufficient rights, the widget is hidden.

 

 

 

style

StyleReference

Reference to a customizable widget style.

check

 

default

visible

Boolean

Defines the visibility of the widget. The widget can be hidden with visible=false. (visible = true, hidden = false). The "visible" behavior is inherited from the container widget to the child widgets.

check

 

true

width

Size

Defines the total width of the widget in pixels.

A value in % refers to the width of the surrounding element.

 

 

600

height

Size

Defines the total height of the widget in pixels.

A value in % refers to the height of the surrounding element.

 

 

300

zIndex

UInteger

zIndex determines the z-order of the widget. With overlapping widgets, the zIndex determines which widget is on the top and which one is on the bottom. The widget with the larger zIndex is on top, and the one with the smaller zIndex is on the bottom. The zIndex must be unique within a piece of content or a container widget. The zIndex is automatically assigned by the visual editor and can therefore be changed via the toolbar.

 

check

 

format

DateFormat

Defines the format used to display the date and/or time. It is possible to specify a format string (e.g. "HH:mm:ss") or predefined pattern (e.g. "F").

check

 

F

filterConfiguration

String

Defines the filter settings.

Can only be modified using the configuration dialog box. A variable that receives the correct settings from the configuration dialog box must be bound. For more information, see here.

check

 

 

sortConfiguration

String

Defines the sorting settings.

Can only be modified using the configuration dialog box. A variable that receives the correct settings from the configuration dialog box must be bound. For more information, see here.

check

 

 

styleConfiguration

String

Defines the style settings.

Can only be modified using the configuration dialog box. A variable that receives the correct settings from the configuration dialog box must be bound. For more information, see here.

check

 

 

headerHeight

UInteger

Defines the total height of the header.

 

 

40

tooltip

String

Defines the text that should appear as information when the tooltip indicator is pressed.

A static text or a text from the text system can be used. For more information, see here.

Mode "Tooltip" must be enabled for this. There are two different options for this:

Using action "ShowTooltip"

Using action "Client system" ShowTooltips.

 

 

 

rowHeight

Size

Defines the row height.

This property can overwrite property "rowHeight" of widget "Table" if the value is not equal to 0. This is only possible, however, if widget "TableItem" has been defined as a line.

For more information, see concept page rowHeight.

 

 

0

busyIndicatorDelay

Integer

Defines the time (ms) until indicator "Busy" is displayed.

It is displayed immediately at 0.

At 1000, the indicator is only displayed after 1000 ms if it should still be displayed.

If the number is negative, indicator "Busy" is not displayed.

 

 

0

tabIndex

Integer

Property tabIndex is used to manage the tab order during keyboard operation.

For additional information, see Keyboard operation.

If widget AlarmList has the focus, the TAB and Shift+TAB keys can be used to navigate between the search field, header, list and page buttons. Allows alarms to be selected with the cursor keys or scrolling through the list with PageUp and PageDown. ENTER triggers event Click when tabIndex ≥0 and selects the focused alarm.

 

 

-1

Styleable properties

Name

Type

Description

Default value

headerBackColor

Color

Defines the background color of the header.

#FFFFFF

headerTextColor

Color

Defines the color used to display the text in the header.

#000000

headerFontSize

PixelVal

Defines the size of the font used to display the text in the header.

16px

backColorEvenRow

Color

Defines the background color of an even-numbered row.

#FFFFFF

backColorOddRow

Color

Defines the background color of an odd-numbered row.

#F9F9F9

backColorSelectedRow

Color

Defines the background color of a selected row.

#FF8800

textColorSelectedRow

Color

Defines the color used to display the text in a selected row.

#FFFFFF

backColor

Color

Defines the background color of the widget.

Transparent

borderStyle

BorderStyle

Defines the style of the border around the widget. Borders can be unbroken, dashed or dotted.

none

borderWidth

PixelValCollection

Defines the width of the border around the widget.

1px

borderColor

ColorCollection

Defines the color of the border around the widget.

#DDDDDD

textColor

Color

Defines the color used to display the text.

#000000

fontName

FontName

Defines the font used for the text shown.

Arial

fontSize

PixelVal

Defines the size of the font used to display the text.

14px

shadow

Shadow

Defines the shadow of the widget.

none

cornerRadius

PixelValCollection

Defines the corner style of the widget.

0px

backGroundGradient

Gradient

Defines the background color of the widget as a color gradient.

 

sortingButtonColor

Color

Defines the color used to display the icons for sorting when not applied.

#ECECEC

sortingButtonActiveColor

Color

Defines the color used to display the icon for sorting when applied.

#5F8DD3

headerBackGroundGradient

Gradient

Defines the background color of the header as a color gradient.

 

headerBold

Boolean

Defines whether text in the header is shown in bold.

true

headerItalic

Boolean

Defines whether text in the header is shown in italics.

false

headerTextAlign

TextAlign

Defines the orientation of the text in the header.

left

headerCellBorderWidth

PixelValCollection

Defines the width of the header's border.

1px

headerCellBorderStyle

BorderStyle

Defines the style of the header's border.

none

headerCellBorderColor

Color

Defines the color of the header's border.

#DDDDDD

headerCellPadding

Padding

Defines the spacing between the outer boundaries of the header cells and their contents.

0px 8px

bold

Boolean

Defines whether the text is shown in bold.

false

italic

Boolean

Defines whether the text is shown in italics.

false

textAlign

TextAlign

Defines the orientation of the text.

left

cellBorderWidth

PixelValCollection

Defines the width of the cells' border.

1px 0px 0px 0px

cellBorderColor

Color

Defines the color of the cells' border.

#DDDDDD

cellBorderStyle

BorderStyle

Defines the style of the border around the cells.

solid

cellPadding

Padding

Defines the spacing between the outer boundary of the table entry and its content. For more information, see here.

8px 14px

opacity

Opacity

Defines the transparency of the widget. The lower the value, the more transparent the widget.

1

disabledBackColorEvenRow

Color

Defines the background color of an even row in the disabled state.

#EAEAEA

disabledBackColorOddRow

Color

Defines the background color of an odd row in the disabled state.

#FFFFFF

disabledHeaderBackColor

Color

Defines the background color of the header in the disabled state.

#FCFCFC

disabledHeaderTextColor

Color

Defines the color used to display the text in the header in the disabled state.

#C8C8C8

disabledTextColor

Color

Defines the color of the text in the disabled state.

#C8C8C8

mouseDownBackColor

Color

Defines the background color of the table row only as long as it is pressed.

A selected row is not displayed in color mouseDown but in color backColor instead. If the "selected" properties are set, the mouseDown settings are not applied.

transparent

mouseDownTextColor

Color

Defines the text color in the table row only as long as it is pressed.

A selected row is not displayed in the mouseDown color but in the backColor color instead. If the "selected" properties are set, the mouseDown settings are not applied.

transparent

Topics in this section:

Actions and events