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/YFnDcc%2B2iP0Oxo%2BKC%2BSxIqGz%2FOz1eTm451h%2FwqKi2QxZvWNB4FMl8euRHv4chaoQg5eeFWDC0rHzH%2FPFiy%2BSv%2Ftf5OYlLtAaNdV4rsSgenUR4VuE2cSownCcRgSc6iTERz29rIu607yregyNqfYcTm%2Bv/image.png)
![[IMG]](proxy/YFnDcc%2B2iP0Oxo%2BKC%2BSxIqGz%2FOz1eTm451h%2FwqKi2QxZvWNB4FMl8euRHv4chaoQg5eeFWDC0rHzH%2FPFiy%2BSv%2Ftf5OYlLtAaNdV4rsSgenUR4VuE2cSownCcRgSc6iTERz29rIu607yregyNqfYcTm%2Bv/image.png)