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/ZpqYRNw2MrVmiaTyu7PcAaydHBQU4Du6UoRT44Nrw0xTVjtOYR25I2%2Ba0hACDDNkEPRrWacCeb0Xu5z1%2Fe4ouz8arGLP4BnjbPP1QsXiaQe0rB%2BapNJIE18MVkxU0z2n1UdA2QI%2BGQF4EXpfUtdHmMkX/image.png)
![[IMG]](proxy/tbrCwEgKaAe4tRHIg%2BBPekakINCmiqJuX1hvGHZYpiQcD5eE4oMRvNh1VLaOCvKf8KizDGXk42YNAqej%2F4o0Vll%2BdaJyDfY%3D/image.png)
![[IMG]](proxy/tV%2B4nLqHbOYk9XI6vW6CZy7egqli6uzCHccgU7u1uALsXEtgUswtmmzXCF0R%2Bx5DK4D1AYA4ScqqZXpOIKn0QOG1mI8VJn0%3D/image.png)
![[IMG]](proxy/ZpqYRNw2MrVmiaTyu7PcAaydHBQU4Du6UoRT44Nrw0xTVjtOYR25I2%2Ba0hACDDNkEPRrWacCeb0Xu5z1%2Fe4ouz8arGLP4BnjbPP1QsXiaQe0rB%2BapNJIE18MVkxU0z2n1UdA2QI%2BGQF4EXpfUtdHmMkX/image.png)