@@ -0,0 +1,46 @@
|
||||
@startuml
|
||||
circle powerSwitch
|
||||
|
||||
class config_maxOutlet{}
|
||||
|
||||
class outlet_getter{
|
||||
SCAN : 1 second
|
||||
}
|
||||
class outlet_init{}
|
||||
|
||||
class init_1{}
|
||||
class get_outlet_1{}
|
||||
class set_outlet_1{}
|
||||
class init_2{}
|
||||
class get_outlet_2{}
|
||||
class set_outlet_2{}
|
||||
class init_3{}
|
||||
class get_outlet_3{}
|
||||
class set_outlet_3{}
|
||||
class init_4{}
|
||||
class get_outlet_4{}
|
||||
class set_outlet_4{}
|
||||
|
||||
set_outlet_1..>powerSwitch :> HTTP POST
|
||||
set_outlet_2..>powerSwitch :> HTTP POST
|
||||
set_outlet_3..>powerSwitch :> HTTP POST
|
||||
set_outlet_4..>powerSwitch :> HTTP POST
|
||||
|
||||
outlet_getter..>powerSwitch :> HTTP GET
|
||||
outlet_init ..>powerSwitch :> HTTP GET
|
||||
|
||||
outlet_getter --> get_outlet_1 :> FLNK
|
||||
get_outlet_1 --> get_outlet_2 :> FLNK
|
||||
get_outlet_2 --> get_outlet_3 :> FLNK
|
||||
get_outlet_3 --> get_outlet_4 :> FLNK
|
||||
|
||||
outlet_init --> init_1 :> FLNK
|
||||
init_1 --> init_2 :> FLNK
|
||||
init_2 --> init_3 :> FLNK
|
||||
init_3 --> init_4 :> FLNK
|
||||
|
||||
init_1 --> set_outlet_1 :> OUT
|
||||
init_2 --> set_outlet_2 :> OUT
|
||||
init_3 --> set_outlet_3 :> OUT
|
||||
init_4 --> set_outlet_4 :> OUT
|
||||
@enduml
|
||||
Reference in New Issue
Block a user