Introduction
The Colour Change Action allows the system to change the colour of an entity in response to a rule check. In this case the rule will change the colour of a configured Area if a target enters the area. When the target is no longer in the area, a second colour change will revert the colour of the area back to its original colour.
Contents
Configuration
In the example below, the Colour Change Action is configured to change the colour of the Orchard Area to Orange whilst the target is within the target area.
Nodes
Input
Checks
Link
Time Link: Sets the Area to change colour for 60 seconds:
Actions
Colour Change 1: Changes the background colour of the entity to the one configured. In this example, the Orchard colour will turn orange.
Colour Change 2: Changes the background colour of the entity to the default colour once the criteria are no longer met.
PPI Example
The image below shows the Orchard Area prior to the Target entering it:
The Area’s colour has changed once the target enters it:
60 seconds after the target has left the Area, the colour returns to the default setting:
Related Information
-
Sections (Witness 4.0)
-
Lanes (Witness 4.0)
-
Rule Areas (Witness 4.0)
-
Alarm Areas (Witness 4.0)
-
Rule Nodes (Witness 4.0)
-
Rules (Witness 4.0)
-
Creating a Rule (Witness 4.0)
-
Rule Schedules (Witness 4.0)
-
Breach Lines (Witness 4.0)
-
Entity Timeouts (Witness 4.0)