diff --git a/models/160980.diagram b/models/160980.diagram new file mode 100644 index 0000000..658a90a --- /dev/null +++ b/models/160980.diagram @@ -0,0 +1,89 @@ +format 223 + +pseudostatecanvas 128084 pseudostate_ref 128084 // initial + xyz 81 92 2000 +end +statecanvas 128212 state_ref 128212 // Produkt Wybrany + + xyzwh 31 201 2000 115 33 +end +statecanvas 128340 state_ref 128340 // Produkt Oplacony + + xyzwh 372 451 2000 117 33 +end +statecanvas 128468 state_ref 128468 // Karta Wczytana + + xyzwh 568 207 2000 137 33 +end +pseudostatecanvas 128596 pseudostate_ref 128212 // final Produkt Wydany + xyz 417 609 2000 +end +pseudostatecanvas 128980 pseudostate_ref 128340 // final Zakup Anulowany + xyz 247 688 2000 +end +statecanvas 129876 state_ref 128596 // Oczekiwanie na Zaplate + + xyzwh 248 203 2000 149 33 +end +note 134356 "wrzuconaKwota < cenaProduktu " + xyzwh 266 26 2006 123 49 +note 134484 "srodkiNaKoncie < cenaProduktu" + xyzwh 644 498 2000 119 47 +note 134612 "wrzuconaKwota >= cenaProduktu" + xyzwh 270 365 2000 103 65 +transitioncanvas 128724 transition_ref 128084 // wydajProdukt + + from ref 128340 z 2001 label "wydajProdukt" xyz 443 539 3000 to ref 128596 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 128852 transition_ref 128212 // pobierzSrodki + + from ref 128468 z 2001 label "pobierzSrodki" xyz 458 331 3000 to ref 128340 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 129108 transition_ref 128340 // odrzucTransakcje + + from ref 128468 z 2001 label "odrzucTransakcje" max_width 14 xyz 644 476 3000 to point 634 640 + line 134228 z 2001 to point 636 700 + line 129236 z 2001 to ref 128980 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 129748 transition_ref 128468 // wybierzProdukt + + from ref 128084 z 2001 label "wybierzProdukt" xyz 10 145 3000 to ref 128212 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 130644 transition_ref 128724 // oplacProdukt + + from ref 128212 z 2001 label "oplacProdukt" xyz 159 199 3000 to ref 129876 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132052 transition_ref 129108 // wrzucGotowke + decenter_begin 906 + decenter_end 134 + + from ref 129876 z 2001 label "wrzucGotowke" max_width 14 xyz 288 77 3000 to point 379 94 + line 132180 z 2001 to point 263 93 + line 132308 z 2001 to ref 129876 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132564 transition_ref 129236 // przylozKarteDoTerminala + + from ref 129876 z 2001 label "przylozKarteDoTerminala" xyz 424 199 3000 to ref 128468 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132692 transition_ref 129364 // wrzucGotowke + decenter_begin 865 + decenter_end 75 + + from ref 129876 z 2001 label "wrzucGotowke" max_width 14 xyz 278.5 351 3000 to point 378 443 + line 134740 z 2001 to ref 128340 + write_horizontally default show_definition default drawing_language default +end +transitioncanvas 132820 transition_ref 129492 // anulujZakup + decenter_begin 79 + + from ref 129876 z 2001 label "anulujZakup" xyz 185 449 3000 to ref 128980 + write_horizontally default show_definition default drawing_language default +end +end diff --git a/models/84.session b/models/84.session index 7bfddec..1f2296b 100644 --- a/models/84.session +++ b/models/84.session @@ -4,25 +4,28 @@ diagrams sequencediagram_ref 134740 // 2-3-przylozenieKartyDoTerminalu 1676 898 100 A4 0 0 sequencediagram_ref 128212 // 2-1-wyborKoduProduktu - 114 86 100 A4 0 0 + 1676 898 100 A4 0 0 classdiagram_ref 128088 // domain-model 114 86 100 A4 0 0 sequencediagram_ref 154324 // 2-5-anulowanieZakupu 114 86 100 A4 0 0 classdiagram_ref 147796 // design-model 114 86 100 A4 0 0 - active sequencediagram_ref 154452 // 2-4-odbiorProduktu + sequencediagram_ref 154452 // 2-4-odbiorProduktu 1676 898 100 A4 0 0 sequencediagram_ref 141268 // 2-2-wyborPlatnosciKarta 114 86 100 A4 0 0 + active statediagram_ref 160980 // zakupProduktu + 1676 898 100 A4 0 0 end show_stereotypes -selected sequencediagram_ref 154452 // 2-4-odbiorProduktu +selected statediagram_ref 160980 // zakupProduktu open attribute_ref 131156 // numer class_ref 129112 // terminal class_ref 141140 // platnosc class_ref 142036 // lista_produktow - classrelation_ref 159060 // zawiera () + state_ref 128468 // Karta Wczytana + state_ref 128596 // Oczekiwanie na Zaplate end end diff --git a/models/models.prj b/models/models.prj index 686c1ed..4c42828 100644 --- a/models/models.prj +++ b/models/models.prj @@ -1,6 +1,6 @@ format 223 "models" - revision 19 + revision 20 modified_by 84 "Szogunek" @@ -1196,5 +1196,89 @@ format 223 sequencediagramsettings end overlapping_bars size A4 end + + state 128084 "zakupProduktu" + stereotype "machine" + statediagram 160980 "zakupProduktu" + statediagramsettings draw_all_relations no + end + size A4 + end + + pseudostate 128084 initial "" + transition 128468 "wybierzProdukt" + on state_ref 128212 // Produkt Wybrany + external + end + end + + state 128212 "Produkt Wybrany" + transition 128724 "oplacProdukt" + on state_ref 128596 // Oczekiwanie na Zaplate + external + end + end + + state 128340 "Produkt Oplacony" + transition 128084 "wydajProdukt" + on pseudostate_ref 128212 // final Produkt Wydany + external + end + end + + state 128468 "Karta Wczytana" + transition 128212 "pobierzSrodki" + on state_ref 128340 // Produkt Oplacony + external + end + + transition 128340 "odrzucTransakcje" + on pseudostate_ref 128340 // final Zakup Anulowany + comment "srodkiNaKoncie < cenaProduktu" + external + end + end + + pseudostate 128212 final "Produkt Wydany" + end + + pseudostate 128340 final "Zakup Anulowany" + end + + state 128596 "Oczekiwanie na Zaplate" + transition 128596 "" + on state_ref 128596 // Oczekiwanie na Zaplate + end + + transition 128852 "" + on state_ref 128596 // Oczekiwanie na Zaplate + end + + transition 128980 "" + on state_ref 128596 // Oczekiwanie na Zaplate + end + + transition 129108 "wrzucGotowke" + on state_ref 128596 // Oczekiwanie na Zaplate + comment "wrzuconaKwota < cenaProduktu" + end + + transition 129236 "przylozKarteDoTerminala" + on state_ref 128468 // Karta Wczytana + external + end + + transition 129364 "wrzucGotowke" + on state_ref 128340 // Produkt Oplacony + comment "wrzoconaKwota >= cenaProduktu" + external + end + + transition 129492 "anulujZakup" + on pseudostate_ref 128340 // final Zakup Anulowany + external + end + end + end end end