Blame view

doc/uml/activities/scheduler/copy_from_previous_schedule_act.txt 841 Bytes
64fc9a89   Etienne Pallier   - un peu de refac...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@startuml

legend right
  Short
  legend
endlegend

title **Scheduler.copy_from_previous_schedule()**

skinparam activity {
  'StartColor red
  'BarColor SaddleBrown 
  'EndColor Silver
  'BackgroundColor Peru
578613de   Etienne Pallier   renamed activity ...
15
  BackgroundColor<<START>> Orange
64fc9a89   Etienne Pallier   - un peu de refac...
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  'BorderColor Peru
  'FontName Impact
}

(*)	--> "//Copy needed data from previous schedule : EXECUTED sequences, plan_night_start, plan_end//" <<START>>

	--> previous_sched = get last schedule from DB
	
    --> "previous_exc_seq = get all EXECUTED sequences from previous_sched\n 
	Associate each EXECUTED sequence to the new schedule (in DB)\l"
	
    --> "schedule.plan_night_start = previous_sched.plan_night_start\n
    schedule.plan_end = previous_sched.plan_end\n
    //Schedule must start in MAX_OVERHEAD seconds://\n
    schedule.plan_start = now + MAX_OVERHEAD\l"
    
	--> (*)

@enduml