Blame view

doc/uml/activities/majordome/execute_sequences_act.txt 742 Bytes
164eebbd   haribo   UML and comments
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@startuml

title Execute sequence

(*) --> "Get sequence from shs"
	--> if "Sequence status is OBSERVABLE"
		--> [Yes] "Compute countdown to execution (in jd)"
		--> "Advance execution date if possible"
		--> if "Countdown is greater than MAX_WAIT"
			--> [Yes] "Start scheduling"
			--> (*)
		else
			--> [No] "Configure telescope"
			--> "Start telescope movement"
			--> "Create plan execution tasks for all cameras"
			--> "Set sequence and shs status to EXECUTING"
			--> "Wait for all plans to be finished"
			--> if "A plan was aborted"
				--> [Yes] "Set sequence and shs status to CANCELLED"
				--> (*)
			else
				--> [No] "Set sequence and shs status to EXECUTED"
				--> (*)
			endif
		endif
	else
		--> [No] (*)
	endif

@enduml