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/unczdahxrNI80bGP8huj9rE0JYC1ULZvcFhvU0EIvUUY4XSyquk7Bc7G5Lz3mgT5duXrH0ak9wezXqE6lWOPzscK0beYdGm%2BxYshrfuBaqNQios0Uee0Ektay6wQvqolmipQJ6QWo7s36vsrTuzTEJEj/image.png)
![[IMG]](proxy/unczdahxrNI80bGP8huj9rE0JYC1ULZvcFhvU0EIvUUY4XSyquk7Bc7G5Lz3mgT5duXrH0ak9wezXqE6lWOPzscK0beYdGm%2BxYshrfuBaqNQios0Uee0Ektay6wQvqolmipQJ6QWo7s36vsrTuzTEJEj/image.png)