Skip to content

Messages

Message list is based on State table consumer from A-VIS Framework: This consumer does handle all messages which are active or not acknowledged. It does not handle any historical messages neither store them. As soon as a message get deactivated or acknowledged will the entry by deleted from the table.

System log

Service Ui supports stateless system log messages. Typically sent by PLC Framework. By default they are displayed at logger view and wrapped to messages view if log type is alarm.
Use Configuration / Show system log at messages property to adjust behavior.

system-message-config

  • None: system log messages only displayed at logger
  • Alarm (default): system log messages displayed at logger and at message view if level is alarm.
  • Warning and higher: system log messages displayed at logger and at message view if level is warning or alarm.
  • Info and higher: system log messages displayed at logger and at message view if level is info, warning or alarm.

system-message-list

Display example at messages view, consider that object and message id is 0 for system log messages. There is no active (set(), reset()) behavior for system messages, since there are stateless.

Message badges

message-badge

  • Message badges represents number of messages with highest messageType (UP) or message class (BasePlc).
  • If childs view of a controller is closed: messages from childs are displayed at parent controller (sum over all childs at highest message class).

Priority

Order of priority is defined by Service Ui based on given uiClass:

  • danger
  • warning
  • info
  • primary
  • secondary
  • success
  • light
  • dark

Configuration Custom message type

Configuration is part of PLC meta model. Color of badge, message row is given by Bootstrap CSS scheme: https://getbootstrap.com/docs/4.0/utilities/colors/