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/vhvLR89HGwXOh%2F5URPR8c76Xq3S194FaKpI6NitgCaEiA3JHQqrCtvQmKFqeSdRrpFYvx3Z7DriMSqQ0ivGbrzFZwdF8Z1Jf78amXOCPwpfXzHCqM1154Rq2jAhZEvLtBiCy9zCEOBzWKSbPRYSJFZGf/image.png)
![[IMG]](proxy/vhvLR89HGwXOh%2F5URPR8c76Xq3S194FaKpI6NitgCaEiA3JHQqrCtvQmKFqeSdRrpFYvx3Z7DriMSqQ0ivGbrzFZwdF8Z1Jf78amXOCPwpfXzHCqM1154Rq2jAhZEvLtBiCy9zCEOBzWKSbPRYSJFZGf/image.png)