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/J4suwVjTrsf0QRJP1PEq%2BsRbM5xgixEU53VqqmPhRa6Ykkacq5oGRZVddApujy3S8LX0M56knLAVILZwcmeTsThgeiFM%2B%2BDP%2B5NB25msWbYFle9bEtwU5kcXeMFsd0Mrrf3krBioPfZFVkuqKc22lIbi/image.png)
![[IMG]](proxy/J4suwVjTrsf0QRJP1PEq%2BsRbM5xgixEU53VqqmPhRa6Ykkacq5oGRZVddApujy3S8LX0M56knLAVILZwcmeTsThgeiFM%2B%2BDP%2B5NB25msWbYFle9bEtwU5kcXeMFsd0Mrrf3krBioPfZFVkuqKc22lIbi/image.png)