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/tyB2DSsoepy%2FqCCue0ViVXql9gE5Nk1ue103EQjiSbqiWpz6waE3HfF%2Fv0j95eXDpJsDtO5WPxbyVIaadkJXdH2dKy5jZOKlOm50KuxOQuxmeVK%2B5tfGn5eYOS%2FxmFE%2FvVSg22pqzIBuahE%2B355%2FQSgD/image.png)
![[IMG]](proxy/tyB2DSsoepy%2FqCCue0ViVXql9gE5Nk1ue103EQjiSbqiWpz6waE3HfF%2Fv0j95eXDpJsDtO5WPxbyVIaadkJXdH2dKy5jZOKlOm50KuxOQuxmeVK%2B5tfGn5eYOS%2FxmFE%2FvVSg22pqzIBuahE%2B355%2FQSgD/image.png)