There is a problem.
There sensor1 and sensor2. In the sensor1, the dependence on sensor2 On sensore1 set mail notification when passing the sensor in the status of "down", and also the reduction of the same notice in the mail. The sensor is in the status of "down" and a notice has been sent previously. Sensor2 goes into the status "down" and Sensor1 pauses. What happens: given notice that the sensor1 has restored the value of a "not down." because the status of transferred to the status of "Pause" After the restoration work sensor2 the following occurs: It should send a message that sensor1 moved to the status of "down".
How to make so that no data updates and the following occurred: Sensora2 the transition to the status of "down", its dependent status sensors are moved into the "Pause" and have given notice and memorize the previous state. After restoring Sensor2, dependent sensors should check the current status of the status of the transition to the status of a "pause" and if on remains the same, it does not send a notification. If whether the current version of the solution of the problem or not?