OAS Logo

OAS Generic Limiter Widget

This widget mimics the functionality of an limiter e.g. safety temperatur limite, smoke detector or min/max pressure sensor.

Slots

Name Type Default
color Brush BColor.white
deviceType OasLimiterType BOasLimiterType.STB
text String ""

color

This property controls the color of the box and is typically linked to a ValueBinding which animates the color to the specific use case. Normally a true/false conversion (false is white and true is red) is used.

Example

deviceType

The DeviceType property gives some predefined Types of Limiters like STB, Smoke, P_min or P_max, to name a few, but also provides a option to use the text property for a custom text.

text

Let the user enter a custom text when the deviceType is set to custom. Attention keep in mind that the space for the text is very limited. Therefore it is recommended to only use abbreviations instead of hole words.

Common / Intended use

Commonly the GenericLimiter is used on e.g. Heating or AirConditioning Plants to display Alarm or Fault States. This widget does that by changing it’s color. That is done, described in its color section, via a ValueBinding and the animation of the color property. In order to give the user the freedom to choose his alarm / fault color the widget does not limit the color to white and red.