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