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/WotpCNjCXnkd7D32F7yEy3%2F%2FIqJZKwPPuT7Br%2Bjh4h4NjwdQ5zdZB7WyPoYOVMIZft%2FFGHbpZEO1YIeJAW6BjxE5ymXi3vCww6lQs%2BeC7uJZAsajuwX59TdSEREV6TvLIo18c9UW%2FV63vLRi67%2FjGdbb/image.png)
![[IMG]](proxy/WotpCNjCXnkd7D32F7yEy3%2F%2FIqJZKwPPuT7Br%2Bjh4h4NjwdQ5zdZB7WyPoYOVMIZft%2FFGHbpZEO1YIeJAW6BjxE5ymXi3vCww6lQs%2BeC7uJZAsajuwX59TdSEREV6TvLIo18c9UW%2FV63vLRi67%2FjGdbb/image.png)