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/JhLg3UpRrDCBwKctjO49Ljon4PShC8s1T360t%2FpxyBMtjfnGQTvbq4KMpRI%2FHzSzYOkVYbxl9h8Rx8YPcx4iMUF8eYcQ9IGMhzbyjadEmStat0lDhB59XGKPx%2FPILiW72DysqABYXIHJCnzU4mH%2F16R6/image.png)
![[IMG]](proxy/4AdX9gFs5%2BbONdALNhZO2nuKe9vOY6HuS7EhRvXIDqz7X0RrQ9t6uKYiY2JVBaa2UkiH4wJlo7JGb4qMZbZymjR6wSUVu1U%3D/image.png)
![[IMG]](proxy/ktwXFDe1KRviza5P8vNgQLBNR%2BcCMGo6riot9p3InGR51Y2rME7iKG3rZyGZkpbIcTv74L0xHh924QAKosu%2FKPb%2BkPlE8xY%3D/image.png)
![[IMG]](proxy/JhLg3UpRrDCBwKctjO49Ljon4PShC8s1T360t%2FpxyBMtjfnGQTvbq4KMpRI%2FHzSzYOkVYbxl9h8Rx8YPcx4iMUF8eYcQ9IGMhzbyjadEmStat0lDhB59XGKPx%2FPILiW72DysqABYXIHJCnzU4mH%2F16R6/image.png)