add tick to server state

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
block to control discrete valve

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
correctly init all blocks

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
fix discrete valve config

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>