...
PlantUML Macro |
---|
@startuml
(*) --> "Receive Update Message for each Control Loop Element"
if "Message does not mention my Participant ID" then
--> [no] (*)
else
[yes] if "New Control Loop Element" then
--> [yes] "Create Control Loop Element"
--> "Set Control Loop Element to state UNINITIALISED"
--> "Order Initiation of Control Loop Element"
--> "Pass Parameters to Control Loop Element"
--> "Wait for Initiation to complete"
if "Control Loop Element Initiation" then
--> [success] "Report Success in Update Ack message"
--> (*)
else
--> [fail] "Delete Control Loop Element"
--> "Report Error in Update Ack message"
--> (*)
endif
else
--> [no] "Check Control Loop Element State"
endif
if "RUNNING and Control Loop Version change != patch" then
--> [true] "Report Error in Update Ack message"
--> (*)
else
[false] if "PASSIVE and Control Loop Version change == major" then
--> [true] "Report Error in Update Ack message"
--> (*)
else
--> [false] "Pass Changed Parameters to Control Loop Element"
--> "Wait for reconfiguration to complete"
if "Control Loop Element Reconfiguration" then
--> [success] "Report Success in Update Ack message"
--> (*)
else
--> "Roll back reconfiguration"
--> "Report Error in Update Ack message"
--> (*)
endif
endif
endif
@enduml
|
...