States of children objects are propagated to their parent objects depending on states priority and weight coefficient of influence.
Each object in the system has a weight. The weight of objects in the same state and in which both have common parent is summed.
If this sum is <1, then this state is not passed to the parent.
If this state is ≥1, then this state can be passed to the parent.
If there are several such states (with a weight ≥1), the parent is passed the most critical state according to the priority.
If the parent element has its own probe, it will be transfered into the most critical of two states:
- the result of own probe;
- inherited from child elements.
List of states and their priority can be changed in Configuration.
- OBJECT IS OK state (working) (priority 5), with weight = 0.4, with weight = 0.7, with weight = 0.5 have got
- while OBJECT IS OVERLOADED (priority 6). with weight = 0.8, with weight = 0.7 have changed their states to
The sum of weights of children objects:
- in the state OBJECT IS OK is 1.6 (∑ ≥ 1),
- in the state OBJECT IS OVERLOADED is 1.5 (∑ ≥ 1).
Since the OBJECT IS OVERLOADED status is more critical than OBJECT IS OK, so the parent object state has been changed to OBJECT IS OVERLOADED.
- does not inherit state from child elements
- ignores the result of its own probe
if its state was manually changed in section.