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/3Kjkq5ApzuCZ8zxhPnMGNiVW2Tx8xgCeYG%2BuX%2Bwi7McUGVdPJnqPzUOhT1qdVFk%2Fh4aP81LhYsoHHIv5zjEJxYMq0Fk6exlwiyO0f3J8NUCp3Qv9o8scp6GfBc2yZwbflsZ3mraE4%2BA%2BFJUmJpiJtoKU/image.png)
![[IMG]](proxy/NyceRDQTtSJfsuvBYDuL8M2rcm9XpDD9%2FfMl%2B4ZpvhBcvykpbCxIl286PFirp0STWNtfIeTlMu9m%2BwAZJ%2Fx1SZdoXJ8a3WM%3D/image.png)
![[IMG]](proxy/hIQz12S4tE4%2BiyV9U6XSwdw020jEvsKEdhVrypf0sjDa7i4aNeHJ%2BRMwtCjQMStb8ZfegSNBZsvpVy28x4S8KAEnzCGdmjI%3D/image.png)
![[IMG]](proxy/3Kjkq5ApzuCZ8zxhPnMGNiVW2Tx8xgCeYG%2BuX%2Bwi7McUGVdPJnqPzUOhT1qdVFk%2Fh4aP81LhYsoHHIv5zjEJxYMq0Fk6exlwiyO0f3J8NUCp3Qv9o8scp6GfBc2yZwbflsZ3mraE4%2BA%2BFJUmJpiJtoKU/image.png)