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/4YGcBuyTePRU0A1I%2FOa0AbSRKwn1vC%2By3gB7QsPb5LfICY85ovbRXG3cYmV8BwPA4gr1gGFueqd7qM4TTXB3O64aEEq%2BFlC8dH%2FiXvx%2Fg%2F6Ob%2BfoktcwTl5uuS8Dv4ekTUFaIq3Etzjf7slO%2FYTr2tAf/image.png)
![[IMG]](proxy/4YGcBuyTePRU0A1I%2FOa0AbSRKwn1vC%2By3gB7QsPb5LfICY85ovbRXG3cYmV8BwPA4gr1gGFueqd7qM4TTXB3O64aEEq%2BFlC8dH%2FiXvx%2Fg%2F6Ob%2BfoktcwTl5uuS8Dv4ekTUFaIq3Etzjf7slO%2FYTr2tAf/image.png)