diagram stanów

This commit is contained in:
Marta Roszak 2021-01-27 11:44:40 +01:00
parent 00ae9eb43e
commit 6f83532545
3 changed files with 240 additions and 5 deletions

99
models/134572.diagram Normal file
View File

@ -0,0 +1,99 @@
format 223
pseudostatecanvas 128044 pseudostate_ref 128044 // initial
xyz 315 16 2000
end
statecanvas 128172 state_ref 128172 // WybranyProdukt
xyzwh 270 93 2000 111 33
end
statecanvas 128428 state_ref 128300 // ProduktDostepny
xyzwh 167 187 2000 117 33
end
statecanvas 128556 state_ref 128428 // ProduktNiedostepny
xyzwh 369 177 2000 133 33
end
statecanvas 128940 state_ref 128556 // KlientPoinformowany
xyzwh 668 252 2000 139 33
end
statecanvas 129068 state_ref 128684 // PracownikObslugiPoinformowany
xyzwh 602 103 2000 207 33
end
statecanvas 129452 state_ref 128812 // PlatnoscPrzeprowadzona
xyzwh 58 289 2000 249 33
end
pseudostatecanvas 129964 pseudostate_ref 128172 // final
xyz 177 394 2000
end
pseudostatecanvas 130220 pseudostate_ref 128300 // final
xyz 723 341 2000
end
pseudostatecanvas 130348 pseudostate_ref 128428 // final
xyz 697 192 2000
end
pseudostatecanvas 131756 pseudostate_ref 129068 // fork wyslijKomunikat
xyzwh 548 224 2005 15 75
end
transitioncanvas 128300 transition_ref 128044 // wybierzProdukt
from ref 128044 z 2001 label "wybierzProdukt" xyz 327 44 3000 to ref 128172
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 128684 transition_ref 128172 // sprawdzDostepnosc
from ref 128172 z 2001 label "sprawdzDostepnosc" xyz 380 138 3000 to ref 128556
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 128812 transition_ref 128300 // sprawdzDostepnosc
from ref 128172 z 2001 label "sprawdzDostepnosc" xyz 174 140 3000 to ref 128428
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 129580 transition_ref 128684 // przeprowadzPlatnosc
from ref 128428 z 2001 label "przeprowadzPlatnosc" xyz 93 237 3000 to ref 129452
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 130476 transition_ref 129068 // wydajProdukt
from ref 129452 z 2001 label "wydajProdukt" xyz 115.5 346.5 3000 to ref 129964
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 130988 transition_ref 129196 // <transition>
from ref 128940 z 2001 to ref 130220
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 131116 transition_ref 129324 // pracownikUzupelniaProdukt
from ref 129068 z 2001 label "pracownikUzupelniaProdukt" xyz 707 147 3000 to ref 130348
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132012 transition_ref 129452 // wyslijKomunikat
decenter_end 441
from ref 128556 z 2006 label "wyslijKomunikat" xyz 428 238.5 3000 to ref 131756
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132140 transition_ref 129580 // <transition>
from ref 131756 z 2006 to ref 128940
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132268 transition_ref 129708 // <transition>
from ref 131756 z 2006 to ref 129068
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 133548 transition_ref 129836 // <transition>
from ref 128940 z 2001 to point 539 110
line 133676 z 2001 to ref 128172
write_horizontally default show_definition default drawing_language default
end
end

View File

@ -1,8 +1,10 @@
window_sizes 1366 705 229 1132 659 0
diagrams
active classdiagram_ref 128044 // domain-model
1089 692 90 A3 49 0
classdiagram_ref 128044 // domain-model
1132 659 90 A3 0 0
active statediagram_ref 134572 // zakupProduktu
905 527 100 A4 0 0
end
show_stereotypes
open
@ -18,5 +20,6 @@ open
class_ref 137644 // Raport
class_ref 144428 // Kasa
class_ref 144812 // Gotowka
state_ref 128428 // ProduktNiedostepny
end
end

View File

@ -1,6 +1,6 @@
format 223
"models"
revision 4
revision 5
modified_by 44 "Marta Roszak"
@ -154,7 +154,7 @@ format 223
classrelation_ref 133548 // (ma)
end
classrelation 148652 // (posiada)
classrelation 148652 // posiada
relation_ref 144684 // posiada
end
end
@ -857,7 +857,7 @@ format 223
a role_name "" multiplicity "1" private
classrelation_ref 148524 // (posiada)
b role_name "" multiplicity "1" private
classrelation_ref 148652 // (posiada)
classrelation_ref 148652 // posiada
end
end
@ -906,4 +906,137 @@ format 223
end
end
end
classview 134572 "design"
classdiagramsettings member_max_width 0 end
classcompositediagramsettings end
collaborationdiagramsettings end
objectdiagramsettings end
objectcompositediagramsettings end
sequencediagramsettings end
statediagramsettings
end
activitydiagramsettings
end
state 128044 "zakupProduktu"
stereotype "machine"
statediagram 134572 "zakupProduktu"
statediagramsettings draw_all_relations no
end
size A4
end
pseudostate 128044 initial ""
transition 128044 "wybierzProdukt"
on state_ref 128172 // WybranyProdukt
external
end
end
state 128172 "WybranyProdukt"
transition 128172 "sprawdzDostepnosc"
on state_ref 128428 // ProduktNiedostepny
external
end
transition 128300 "sprawdzDostepnosc"
on state_ref 128300 // ProduktDostepny
external
end
end
state 128300 "ProduktDostepny"
transition 128684 "przeprowadzPlatnosc"
on state_ref 128812 // PlatnoscPrzeprowadzona
external
end
end
state 128428 "ProduktNiedostepny"
transition 128428 "wyslijKomunikat"
on state_ref 128556 // KlientPoinformowany
external
end
transition 128556 "wyslijKomunikat"
on state_ref 128684 // PracownikObslugiPoinformowany
external
end
pseudostate 129068 fork "wyslijKomunikat"
transition 129580 "<transition>"
on state_ref 128556 // KlientPoinformowany
external
end
transition 129708 "<transition>"
on state_ref 128684 // PracownikObslugiPoinformowany
external
end
end
transition 129452 "wyslijKomunikat"
on pseudostate_ref 129068 // fork wyslijKomunikat
external
end
end
state 128556 "KlientPoinformowany"
transition 129196 "<transition>"
on pseudostate_ref 128300 // final
external
end
transition 129836 "<transition>"
on state_ref 128172 // WybranyProdukt
external
end
end
state 128684 "PracownikObslugiPoinformowany"
transition 129324 "pracownikUzupelniaProdukt"
on pseudostate_ref 128428 // final
external
end
end
state 128812 "PlatnoscPrzeprowadzona"
transition 128812 "wydajProdukt"
on state_ref 128940 // ProduktWydany
external
end
transition 129068 "wydajProdukt"
on pseudostate_ref 128172 // final
external
end
end
state 128940 "ProduktWydany"
transition 128940 "zakonczObslugeKlienta"
on pseudostate_ref 128172 // final
external
end
end
pseudostate 128172 final ""
end
pseudostate 128300 final ""
end
pseudostate 128428 final ""
end
end
end
end