2018-08-03 16:15:08 +00:00
|
|
|
@startuml
|
|
|
|
skinparam nodesep 10
|
|
|
|
skinparam ranksep 1
|
|
|
|
|
|
|
|
|
|
|
|
[*] -> Registered
|
|
|
|
|
|
|
|
state Attributes {
|
|
|
|
state Broken : cannot turn on
|
|
|
|
state Owners
|
|
|
|
state Usufructuarees
|
|
|
|
state Reservees
|
|
|
|
state "Physical\nPossessor"
|
2018-10-13 12:53:46 +00:00
|
|
|
state "Waste\n\Product"
|
2018-11-09 10:22:13 +00:00
|
|
|
state problems : List of current events \nwith Warn/Error
|
|
|
|
state privacy : Set of\ncurrent erasures
|
|
|
|
state working : List of current events\naffecting working
|
2018-08-03 16:15:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
state Physical {
|
|
|
|
Registered --> Preparing : ToPrepare
|
|
|
|
Registered --> ToBeRepaired : ToRepair
|
|
|
|
ToBeRepaired --> Repaired : Repair
|
|
|
|
Repaired -> Preparing : ToPrepare
|
|
|
|
Preparing --> Prepared : Prepare
|
2019-07-07 19:36:09 +00:00
|
|
|
Prepared --> Ready : ReadyToUse
|
|
|
|
Ready --> InUse : Live
|
2018-08-03 16:15:08 +00:00
|
|
|
InUse -> InUse : Live
|
|
|
|
state DisposeWaste
|
|
|
|
state Recover
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
state Trading {
|
|
|
|
Registered --> Reserved : Reserve
|
|
|
|
Registered --> Sold : Sell
|
|
|
|
Reserved -> Sold : Sell
|
|
|
|
Reserved --> Cancelled : Cancel
|
|
|
|
Sold --> Cancelled : Cancel
|
|
|
|
Sold --> Payed : Pay
|
2018-10-13 12:53:46 +00:00
|
|
|
Registered --> ToBeDisposed : ToDisposeProduct
|
|
|
|
ToBeDisposed --> ProductDisposed : DisposeProduct
|
|
|
|
Registered --> Donated: Donate
|
|
|
|
Registered --> Renting: Rent
|
|
|
|
Donated --> Cancelled : Cancel
|
|
|
|
Renting --> Cancelled : Cancel
|
|
|
|
}
|
|
|
|
|
2018-08-03 16:15:08 +00:00
|
|
|
@enduml
|