parent
9f305dd5ef
commit
fd9f398b98
@ -1,23 +1,29 @@
|
||||
```plantuml
|
||||
@startuml
|
||||
start
|
||||
|
||||
fork
|
||||
:find periferals;
|
||||
:find peripherals;
|
||||
fork again
|
||||
:get previous connected sensors state;
|
||||
end merge
|
||||
if(have some previously connected sensors) then (yes)
|
||||
end fork
|
||||
|
||||
if (have some previously connected sensors?) then (yes)
|
||||
:connect saved;
|
||||
else (no)
|
||||
:connect closest;
|
||||
endif
|
||||
if(all sensors connected) then (yes)
|
||||
label connect
|
||||
:can load workout;
|
||||
else (no)
|
||||
|
||||
while (all sensors connected?) is (no)
|
||||
:add manually;
|
||||
goto connect
|
||||
if (have some previously connected sensors?) then (yes)
|
||||
:connect saved;
|
||||
else (no)
|
||||
:connect closest;
|
||||
endif
|
||||
endwhile
|
||||
|
||||
:can load workout;
|
||||
stop
|
||||
@enduml
|
||||
```
|
||||
Loading…
Reference in new issue