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/ZFjJKnoBLcIHluPjvuyp%2BqP%2BpuEBXE8%2BzcAwhI7ZXZx63UQzVGf63WLiuPUFvsc8PYn5unsSdU4%2BonlsZVVPpTycFUAntlEQrtHA4bchTDSn%2Bc5fQ%2FHCs%2FEZfJJ64RpX3nCHIZnuuV6ymXF2FPGOo3jp/image.png)
![[IMG]](proxy/Z6yCPlo98fP1WzLmnw%2B6N42l6TUU71MNPCaFqh2Uiia59GRVI%2F0l%2BE0TNbCFXLtRGLxMGErPJ%2FLLjGD6Vtk2N%2BstQGYXcrA%3D/image.png)
![[IMG]](proxy/8g4FWPga4FMcyx70uFg29OrjBnW4yK3pxBdo6rLs%2BflgJcKJlA1irq0xOVXDHGKar8VQZ%2F0RoJRPH%2FwMuhnDEoyVlGBxFA0%3D/image.png)
![[IMG]](proxy/ZFjJKnoBLcIHluPjvuyp%2BqP%2BpuEBXE8%2BzcAwhI7ZXZx63UQzVGf63WLiuPUFvsc8PYn5unsSdU4%2BonlsZVVPpTycFUAntlEQrtHA4bchTDSn%2Bc5fQ%2FHCs%2FEZfJJ64RpX3nCHIZnuuV6ymXF2FPGOo3jp/image.png)