The article describes a simple programming paradigm in the form of creating final states - automaton. This defines the program part that is executed in the given branch. In this way we can block certain inputs and outputs that you only need to use in a specific branch (for example, one-time start of the device), possible stopping of the waterworks by the program in case of failure of the float input - lack of water / error.
![[IMG]](proxy/NWrq0ewHkzUe5hEGf7kOkS4KdCP2SnQ5dS6%2FHYprtsc0mRJUH%2Bv7Mvi2l4%2FEb0bpNl%2FM06kvuBS2M6aZBCQFAIMCKbxnK0zG19I3mlHVmB0qRx5Jn%2FqHYX2eLkKoKw0SNVsf0qEuhoZ7TLIPvaes6YeU/image.png)
![[IMG]](proxy/NWrq0ewHkzUe5hEGf7kOkS4KdCP2SnQ5dS6%2FHYprtsc0mRJUH%2Bv7Mvi2l4%2FEb0bpNl%2FM06kvuBS2M6aZBCQFAIMCKbxnK0zG19I3mlHVmB0qRx5Jn%2FqHYX2eLkKoKw0SNVsf0qEuhoZ7TLIPvaes6YeU/image.png)