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/LJa8tNE9oYWsUkZ4nlTUpF0u8a3x9OT6WBqL5SWsZYGmWrKDYTF36H3A4a5SYu%2F8sdwbq7lk3e7zWRhIsQIpSO88a2%2B5cPtd21oSCDujqw1jb47gNugAF9D8asaad21QlYnZk9KG%2BA%2BaoPIgtnUsoQ89/image.png)
![[IMG]](proxy/LJa8tNE9oYWsUkZ4nlTUpF0u8a3x9OT6WBqL5SWsZYGmWrKDYTF36H3A4a5SYu%2F8sdwbq7lk3e7zWRhIsQIpSO88a2%2B5cPtd21oSCDujqw1jb47gNugAF9D8asaad21QlYnZk9KG%2BA%2BaoPIgtnUsoQ89/image.png)