AlarmLine

<< 点击显示目录 >>

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

AlarmLine

Widget "AlarmLine" provides the necessary interface for displaying and interacting with an alarm. This widget is used in combination with mapp AlarmX. mapp AlarmX collects and manages all alarms.

An alarm in the form of a banner can be displayed using widget "AlarmLine". For information about which alarm should be displayed, see section Concept filtering of alarms.

This widget contains all important functions of an alarm system.

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

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

zIndex, left, top, height, width, imageHeight, imageWidth

Appearance

alarmline_editor

alarmline_runtime

Editor

Web browser

Properties

Name

Type

Description

Bindable

Necessary

Default value

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.

 

 

80

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

imageActive

ImagePath

Relative path to an image that is used for state "Active"/"Unacknowledged". If no image is defined, a predefined image is used.

For more information, see here.

 

 

 

imageActiveAcknowledged

ImagePath

Relative path to an image that is displayed on the widget for state "Active and acknowledged". If no image is defined, a predefined image is used. For more information, see here.

 

 

 

imageInactive

ImagePath

Relative path to an image that is displayed on the widget for state "Active and acknowledged". If no image is defined, a predefined image is used. For more information, see here.

 

 

 

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

mpLink

MpComIdentType

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

For further information, see Concept.

check

check

 

sortOrder

SortDirection

Defines how entries should be sorted.

They can be sorted by the last or first triggered alarm. It is also possible to sort by severity (taking into account the priority status – active, active acknowledged and inactive – severity level and timestamp).

descending: Sorts according to the last triggered alarm

ascending: Sorts according to the first triggered alarm

descendingBySeverity: Sorts alarms by the highest priority status, then by the highest severity and then the last one that was triggered.

ascendingBySeverity: Sorts alarms by the highest priority status, then by the highest severity and then the one that was triggered first.

 

 

descending

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

 

 

styleConfiguration

String

Defines the style settings.

Can only be adjusted via the configuration dialog box. A variable must be bound that receives the correct settings of the configuration dialog box. For additional information, see here.

check

 

 

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.

 

 

 

imageHeight

ImageSize

Defines the height of the image in the widget.

 

 

0

imageWidth

ImageSize

Defines the width of the image in the widget.

 

 

0

wordWrap

Boolean

Defines whether a break will be added to the text after a word if necessary.

 

 

true

multiLine

Boolean

Defines whether the text can be displayed on multiple lines. If wordWrap has value true, the text is wrapped after a word, if necessary. For additional information, see

here.

 

 

true

ellipsis

Boolean

Defines whether a text that is too long should be indicated by an ellipsis, e.g. "This text is..." instead of "This text is too long". For more information, see here.

 

 

false

tabIndex

Integer

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

For additional information, see Keyboard operation.

ENTER triggers event Click if tabIndex ≥0.

 

 

-1

Styleable properties

Name

Type

Description

Default value

backColor

Color

Defines the background color of the widget.

Transparent

backGroundGradient

Gradient

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

 

borderStyle

BorderStyle

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

solid

borderWidth

PixelValCollection

Defines the width of the border around the widget.

1px

borderColor

ColorCollection

Defines the color of the border around the widget.

#8b0000

cellBorderStyle

BorderStyle

Defines the style of the header's border.

none

cellBorderWidth

PixelValCollection

Defines the width of the header's border.

0px

cellBorderColor

ColorCollection

Defines the color of the border around the cell.

#FFFFFF

cellCornerRadius

PixelValCollection

Defines the rounding of the corners around the cells.

0px

cellPadding

Padding

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

0px 12px

padding

Padding

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

0px

margin

Margin

Defines the offset of the external boundary of the widget to the widget's actual set position. For more information, see here.

0px

fontName

FontName

Defines the font used for the text shown.

Arial

textColor

Color

Defines the color used to display the text.

#333333

fontSize

PixelVal

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

16px

bold

Boolean

Defines whether the text is shown in bold.

false

italic

Boolean

Defines whether the text is shown in italics.

false

shadow

Shadow

Defines the shadow of the widget.

none

cornerRadius

PixelValCollection

Defines the corner style of the widget.

0px

textAlign

TextAlign

Defines the orientation of the text.

center

opacity

Opacity

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

1

Topics in this section:

Actions and events