I have a device that has three values; 0, 1, 2.
O = offline,
1 = online
2 = troubled.
I'm trying to trigger an event when the device value changes to 0 and another triggered when the value changes to 1
The two events in the images trigger from one state to the other, even though the device itself stays at one state. Obviously, my event structure is incorrect.
What is the correct way to test for this?
Thank you.
O = offline,
1 = online
2 = troubled.
I'm trying to trigger an event when the device value changes to 0 and another triggered when the value changes to 1
The two events in the images trigger from one state to the other, even though the device itself stays at one state. Obviously, my event structure is incorrect.
What is the correct way to test for this?
Thank you.
Comment