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/j6Bl6mapSoj%2F2X5n04KWFIgEjasXfed1IeJpSAYnicgDyxI0lbPGzmcg8%2FrKW8Y06Qr6zvgQMwmC3Cq0A08zQM9Dtr0f%2B4dcM%2BRq7zqoMUFsXHHtYnq1FrQ%2BCW0j4P%2FPEzjmK2FlW3u96TBVygn0dFl8/image.png)
![[IMG]](proxy/j6Bl6mapSoj%2F2X5n04KWFIgEjasXfed1IeJpSAYnicgDyxI0lbPGzmcg8%2FrKW8Y06Qr6zvgQMwmC3Cq0A08zQM9Dtr0f%2B4dcM%2BRq7zqoMUFsXHHtYnq1FrQ%2BCW0j4P%2FPEzjmK2FlW3u96TBVygn0dFl8/image.png)