Compare commits

...

98 Commits

Author SHA1 Message Date
s444417
cfa9c0aaef mistakes fix 2021-02-11 10:08:00 +01:00
s444417
678de19395 add notes 2021-02-10 08:35:02 +01:00
s444417
fe879e10a0 design patterns 2021-02-07 14:09:37 +01:00
s444417
ae57ca389b update 2021-02-03 11:41:04 +01:00
Jakub Adamski
69350087c3 wzorce 2021-02-03 11:25:06 +01:00
s444417
5cf3e18c13 add comments 2-3 2021-02-03 10:24:34 +01:00
s444417
464a4cbfed add comments 2021-02-03 08:38:57 +01:00
Radek
d6f28a7759 update 4-1 diagram 2021-02-03 00:07:50 +01:00
Radek
13fb58f5a3 create 4-1 diagram 2021-02-02 23:56:09 +01:00
s444417
793e2f40ff diagram uc2 2021-02-02 22:57:28 +01:00
Jakub Adamski
28b32e7743 zmiana kuba 2021-02-02 22:14:42 +01:00
MikoPat
5d82f85c67 poprawki_mikolaj 2021-02-02 18:12:21 +01:00
s444417
9e67f36e8b update diagg uc2 2021-02-02 17:36:10 +01:00
Dominik
a8fad8b010 Zmiany Po spotkaniu z Kubisem 8-X 2021-02-02 14:38:14 +01:00
s444417
86b8572a76 task8 2021-02-02 12:31:09 +01:00
MikoPat
55c340632c 7-X managerProduktow 2021-02-01 23:34:53 +01:00
MikoPat
27c496c635 desin_model_mikolaj 2021-02-01 23:16:00 +01:00
Jakub Adamski
43f7c5c160 Mikolaj Kuba zmiany 2021-02-01 15:12:44 +01:00
Dominik
ca662b7e57 PDK uc8 2021-01-31 22:07:16 +01:00
s444417
b469908684 projektowy diagram klas uc2 2021-01-31 20:17:42 +01:00
MikoPat
96dc28c2ea diagram_9_X 2021-01-31 15:32:36 +01:00
MikoPat
9638c2a4ab diagram_9-X_8 2021-01-31 13:49:53 +01:00
s444417
f527d190d3 merge diagrams 2021-01-31 13:33:39 +01:00
MikoPat
316d1f4914 diagram_9-X_6 2021-01-31 12:45:06 +01:00
Dominik
de4fdaa2cf Fix? 2021-01-31 12:38:49 +01:00
MikoPat
cc1c527ba6 diagram_9-X_5 2021-01-31 12:01:20 +01:00
MikoPat
3d054df7a7 diagram_9-X_4 2021-01-31 11:58:11 +01:00
MikoPat
96bcb235ee diagram_9-X_3 2021-01-31 11:56:50 +01:00
MikoPat
f39407715f diagram_9-X_2 2021-01-31 11:47:51 +01:00
MikoPat
a2dc6c1f7c diagram_9-X 2021-01-31 11:46:07 +01:00
s444417
775091200d diagram uc2 2021-01-31 11:39:34 +01:00
s444417
6a38d943d2 merge 2021-01-31 11:28:43 +01:00
s444417
d8b2380b62 interaction diagram uc2 2021-01-31 11:25:35 +01:00
Dominik
209f83fa6b Added rest of the Diagrams for UC-8 2021-01-31 01:11:58 +01:00
Dominik
f075d6819d Test commit with 8-4 2021-01-31 00:38:15 +01:00
2e5fd4f9a5 Update 'system-events.md' 2021-01-30 00:58:09 +01:00
ecb6ef95f9 Update system-events
Usunięcie dwóch zbędnych zdarzeń w UC 8
2021-01-29 22:56:08 +01:00
s444417
d7907f64ba add diagrams UC2 2021-01-27 17:24:39 +01:00
s444417
6c7cd705b9 seq diag2 2021-01-27 10:40:19 +01:00
s444417
5532ab60c1 merge 2021-01-27 10:39:40 +01:00
s444417
e9cd45a418 seq diag update 2021-01-27 10:12:19 +01:00
MikoPat
bee4d2b03b Merge git.wmi.amu.edu.pl:s444417/Automat_spozywczy 2021-01-26 18:58:36 +01:00
Jakub Adamski
d1cbc70d7e UC7 sequence working 2021-01-26 13:32:56 +01:00
s444417
db14cf42fa seq 2-1 update 2021-01-20 12:05:34 +01:00
s444417
075dbcb383 seq-diagram 2-1 2021-01-20 01:00:49 +01:00
s444417
eff0f255ce design dir 2021-01-19 23:30:58 +01:00
4e41a553dd Zaktualizuj 'system-events.md' 2021-01-19 10:30:01 +01:00
530b99bcf5 Update 'system-events.md' 2021-01-13 22:34:02 +01:00
s444417
541b244a16 events update 2021-01-13 21:28:09 +01:00
s444417
5dbbcc30cc events 2021-01-13 10:56:35 +01:00
s444417
1661542ad4 atrybuty 2021-01-05 21:58:12 +01:00
s444417
d995281bcf Merge branch 'master' of https://git.wmi.amu.edu.pl/s444417/Automat_spozywczy 2020-12-15 21:27:42 +01:00
s444417
ea718d10d5 model update 2020-12-15 21:27:09 +01:00
e702598caf Zaktualizuj 'use-cases.md' 2020-12-09 10:30:00 +01:00
s444417
72d5c34288 klasy konceptualne aktualizacja 2020-12-08 19:31:17 +01:00
Radek
2887b37139 close proj - create file 14.session 2020-12-03 15:54:58 +01:00
Radek
76efbc5c75 create class 2020-12-02 11:21:59 +01:00
Radek
150579ceda create blank models project in OBUML 2020-12-02 11:11:44 +01:00
Radek
e08bea86cd Merge git.wmi.amu.edu.pl:s444417/Automat_spozywczy 2020-12-02 11:07:37 +01:00
Radek
9fffb73b8c create blank models project in OBUML 2020-12-02 11:03:55 +01:00
361d3c1de0 Update 'use-case-4.md'
v1.0
2020-12-02 01:13:10 +01:00
25a9331890 Zaktualizuj 'use-case-2.md' 2020-12-02 00:39:09 +01:00
4da2d0fc57 Zaktualizuj 'use-case-2.md' 2020-12-01 23:48:22 +01:00
513cf34ce1 UC8_Completed 2020-12-01 23:47:39 +01:00
6cb0660f12 Prześlij pliki do '' 2020-12-01 23:47:11 +01:00
99fd1bb3c7 Zaktualizuj 'use-case-9.md' 2020-12-01 21:16:23 +01:00
Jakub Adamski
022e107a0b uc7-done 2020-12-01 18:20:48 +01:00
Jakub Adamski
d9e52037ff Merge branch 'master' of https://git.wmi.amu.edu.pl/s444417/Automat_spozywczy 2020-11-25 11:25:11 +01:00
Jakub Adamski
79b6150ef2 uc-11 delete 2020-11-25 11:25:06 +01:00
a0b91f5641 Zaktualizuj 'use-case-2.md' 2020-11-25 10:40:33 +01:00
3b9b3104d9 Zaktualizuj 'use-case-2.md' 2020-11-25 10:38:14 +01:00
6108ef1711 Zaktualizuj 'use-case-2.md' 2020-11-25 10:36:40 +01:00
0b0bb7fd99 Prześlij pliki do '' 2020-11-25 10:35:26 +01:00
d103594d9b Update UC-8 2020-11-25 08:51:27 +01:00
e0b8f7d1a8 Use-Case-8 2020-11-18 10:56:26 +01:00
216088923a Zaktualizuj 'use-case.md' 2020-11-18 10:54:16 +01:00
f16d0475fa Prześlij pliki do '' 2020-11-18 10:51:32 +01:00
79ecc9bbee use-case-4.md
Create use-case-4.md
2020-11-18 10:47:42 +01:00
e57f7ec012 Prześlij pliki do '' 2020-11-18 10:44:25 +01:00
Jakub Adamski
a69086e0d4 uc11 2020-11-18 10:43:07 +01:00
d6fe682f64 Zaktualizuj 'use-case.md' 2020-11-17 22:57:03 +01:00
MikoPat
429fe68ce5 useCase_1.0 2020-11-17 18:19:23 +01:00
b376f6e993 Zaktualizuj 'use-case.md' 2020-11-15 15:05:57 +01:00
8aa6557cf4 Zaktualizuj 'use-case.md' 2020-11-15 15:00:44 +01:00
e6062d3e92 Zaktualizuj 'use-case.md' 2020-11-15 15:00:10 +01:00
79e55a45be Zaktualizuj 'use-case.md' 2020-11-15 14:59:46 +01:00
536505acbb Zaktualizuj 'use-case.md' 2020-11-15 14:58:02 +01:00
86c19e12fc Zaktualizuj 'use-case.md' 2020-11-15 13:50:04 +01:00
86405c46cc Zaktualizuj 'use-case.md' 2020-11-15 13:45:17 +01:00
ed7dd0a2a9 Zaktualizuj 'use-case.md' 2020-11-15 13:44:51 +01:00
2e4eef7b14 Zaktualizuj 'use-case.md' 2020-11-15 13:43:28 +01:00
5c6e16f33b Zaktualizuj 'use-case.md' 2020-11-15 13:42:42 +01:00
67a1dc9549 Zaktualizuj 'use-case.md' 2020-11-15 13:42:17 +01:00
953acc46c1 Zaktualizuj 'use-case.md' 2020-11-15 13:41:53 +01:00
ac9e6526c9 Zaktualizuj 'use-case.md' 2020-11-15 13:41:34 +01:00
55f0ea6620 Zaktualizuj 'use-case.md' 2020-11-15 13:40:49 +01:00
5bbdd5c3bc Prześlij pliki do '' 2020-11-15 13:35:41 +01:00
MikoPat
14231dd6ff UseCases 2020-11-04 16:32:52 +01:00
56 changed files with 14655 additions and 0 deletions

View File

@ -1,3 +1,47 @@
<<<<<<< HEAD
<<<<<<< HEAD
#**Projekt: Automat**
##Opis skrócony przypadków użycia
**###Aktorzy procesu i ich cele:**
| Aktor | Cel |
|---|---|
| Klient | zakup produktów |
| Zaopatrzeniowiec | Uzupełnienie brakujących produktów (lub tych które się kończą) i aktualizuje stanu maszyny (w tym gotówkę) |
| Serwisant | Przeprowadzenie serwisu automatu |
| System płatniczy | Realizacja transakcji gotówkowych i płatności kartą |
**###Słownik:**
| Hasło | Opis |
|---|---|
| Serwisant | odpowiedzialna za utrzymanie poprawnego działania automatu, wsparcie techniczne |
###UseCases:
1. **Use Case 1: Automat -**
Wysłanie komunikatu do magazynu o braku/kończeniu się produktów (pojedyńcze zdarzenie czy use case?) (Trigger do innego use case)
2. **Use Case 2: Klient **
Zakup gotowego produktu (batonik, puszka etc.)
3. **Use Case 3: Klient **
Zakup przygotowego produktu (kawa etc.)
4. **Use Case4: Serwisant **
Przeprowadzenie serwisu automatu (tylko rzeczy systemowe, bez mechanicznych)
5. **Use Case5: Dostawca **
Odebranie/Dodanie pieniędzy z automatu(zatwierdzenie pobranej/dodanej wartości w systemie)
6. **Use Case6: Dostawca **
Dokładanie towaru do automatu(potwierdzenie stanu, który automatycznie uzupełnia ilość za pomocą czujników)
7. **Use Case7: Serwisant **
Naprawa automatu w przypadku awarii (awaria systemu) (wyłączenie automatu jako osobny use case)(lista błędów)
=======
=======
# **Projekt: Automat**
## Opis skrócony przypadków użycia
@ -62,5 +106,7 @@ Automat jest odporny na pojawienie się błędów systemowych podczas działania
**Use Case 12 Automat - Alarm przy próbie włamania**
Automat za pomocą specjalnego czujnika wykrywa nieautoryzowane otwarcie. Oznacza to próbę włamania. Automat włącza alarm dźwiękowy oraz wysyła powiadomienie z dokładnym czasem oraz identyfikatorem maszyny. Serwisant otrzymuje powiadomienie w specjalnym systemie i jest w stanie wyłączyć alarm dźwiękowy zdalnie.
<<<<<<< HEAD

BIN
models/.models.prj.swp Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
{
"CurrentProjectSetting": null
}

View File

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\models.prj",
"PreviewInSolutionExplorer": false
}

BIN
models/.vs/models/v16/.suo Normal file

Binary file not shown.

BIN
models/.vs/slnx.sqlite Normal file

Binary file not shown.

21
models/10.session Normal file
View File

@ -0,0 +1,21 @@
window_sizes 1920 1027 357 1558 870 104
diagrams
sequencediagram_ref 141450 // 9-3.2-modyfikujProdukt
1161 703 100 A3 0 0
sequencediagram_ref 141322 // 9-2.2-wybranieProduktu
1246 696 100 A4 0 0
sequencediagram_ref 134794 // 9-3.1-modyfikujRamyCzasowe
1246 696 100 A3 0 0
sequencediagram_ref 128138 // 9-2.1-wybranieRamCzasowych
1246 696 100 A3 0 0
active sequencediagram_ref 128010 // 9-1-wybranieOpcjiGenerujRaport
1246 696 100 A1 0 0
end
show_stereotypes
selected sequencediagram_ref 128010 // 9-1-wybranieOpcjiGenerujRaport
open
class_ref 128010 // Zaopatrzeniowiec
class_ref 148780 // RaportZakonczeniaNaprawy
end
end

62
models/128010.diagram Normal file
View File

@ -0,0 +1,62 @@
format 224
classinstance 128013 class_ref 128141 // DzialZaopatrzeniowy
name "" xyz 1971 43 2000 life_line_z 2000
classinstance 128266 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 12.6185 25.5161 2000 life_line_z 2000
classinstance 129802 class_ref 128394 // AutomatKontroler
name "" xyz 578.032 53.1331 2000 life_line_z 2000
classinstance 131082 class_ref 128522 // RaportSprzedazy
name "" xyz 1805.78 53.53 2000 life_line_z 2000
classinstance 131466 class_ref 135178 // ManegerRaportow
name "" xyz 1166 51 2000 life_line_z 2000
durationcanvas 129930 classinstance_ref 128266 // :Zaopatrzeniowiec
xyzwh 67 130 2010 11 64
end
durationcanvas 130058 classinstance_ref 129802 // :AutomatKontroler
xyzwh 637 142 2010 11 126
end
durationcanvas 131594 classinstance_ref 131466 // :ManegerRaportow
xyzwh 1228 194 2010 11 294
end
durationcanvas 132106 classinstance_ref 131082 // :RaportSprzedazy
xyzwh 1864 241 2010 11 126
end
durationcanvas 132874 classinstance_ref 128013 // :DzialZaopatrzeniowy
xyzwh 2037 414 2010 11 62
end
msg 130186 synchronous
from durationcanvas_ref 129930
to durationcanvas_ref 130058
yz 163 2015 explicitmsg "1. generujRaportSprzedazy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:DataPoczatek,data:DataKoniec,idProdukt:Produkt"
label_xy 84 148
msg 131722 synchronous
from durationcanvas_ref 130058
to durationcanvas_ref 131594
yz 231 2020 explicitmsg "1.1. generujRaportSprzedazy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:DataPoczatek,data:DataKoniec,idProdukt:Produkt"
label_xy 657 212
msg 132234 synchronous
from durationcanvas_ref 131594
to durationcanvas_ref 132106
yz 283 2015 explicitmsg "1.1.1 <<create>> RaportSprzedazy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:DataPoczatek,data:DataKoniec,idProdukt:Produkt"
label_xy 1248 265
msg 133002 synchronous
from durationcanvas_ref 131594
to durationcanvas_ref 132874
yz 451 2015 explicitmsg "1.1.2 wyslijRaport()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "raport: RaportSprzedazy"
label_xy 1382 434
msg 133130 return
from durationcanvas_ref 132106
to durationcanvas_ref 131594
yz 356 2015 explicitmsg "stworzonoRaport()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 1308 339
end

46
models/128013.diagram Normal file
View File

@ -0,0 +1,46 @@
format 224
classinstance 132109 class_ref 128394 // AutomatKontroler
name "" xyz 385 35 2000 life_line_z 2000
classinstance 133005 class_ref 165122 // ManagerProduktow
name "" xyz 705 34 2000 life_line_z 2000
classinstance 133901 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 96 17 2000 life_line_z 2000
durationcanvas 135565 classinstance_ref 133901 // :Zaopatrzeniowiec
xyzwh 151 133 2010 11 40
end
durationcanvas 135693 classinstance_ref 132109 // :AutomatKontroler
xyzwh 444 133 2010 11 88
end
durationcanvas 136205 classinstance_ref 133005 // :ManagerProduktow
xyzwh 770 147 2010 11 134
overlappingdurationcanvas 136717
xyzwh 776 248 2020 11 25
end
end
msg 135821 synchronous
from durationcanvas_ref 135565
to durationcanvas_ref 135693
yz 133 2015 explicitmsg "startDodajProdukty()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "haslo: String"
label_xy 192 116
msg 136333 synchronous
from durationcanvas_ref 135693
to durationcanvas_ref 136205
yz 147 2015 explicitmsg "sprawdzHaslo()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "haslo: String"
label_xy 518 130
reflexivemsg 136845 synchronous
to durationcanvas_ref 136717
yz 248 2025 explicitmsg "gotowoscOtrzymaniaTowarow()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 801 226
msg 136973 return
from durationcanvas_ref 136205
to durationcanvas_ref 135693
yz 201 2025 explicitmsg "logowanie(status: Boolean)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 526 184
end

327
models/128014.diagram Normal file
View File

@ -0,0 +1,327 @@
format 223
classcanvas 128002 class_ref 128002 // Karta_platnicza
classdiagramsettings member_max_width 0 end
xyz 958.37 1057.87 2000
end
classcanvas 128142 class_ref 128142 // Klient
classdiagramsettings member_max_width 0 end
xyz 799.49 572.57 2000
end
classcanvas 128270 class_ref 128270 // Produkt_gotowy
classdiagramsettings member_max_width 0 end
xyz 1452.43 1536.52 2000
end
classcanvas 128398 class_ref 128398 // Produky_do_przygotowania
classdiagramsettings member_max_width 0 end
xyz 1712.76 1311.75 2000
end
classcanvas 128514 class_ref 128514 // Kasetka
classdiagramsettings member_max_width 0 end
xyz 416.1 449.56 2000
end
classcanvas 128526 class_ref 128526 // Sprzedaz
classdiagramsettings member_max_width 0 end
xyzwh 1193.94 569.16 2000 221 57
end
classcanvas 128654 class_ref 128654 // Terminal
classdiagramsettings member_max_width 0 end
xyz 985.84 864.55 2000
end
classcanvas 128770 class_ref 128770 // Produkt
classdiagramsettings member_max_width 0 end
xyzwh 1456.25 1220.94 2000 146 125
end
classcanvas 128898 class_ref 128898 // Dzial_serwisowy
classdiagramsettings member_max_width 0 end
xyz 1440.6 185.84 2000
end
classcanvas 129026 class_ref 129026 // Monety_klienta
classdiagramsettings member_max_width 0 end
xyz 819.19 773.75 2000
end
classcanvas 129038 class_ref 129038 // Zaopatrzeniowiec
classdiagramsettings member_max_width 0 end
xyz 427.04 1242.63 2000
end
classcanvas 129166 class_ref 129166 // Serwisant
classdiagramsettings member_max_width 0 end
xyz 1462.34 317.3 2000
end
classcanvas 129282 class_ref 129282 // Alarm
classdiagramsettings member_max_width 0 end
xyz 1891.59 608.86 2000
end
classcanvas 129294 class_ref 129294 // Dzial_zaopatrzeniowy
classdiagramsettings member_max_width 0 end
xyz 786.35 1173.42 2000
end
classcanvas 129410 class_ref 129410 // Proba_wlamanie
classdiagramsettings member_max_width 0 end
xyz 1580.02 786.45 2000
end
classcanvas 129550 class_ref 129550 // Saldo_klienta
classdiagramsettings member_max_width 0 end
xyz 678.16 905.3 2005
end
classcanvas 129666 class_ref 129666 // Awaria
classdiagramsettings member_max_width 0 end
xyz 1816.19 454.44 2000
end
classcanvas 129678 class_ref 129678 // Raport_statu_magazynowego
classdiagramsettings member_max_width 0 end
xyz 1157.1 1169.66 2000
end
classcanvas 130050 class_ref 130050 // Procedura_przygotowania_produktu
classdiagramsettings member_max_width 0 end
xyz 2041.92 1306.15 2000
end
classcanvas 130178 class_ref 136578 // Raport_o_awarii
classdiagramsettings member_max_width 0 end
xyz 1727.98 179.31 2000
end
classcanvas 130562 class_ref 136962 // Raport_sprzedazy
classdiagramsettings member_max_width 0 end
xyz 1056.64 294.84 2000
end
classcanvas 130690 class_ref 137090 // Czujnik_wlamaniowy
classdiagramsettings member_max_width 0 end
xyz 1563.69 611.38 2000
end
classcanvas 131586 class_ref 144002 // Platnosc
classdiagramsettings member_max_width 0 end
xyz 976.98 659.62 2000
end
classcanvas 135298 class_ref 128014 // Automat
classdiagramsettings member_max_width 0 end
xyzwh 1417.12 441.58 2000 175 77
end
classcanvas 139394 class_ref 144130 // Gotowka_automatu
classdiagramsettings member_max_width 0 end
xyz 640.38 456 2000
end
classcanvas 140290 class_ref 144258 // Blad_wprowadzania_gotowki
classdiagramsettings member_max_width 0 end
xyz 556.14 1085.55 2000
end
classcanvas 148354 class_ref 129422 // Zwrot_monet
classdiagramsettings member_max_width 0 end
xyz 824.6 994.13 2000
end
classcanvas 149378 class_ref 150786 // Nominal
classdiagramsettings member_max_width 0 end
xyz 806.88 371.62 2000
end
relationcanvas 132866 relation_ref 129026 // Wplacanie
decenter_begin 349
decenter_end 699
from ref 129026 z 2006 label "Wplacanie" italic max_width 255 xyz 756 857 2006 to ref 129550
no_role_a no_role_b
multiplicity_a_pos 751 879 3000 multiplicity_b_pos 821 827 3000
end
relationcanvas 133250 relation_ref 129410 // Skanuje
decenter_begin 430
from ref 128654 z 2001 label "Skanuje" italic max_width 255 xyz 983 971 2001 to ref 128002
no_role_a no_role_b
multiplicity_a_pos 993 1032 3000 multiplicity_b_pos 991 916 3000
end
relationcanvas 133890 relation_ref 129666 // Podlega
decenter_begin 531
decenter_end 485
from ref 128398 z 2001 label "Podlega" italic max_width 255 xyz 1967 1318 2001 to ref 130050
no_role_a no_role_b
multiplicity_a_pos 2015 1342 3000 multiplicity_b_pos 1934 1343 3000
end
relationcanvas 134914 relation_ref 130562 // Jest_realizowana
from ref 129026 z 2001 label "Jest_realizowana" italic max_width 255 xyz 833 721 2001 to ref 131586
no_role_a no_role_b
multiplicity_a_pos 951 713 3000 multiplicity_b_pos 921 771 3000
end
relationcanvas 135042 relation_ref 130690 // Jest_realizowana
decenter_end 423
from ref 131586 z 2001 label "Jest_realizowana" italic max_width 255 xyz 960 770 2001 to ref 128654
no_role_a no_role_b
multiplicity_a_pos 991 839 3000 multiplicity_b_pos 988 724 3000
end
relationcanvas 136066 relation_ref 131074 // <Zawiera
from ref 131586 z 2001 label "<Zawiera" italic max_width 255 xyz 1078 626 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1182 629 3000 multiplicity_b_pos 1063 680 3000
end
relationcanvas 136194 relation_ref 131202 // Dokonuje
decenter_begin 441
decenter_end 535
from ref 135298 z 2001 label "Dokonuje" italic max_width 255 xyz 1370 535 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1323 543 3000 multiplicity_b_pos 1471 523 3000
end
relationcanvas 136322 relation_ref 131330 // Dokonuje
from ref 128142 z 2001 label "Dokonuje" italic max_width 255 xyz 883 627 2001 to ref 131586
no_role_a no_role_b
multiplicity_a_pos 957 683 3000 multiplicity_b_pos 859 632 3000
end
relationcanvas 136450 relation_ref 131458 // Uczestniczy>
from ref 128526 z 2001 label "Uczestniczy>" italic max_width 255 xyz 976 579 2001 to ref 128142
no_role_a no_role_b
multiplicity_a_pos 859 617 3000 multiplicity_b_pos 1174 607 3000
end
relationcanvas 136962 relation_ref 131714 // Otrzymuje
decenter_end 546
from ref 129678 z 2001 label "Otrzymuje" italic max_width 255 xyz 1023 1174 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 966 1205 3000 multiplicity_b_pos 1129 1205 3000
end
relationcanvas 137346 relation_ref 132098 // <Generuje
from ref 135298 z 2001 label "<Generuje" italic max_width 255 xyz 1294 385 2001 to ref 130562
no_role_a no_role_b
multiplicity_a_pos 1259 383 3000 multiplicity_b_pos 1394 457 3000
end
relationcanvas 138498 relation_ref 132738 // Jest
decenter_begin 901
decenter_end 523
from ref 128770 z 2001 label "Jest" italic max_width 255 xyz 1658 1311 2001 to ref 128398
no_role_a no_role_b
multiplicity_a_pos 1671 1343 3000 multiplicity_b_pos 1615 1341 3000
end
relationcanvas 138626 relation_ref 132866 // Jest
decenter_end 555
from ref 128770 z 2001 label "Jest" italic max_width 255 xyz 1509 1420 2001 to ref 128270
no_role_a no_role_b
multiplicity_a_pos 1484 1511 3000 multiplicity_b_pos 1500 1352 3000
end
relationcanvas 138754 relation_ref 132994 // Dodaje
from ref 128770 z 2001 label "Dodaje" italic max_width 255 xyz 980.5 1267 2001 to ref 129038
no_role_a no_role_b
multiplicity_a_pos 580 1297 3000 multiplicity_b_pos 1415 1290 3000
end
relationcanvas 138882 relation_ref 133122 // Ma
decenter_begin 483
decenter_end 578
from ref 128770 z 2001 label "Ma" italic max_width 255 xyz 1509 848 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1494 526 3000 multiplicity_b_pos 1487 1193 3000
end
relationcanvas 139522 relation_ref 133506 // <Posiada
from ref 135298 z 2001 label "<Posiada" italic max_width 255 xyz 1069 466 2001 to ref 139394
no_role_a no_role_b
multiplicity_a_pos 803 492 3000 multiplicity_b_pos 1393 489 3000
end
relationcanvas 139650 relation_ref 133634 // <Laduje
from ref 139394 z 2001 label "<Laduje" italic max_width 255 xyz 579 466 2001 to ref 128514
no_role_a no_role_b
multiplicity_a_pos 591 493 3000 multiplicity_b_pos 599 493 3000
end
relationcanvas 140930 relation_ref 134274 // Ma
decenter_end 578
from ref 129666 z 2001 label "Ma" italic max_width 255 xyz 1689 463 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1606 495 3000 multiplicity_b_pos 1775 491 3000
end
relationcanvas 141186 relation_ref 134402 // <Wywoluje
decenter_end 558
from ref 130178 z 2001 to point 1790.6 396.4
line 149122 z 2001 label "<Wywoluje" italic max_width 255 xyz 1796 377 2001 to point 1870.6 397.2
line 148994 z 2001 to ref 129666
no_role_a no_role_b
multiplicity_a_pos 1848 430 3000 multiplicity_b_pos 1766 242 3000
end
relationcanvas 141314 relation_ref 134530 // Otrzymuje
from ref 128898 z 2001 label "Otrzymuje" italic max_width 255 xyz 1614 186 2001 to ref 130178
no_role_a no_role_b
multiplicity_a_pos 1686 216 3000 multiplicity_b_pos 1587 216 3000
end
relationcanvas 141442 relation_ref 134658 // Wysyla
decenter_end 490
from ref 128898 z 2001 label "Wysyla" italic max_width 255 xyz 1473 264 2001 to ref 129166
no_role_a no_role_b
multiplicity_a_pos 1464 292 3000 multiplicity_b_pos 1479 236 3000
end
relationcanvas 141570 relation_ref 134786 // Naprawia
decenter_begin 507
from ref 129166 z 2001 label "Naprawia" italic max_width 255 xyz 1470 392 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1479 417 3000 multiplicity_b_pos 1465 368 3000
end
relationcanvas 141954 relation_ref 134914 // Posiada
from ref 135298 z 2001 label "Posiada" italic max_width 255 xyz 1549 545 2001 to ref 130690
no_role_a no_role_b
multiplicity_a_pos 1575 586 3000 multiplicity_b_pos 1521 526 3000
end
relationcanvas 142082 relation_ref 135042 // Aktywuje^
decenter_end 504
from ref 130690 z 2001 label "Aktywuje^" italic max_width 255 xyz 1608 699 2001 to ref 129410
no_role_a no_role_b
multiplicity_a_pos 1619 760 3000 multiplicity_b_pos 1603 663 3000
end
relationcanvas 142978 relation_ref 135426 // Dodawanie^
decenter_end 333
from ref 139394 z 2006 label "Dodawanie^" italic max_width 255 xyz 674 691 2006 to ref 129550
no_role_a no_role_b
multiplicity_a_pos 688 880 3000 multiplicity_b_pos 690 520 3000
end
relationcanvas 143362 relation_ref 135554 // Dotyczy
decenter_begin 231
decenter_end 958
from ref 128770 z 2001 label "Dotyczy" italic max_width 255 xyz 1421 901 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1381 633 3000 multiplicity_b_pos 1465 1193 3000
end
relationcanvas 143618 relation_ref 135682 // <Wysyla
decenter_end 52
from ref 129038 z 2001 label "<Wysyla" italic max_width 255 xyz 644.5 1200 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 764 1220 3000 multiplicity_b_pos 580 1274 3000
end
relationcanvas 143746 relation_ref 135810 // Oproznia^
decenter_end 495
from ref 128514 z 2001 label "Oproznia^" italic max_width 255 xyz 459.5 862 2001 to ref 129038
no_role_a no_role_b
multiplicity_a_pos 469 1217 3000 multiplicity_b_pos 469 534 3000
end
relationcanvas 145282 relation_ref 136066 // Generuje
decenter_end 331
from ref 129678 z 2001 label "Generuje" italic max_width 255 xyz 1234 877 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1243 633 3000 multiplicity_b_pos 1226 1145 3000
end
relationcanvas 146562 relation_ref 136194 // Aktywuje
from ref 130690 z 2001 label "Aktywuje" italic max_width 255 xyz 1776 613 2001 to ref 129282
no_role_a no_role_b
multiplicity_a_pos 1865 638 3000 multiplicity_b_pos 1739 639 3000
end
relationcanvas 147074 relation_ref 136450 // Otrzymuje
decenter_begin 685
from ref 130562 z 2001 label "Otrzymuje" italic max_width 255 xyz 332 867 2001 to point 373 345.6
line 147202 z 2001 to point 369.8 1351.4
line 147458 z 2001 to point 861.4 1355.6
line 147330 z 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 843 1224 3000 multiplicity_b_pos 1025 354 3000
end
relationcanvas 148482 relation_ref 143618 // Wywoluje
from ref 140290 z 2001 label "Wywoluje" italic max_width 255 xyz 735 1041 2001 to ref 148354
no_role_a no_role_b
multiplicity_a_pos 797 1039 3000 multiplicity_b_pos 723 1088 3000
end
relationcanvas 148610 relation_ref 143746 // Oddaje
decenter_begin 527
from ref 148354 z 2001 label "Oddaje" italic max_width 255 xyz 852 892 2001 to ref 129026
no_role_a no_role_b
multiplicity_a_pos 840 838 3000 multiplicity_b_pos 854 968 3000
end
relationcanvas 150018 relation_ref 156802 // Dotyczy
from ref 129678 z 2001 label "Dotyczy" italic max_width 255 xyz 1375 1241 2001 to ref 128770
no_role_a no_role_b
multiplicity_a_pos 1416 1268 3000 multiplicity_b_pos 1368 1238 3000
end
relationcanvas 150274 relation_ref 156930 // Dotyczy
decenter_begin 136
decenter_end 800
from ref 130562 z 2001 label "Dotyczy" italic max_width 255 xyz 243 867 2001 to point 273 308
line 150402 z 2001 to point 270.6 1419.8
line 150530 z 2001 to point 859.8 1420.6
line 151170 z 2001 to ref 128770
no_role_a no_role_b
multiplicity_a_pos 1416 1327 3000 multiplicity_b_pos 1011 313 3000
end
end

327
models/128014_14.d Normal file
View File

@ -0,0 +1,327 @@
format 224
classcanvas 128002 class_ref 128002 // Karta_platnicza
classdiagramsettings member_max_width 0 end
xyz 958.37 1057.87 2000
end
classcanvas 128142 class_ref 128142 // Klient
classdiagramsettings member_max_width 0 end
xyz 799.49 572.57 2000
end
classcanvas 128270 class_ref 128270 // Produkt_gotowy
classdiagramsettings member_max_width 0 end
xyz 1452.43 1536.52 2000
end
classcanvas 128398 class_ref 128398 // Produky_do_przygotowania
classdiagramsettings member_max_width 0 end
xyz 1712.76 1311.75 2000
end
classcanvas 128514 class_ref 128514 // Kasetka
classdiagramsettings member_max_width 0 end
xyz 416.1 449.56 2000
end
classcanvas 128526 class_ref 128526 // Sprzedaz
classdiagramsettings member_max_width 0 end
xyzwh 1193.94 569.16 2000 221 57
end
classcanvas 128654 class_ref 128654 // Terminal
classdiagramsettings member_max_width 0 end
xyz 985.84 864.55 2000
end
classcanvas 128770 class_ref 128770 // Produkt
classdiagramsettings member_max_width 0 end
xyzwh 1456.25 1220.94 2000 146 125
end
classcanvas 128898 class_ref 128898 // Dzial_serwisowy
classdiagramsettings member_max_width 0 end
xyz 1440.6 185.84 2000
end
classcanvas 129026 class_ref 129026 // Monety_klienta
classdiagramsettings member_max_width 0 end
xyz 819.19 773.75 2000
end
classcanvas 129038 class_ref 129038 // Zaopatrzeniowiec
classdiagramsettings member_max_width 0 end
xyz 427.04 1242.63 2000
end
classcanvas 129166 class_ref 129166 // Serwisant
classdiagramsettings member_max_width 0 end
xyz 1462.34 317.3 2000
end
classcanvas 129282 class_ref 129282 // Alarm
classdiagramsettings member_max_width 0 end
xyz 1891.59 608.86 2000
end
classcanvas 129294 class_ref 129294 // Dzial_zaopatrzeniowy
classdiagramsettings member_max_width 0 end
xyz 786.35 1173.42 2000
end
classcanvas 129410 class_ref 129410 // Proba_wlamanie
classdiagramsettings member_max_width 0 end
xyz 1580.02 786.45 2000
end
classcanvas 129550 class_ref 129550 // Saldo_klienta
classdiagramsettings member_max_width 0 end
xyz 678.16 905.3 2005
end
classcanvas 129666 class_ref 129666 // Awaria
classdiagramsettings member_max_width 0 end
xyz 1816.19 454.44 2000
end
classcanvas 129678 class_ref 129678 // Raport_statu_magazynowego
classdiagramsettings member_max_width 0 end
xyz 1157.1 1169.66 2000
end
classcanvas 130050 class_ref 130050 // Procedura_przygotowania_produktu
classdiagramsettings member_max_width 0 end
xyz 2041.92 1306.15 2000
end
classcanvas 130178 class_ref 136578 // Raport_o_awarii
classdiagramsettings member_max_width 0 end
xyz 1727.98 179.31 2000
end
classcanvas 130562 class_ref 136962 // Raport_sprzedazy
classdiagramsettings member_max_width 0 end
xyz 1056.64 294.84 2000
end
classcanvas 130690 class_ref 137090 // Czujnik_wlamaniowy
classdiagramsettings member_max_width 0 end
xyz 1563.69 611.38 2000
end
classcanvas 131586 class_ref 144002 // Platnosc
classdiagramsettings member_max_width 0 end
xyz 976.98 659.62 2000
end
classcanvas 135298 class_ref 128014 // Automat
classdiagramsettings member_max_width 0 end
xyzwh 1417.12 441.58 2000 175 77
end
classcanvas 139394 class_ref 144130 // Gotowka_automatu
classdiagramsettings member_max_width 0 end
xyz 640.38 456 2000
end
classcanvas 140290 class_ref 144258 // Blad_wprowadzania_gotowki
classdiagramsettings member_max_width 0 end
xyz 556.14 1085.55 2000
end
classcanvas 148354 class_ref 129422 // Zwrot_monet
classdiagramsettings member_max_width 0 end
xyz 824.6 994.13 2000
end
classcanvas 149378 class_ref 150786 // Nominal
classdiagramsettings member_max_width 0 end
xyz 806.88 371.62 2000
end
relationcanvas 132866 relation_ref 129026 // Wplacanie
decenter_begin 349
decenter_end 699
from ref 129026 z 2006 label "Wplacanie" italic max_width 255 xyz 756 857 2006 to ref 129550
no_role_a no_role_b
multiplicity_a_pos 751 879 3000 multiplicity_b_pos 821 827 3000
end
relationcanvas 133250 relation_ref 129410 // Skanuje
decenter_begin 430
from ref 128654 z 2001 label "Skanuje" italic max_width 255 xyz 983 971 2001 to ref 128002
no_role_a no_role_b
multiplicity_a_pos 993 1032 3000 multiplicity_b_pos 991 916 3000
end
relationcanvas 133890 relation_ref 129666 // Podlega
decenter_begin 531
decenter_end 485
from ref 128398 z 2001 label "Podlega" italic max_width 255 xyz 1967 1318 2001 to ref 130050
no_role_a no_role_b
multiplicity_a_pos 2015 1342 3000 multiplicity_b_pos 1934 1343 3000
end
relationcanvas 134914 relation_ref 130562 // Jest_realizowana
from ref 129026 z 2001 label "Jest_realizowana" italic max_width 255 xyz 833 721 2001 to ref 131586
no_role_a no_role_b
multiplicity_a_pos 951 713 3000 multiplicity_b_pos 921 771 3000
end
relationcanvas 135042 relation_ref 130690 // Jest_realizowana
decenter_end 423
from ref 131586 z 2001 label "Jest_realizowana" italic max_width 255 xyz 960 770 2001 to ref 128654
no_role_a no_role_b
multiplicity_a_pos 991 839 3000 multiplicity_b_pos 988 724 3000
end
relationcanvas 136066 relation_ref 131074 // <Zawiera
from ref 131586 z 2001 label "<Zawiera" italic max_width 255 xyz 1078 626 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1182 629 3000 multiplicity_b_pos 1063 680 3000
end
relationcanvas 136194 relation_ref 131202 // Dokonuje
decenter_begin 441
decenter_end 535
from ref 135298 z 2001 label "Dokonuje" italic max_width 255 xyz 1370 535 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1323 543 3000 multiplicity_b_pos 1471 523 3000
end
relationcanvas 136322 relation_ref 131330 // Dokonuje
from ref 128142 z 2001 label "Dokonuje" italic max_width 255 xyz 883 627 2001 to ref 131586
no_role_a no_role_b
multiplicity_a_pos 957 683 3000 multiplicity_b_pos 859 632 3000
end
relationcanvas 136450 relation_ref 131458 // Uczestniczy>
from ref 128526 z 2001 label "Uczestniczy>" italic max_width 255 xyz 976 579 2001 to ref 128142
no_role_a no_role_b
multiplicity_a_pos 859 617 3000 multiplicity_b_pos 1174 607 3000
end
relationcanvas 136962 relation_ref 131714 // Otrzymuje
decenter_end 546
from ref 129678 z 2001 label "Otrzymuje" italic max_width 255 xyz 1023 1174 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 966 1205 3000 multiplicity_b_pos 1129 1205 3000
end
relationcanvas 137346 relation_ref 132098 // <Generuje
from ref 135298 z 2001 label "<Generuje" italic max_width 255 xyz 1294 385 2001 to ref 130562
no_role_a no_role_b
multiplicity_a_pos 1259 383 3000 multiplicity_b_pos 1394 457 3000
end
relationcanvas 138498 relation_ref 132738 // Jest
decenter_begin 901
decenter_end 523
from ref 128770 z 2001 label "Jest" italic max_width 255 xyz 1658 1311 2001 to ref 128398
no_role_a no_role_b
multiplicity_a_pos 1671 1343 3000 multiplicity_b_pos 1615 1341 3000
end
relationcanvas 138626 relation_ref 132866 // Jest
decenter_end 555
from ref 128770 z 2001 label "Jest" italic max_width 255 xyz 1509 1420 2001 to ref 128270
no_role_a no_role_b
multiplicity_a_pos 1484 1511 3000 multiplicity_b_pos 1500 1352 3000
end
relationcanvas 138754 relation_ref 132994 // Dodaje
from ref 128770 z 2001 label "Dodaje" italic max_width 255 xyz 980 1267 2001 to ref 129038
no_role_a no_role_b
multiplicity_a_pos 580 1297 3000 multiplicity_b_pos 1415 1290 3000
end
relationcanvas 138882 relation_ref 133122 // Ma
decenter_begin 483
decenter_end 578
from ref 128770 z 2001 label "Ma" italic max_width 255 xyz 1509 848 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1494 526 3000 multiplicity_b_pos 1487 1193 3000
end
relationcanvas 139522 relation_ref 133506 // <Posiada
from ref 135298 z 2001 label "<Posiada" italic max_width 255 xyz 1069 466 2001 to ref 139394
no_role_a no_role_b
multiplicity_a_pos 803 492 3000 multiplicity_b_pos 1393 489 3000
end
relationcanvas 139650 relation_ref 133634 // <Laduje
from ref 139394 z 2001 label "<Laduje" italic max_width 255 xyz 579 466 2001 to ref 128514
no_role_a no_role_b
multiplicity_a_pos 591 493 3000 multiplicity_b_pos 599 493 3000
end
relationcanvas 140930 relation_ref 134274 // Ma
decenter_end 578
from ref 129666 z 2001 label "Ma" italic max_width 255 xyz 1689 463 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1606 495 3000 multiplicity_b_pos 1775 491 3000
end
relationcanvas 141186 relation_ref 134402 // <Wywoluje
decenter_end 558
from ref 130178 z 2001 to point 1790 396
line 149122 z 2001 label "<Wywoluje" italic max_width 255 xyz 1796 377 2001 to point 1870 397
line 148994 z 2001 to ref 129666
no_role_a no_role_b
multiplicity_a_pos 1848 430 3000 multiplicity_b_pos 1766 242 3000
end
relationcanvas 141314 relation_ref 134530 // Otrzymuje
from ref 128898 z 2001 label "Otrzymuje" italic max_width 255 xyz 1614 186 2001 to ref 130178
no_role_a no_role_b
multiplicity_a_pos 1686 216 3000 multiplicity_b_pos 1587 216 3000
end
relationcanvas 141442 relation_ref 134658 // Wysyla
decenter_end 490
from ref 128898 z 2001 label "Wysyla" italic max_width 255 xyz 1473 264 2001 to ref 129166
no_role_a no_role_b
multiplicity_a_pos 1464 292 3000 multiplicity_b_pos 1479 236 3000
end
relationcanvas 141570 relation_ref 134786 // Naprawia
decenter_begin 507
from ref 129166 z 2001 label "Naprawia" italic max_width 255 xyz 1470 392 2001 to ref 135298
no_role_a no_role_b
multiplicity_a_pos 1479 417 3000 multiplicity_b_pos 1465 368 3000
end
relationcanvas 141954 relation_ref 134914 // Posiada
from ref 135298 z 2001 label "Posiada" italic max_width 255 xyz 1549 545 2001 to ref 130690
no_role_a no_role_b
multiplicity_a_pos 1575 586 3000 multiplicity_b_pos 1521 526 3000
end
relationcanvas 142082 relation_ref 135042 // Aktywuje^
decenter_end 504
from ref 130690 z 2001 label "Aktywuje^" italic max_width 255 xyz 1608 699 2001 to ref 129410
no_role_a no_role_b
multiplicity_a_pos 1619 760 3000 multiplicity_b_pos 1603 663 3000
end
relationcanvas 142978 relation_ref 135426 // Dodawanie^
decenter_end 333
from ref 139394 z 2006 label "Dodawanie^" italic max_width 255 xyz 674 691 2006 to ref 129550
no_role_a no_role_b
multiplicity_a_pos 688 880 3000 multiplicity_b_pos 690 520 3000
end
relationcanvas 143362 relation_ref 135554 // Dotyczy
decenter_begin 231
decenter_end 958
from ref 128770 z 2001 label "Dotyczy" italic max_width 255 xyz 1421 901 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1381 633 3000 multiplicity_b_pos 1465 1193 3000
end
relationcanvas 143618 relation_ref 135682 // <Wysyla
decenter_end 52
from ref 129038 z 2001 label "<Wysyla" italic max_width 255 xyz 644 1200 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 764 1220 3000 multiplicity_b_pos 580 1274 3000
end
relationcanvas 143746 relation_ref 135810 // Oproznia^
decenter_end 495
from ref 128514 z 2001 label "Oproznia^" italic max_width 255 xyz 459 862 2001 to ref 129038
no_role_a no_role_b
multiplicity_a_pos 469 1217 3000 multiplicity_b_pos 469 534 3000
end
relationcanvas 145282 relation_ref 136066 // Generuje
decenter_end 331
from ref 129678 z 2001 label "Generuje" italic max_width 255 xyz 1234 877 2001 to ref 128526
no_role_a no_role_b
multiplicity_a_pos 1243 633 3000 multiplicity_b_pos 1226 1145 3000
end
relationcanvas 146562 relation_ref 136194 // Aktywuje
from ref 130690 z 2001 label "Aktywuje" italic max_width 255 xyz 1776 613 2001 to ref 129282
no_role_a no_role_b
multiplicity_a_pos 1865 638 3000 multiplicity_b_pos 1739 639 3000
end
relationcanvas 147074 relation_ref 136450 // Otrzymuje
decenter_begin 685
from ref 130562 z 2001 label "Otrzymuje" italic max_width 255 xyz 332 867 2001 to point 373 345
line 147202 z 2001 to point 369 1351
line 147458 z 2001 to point 861 1355
line 147330 z 2001 to ref 129294
no_role_a no_role_b
multiplicity_a_pos 843 1224 3000 multiplicity_b_pos 1025 354 3000
end
relationcanvas 148482 relation_ref 143618 // Wywoluje
from ref 140290 z 2001 label "Wywoluje" italic max_width 255 xyz 735 1041 2001 to ref 148354
no_role_a no_role_b
multiplicity_a_pos 797 1039 3000 multiplicity_b_pos 723 1088 3000
end
relationcanvas 148610 relation_ref 143746 // Oddaje
decenter_begin 527
from ref 148354 z 2001 label "Oddaje" italic max_width 255 xyz 852 892 2001 to ref 129026
no_role_a no_role_b
multiplicity_a_pos 840 838 3000 multiplicity_b_pos 854 968 3000
end
relationcanvas 150018 relation_ref 156802 // Dotyczy
from ref 129678 z 2001 label "Dotyczy" italic max_width 255 xyz 1375 1241 2001 to ref 128770
no_role_a no_role_b
multiplicity_a_pos 1416 1268 3000 multiplicity_b_pos 1368 1238 3000
end
relationcanvas 150274 relation_ref 156930 // Dotyczy
decenter_begin 136
decenter_end 800
from ref 130562 z 2001 label "Dotyczy" italic max_width 255 xyz 243 867 2001 to point 273 308
line 150402 z 2001 to point 270 1419
line 150530 z 2001 to point 859 1420
line 151170 z 2001 to ref 128770
no_role_a no_role_b
multiplicity_a_pos 1416 1327 3000 multiplicity_b_pos 1011 313 3000
end
end

78
models/128044.diagram Normal file
View File

@ -0,0 +1,78 @@
format 224
classinstance 128172 class_ref 128044 // Serwisant
name "" xyz 50 14 2000 life_line_z 2000
classinstance 128300 class_ref 128266 // Automat
name "Automat" xyz 213 7 2005 life_line_z 2000
classinstance 128812 class_ref 128300 // SystemOperacyjny
name "ManagerSystemu" xyz 724 5 2005 life_line_z 2000
classinstance 129324 class_ref 141996 // NaprawaAutomatuKontroler
name "AutomatKontroler" xyz 380 7 2000 life_line_z 2000
classinstance 130348 class_ref 148780 // RaportZakonczeniaNaprawy
name "" xyz 1231 8 2000 life_line_z 2000
classinstance 130732 class_ref 142252 // ManagerNaprawy
name "" xyz 1053 14 2000 life_line_z 2000
durationcanvas 128428 classinstance_ref 128172 // :Serwisant
xyzwh 81 86 2010 11 40
end
durationcanvas 128556 classinstance_ref 128300 // Automat:Automat
xyzwh 269 88 2010 11 92
end
durationcanvas 129452 classinstance_ref 129324 // AutomatKontroler:NaprawaAutomatuKontroler
xyzwh 528 77 2010 11 191
overlappingdurationcanvas 129836
xyzwh 534 121 2020 11 26
end
end
durationcanvas 129580 classinstance_ref 128812 // ManagerSystemu:SystemOperacyjny
xyzwh 845 238 2010 11 51
end
durationcanvas 130860 classinstance_ref 130732 // :ManagerNaprawy
xyzwh 1112 238 2010 11 114
overlappingdurationcanvas 131500
xyzwh 1118 266 2020 11 27
end
end
durationcanvas 130988 classinstance_ref 130348 // :RaportZakonczeniaNaprawy
xyzwh 1325 267 2010 11 26
end
durationcanvas 131244 classinstance_ref 128172 // :Serwisant
xyzwh 81 332 2010 11 26
end
msg 128684 synchronous
from durationcanvas_ref 128428
to durationcanvas_ref 128556
yz 88 2015 explicitmsg "1. zamknijAutomat()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 125 72
msg 129708 synchronous
from durationcanvas_ref 129452
to durationcanvas_ref 129580
yz 238 2015 explicitmsg "1.2 przejdzWStanGotowosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 593 214
msg 129964 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 129836
yz 121 2025 explicitmsg "1.1 SygnalZamknieciaAutomatu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 289 104
msg 131116 synchronous
from durationcanvas_ref 130860
to durationcanvas_ref 130988
yz 267 2015 explicitmsg "<<create>> 1.3. stworzRaportOZakonczeniuNaprawy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 1032 250
msg 131372 return
from durationcanvas_ref 130860
to durationcanvas_ref 131244
yz 332 2015 explicitmsg "1.4 zwrocRaport(raport : RaportZakonczeniaNaprawy)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 373 315
msg 131628 synchronous
from durationcanvas_ref 129580
to durationcanvas_ref 131500
yz 266 3005 explicitmsg "1.2.1. ZakonczenieSerwisu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 851 249
end

38
models/128138.diagram Normal file
View File

@ -0,0 +1,38 @@
format 224
classinstance 128010 class_ref 128394 // AutomatKontroler
name "" xyz 482 14 2000 life_line_z 2000
classinstance 128138 class_ref 135178 // ManegerRaportow
name "" xyz 957 12 2000 life_line_z 2000
classinstance 128266 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 6 7 2000 life_line_z 2000
durationcanvas 128522 classinstance_ref 128010 // :AutomatKontroler
xyzwh 541 116 2010 11 94
overlappingdurationcanvas 129802
xyzwh 547 122 2020 11 53
end
end
durationcanvas 128778 classinstance_ref 128138 // :ManegerRaportow
xyzwh 1019 137 2010 11 101
overlappingdurationcanvas 130314
xyzwh 1025 153 2020 11 64
end
end
durationcanvas 129674 classinstance_ref 128266 // :Zaopatrzeniowiec
xyzwh 61 87 2010 11 105
end
msg 129930 synchronous
from durationcanvas_ref 129674
to durationcanvas_ref 129802
yz 128 2025 explicitmsg "1. 1. wybierzRamyCzasow()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:Data_poczatek,data:Data_koniec"
label_xy 83 112
msg 130442 synchronous
from durationcanvas_ref 129802
to durationcanvas_ref 130314
yz 164 2025 explicitmsg "1.1 wybierzRamyCzasowe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:Data_poczatek,data:Data_koniec"
label_xy 575 151
end

84
models/128141.diagram Normal file
View File

@ -0,0 +1,84 @@
format 224
classinstance 130061 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 20 32 2000 life_line_z 2000
classinstance 130189 class_ref 128394 // AutomatKontroler
name "" xyz 255 43 2000 life_line_z 2000
classinstance 131085 class_ref 165122 // ManagerProduktow
name "" xyz 494 45 2000 life_line_z 2000
classinstance 131981 class_ref 128013 // RaportProduktow
name "" xyz 803 50 2000 life_line_z 2000
classinstance 132877 class_ref 128141 // DzialZaopatrzeniowy
name "" xyz 970 42 2000 life_line_z 2000
durationcanvas 130317 classinstance_ref 130061 // :Zaopatrzeniowiec
xyzwh 75 144 2010 11 40
end
durationcanvas 130445 classinstance_ref 130189 // :AutomatKontroler
xyzwh 314 144 2010 11 53
end
durationcanvas 130829 classinstance_ref 130189 // :AutomatKontroler
xyzwh 314 242 2010 11 62
end
durationcanvas 131213 classinstance_ref 131085 // :ManagerProduktow
xyzwh 559 253 2010 11 67
overlappingdurationcanvas 131725
xyzwh 565 288 2020 11 25
end
end
durationcanvas 132109 classinstance_ref 131085 // :ManagerProduktow
xyzwh 559 361 2010 11 40
end
durationcanvas 132237 classinstance_ref 131981 // :RaportProduktow
xyzwh 862 362 2010 11 60
end
durationcanvas 133261 classinstance_ref 131085 // :ManagerProduktow
xyzwh 559 172 2010 11 25
end
durationcanvas 133517 classinstance_ref 131085 // :ManagerProduktow
xyzwh 559 475 2010 11 40
end
durationcanvas 133645 classinstance_ref 132877 // :DzialZaopatrzeniowy
xyzwh 1036 475 2010 11 25
end
msg 130573 synchronous
from durationcanvas_ref 130317
to durationcanvas_ref 130445
yz 144 2015 explicitmsg "dodajProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produkt: Produkt"
label_xy 97 125
msg 131341 synchronous
from durationcanvas_ref 130829
to durationcanvas_ref 131213
yz 253 2015 explicitmsg "sprawdzProdukty()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 350 236
reflexivemsg 131853 synchronous
to durationcanvas_ref 131725
yz 288 2025 explicitmsg "gotowoscDoZamkniecia()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 581 266
msg 132365 synchronous
from durationcanvas_ref 132109
to durationcanvas_ref 132237
yz 362 2015 explicitmsg "<<create>> RaportProduktow()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produkt: Produkt
data: Data
ilosc: Int"
label_xy 567 333
msg 133389 synchronous
from durationcanvas_ref 130445
to durationcanvas_ref 133261
yz 172 2015 explicitmsg "dodajProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produkt: Produkt"
label_xy 344 155
msg 133773 synchronous
from durationcanvas_ref 133517
to durationcanvas_ref 133645
yz 481 2015 explicitmsg "wyslijRaport()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "raport: RaportProduktow"
label_xy 676 464
end

77
models/128266.diagram Normal file
View File

@ -0,0 +1,77 @@
format 224
classinstance 128010 class_ref 128394 // AutomatKontroler
name "" xyz 221 17 2000 life_line_z 2000
classinstance 128138 class_ref 128266 // Automat
name "" xyz 737 15 2000 life_line_z 2000
classinstance 128266 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 6 7 2000 life_line_z 2000
durationcanvas 128394 classinstance_ref 128266 // :Zaopatrzeniowiec
xyzwh 61 108 2010 11 64
end
durationcanvas 128522 classinstance_ref 128010 // :AutomatKontroler
xyzwh 280 104 2010 11 256
overlappingdurationcanvas 129802
xyzwh 286 287 2020 11 28
end
overlappingdurationcanvas 130058
xyzwh 286 329 2020 11 26
end
end
durationcanvas 128778 classinstance_ref 128138 // :Automat
xyzwh 766 150 2010 11 228
overlappingdurationcanvas 130314
xyzwh 772 304 2020 11 25
end
overlappingdurationcanvas 130570
xyzwh 772 344 2020 11 25
end
end
durationcanvas 129674 classinstance_ref 128266 // :Zaopatrzeniowiec
xyzwh 61 288 2010 11 73
end
msg 128650 synchronous
from durationcanvas_ref 128394
to durationcanvas_ref 128522
yz 116 2015 explicitmsg "1. generujRaportSprzedazy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 81 99
msg 128906 synchronous
from durationcanvas_ref 128522
to durationcanvas_ref 128778
yz 167 2015 explicitmsg "1.1. generujRaportSprzedazy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 353 150
msg 129546 return
from durationcanvas_ref 128778
to durationcanvas_ref 128522
yz 245 2015 explicitmsg "zatwierdzDane()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 406 228
msg 129930 synchronous
from durationcanvas_ref 129674
to durationcanvas_ref 129802
yz 288 2025 explicitmsg "2. modyfikujRamyCzasowe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 91 272
msg 130186 synchronous
from durationcanvas_ref 129674
to durationcanvas_ref 130058
yz 329 2025 explicitmsg "3. modyfikujProkdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 106 314
msg 130442 synchronous
from durationcanvas_ref 129802
to durationcanvas_ref 130314
yz 304 2025 explicitmsg "2.1 modyfikujRamyCzasowe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:Data_poczatek,data:Data_koniec"
label_xy 316 290
msg 130698 synchronous
from durationcanvas_ref 130058
to durationcanvas_ref 130570
yz 344 2025 explicitmsg "3.1 modyfikujProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:Produkt"
label_xy 398 327
end

46
models/128269.diagram Normal file
View File

@ -0,0 +1,46 @@
format 224
classinstance 129677 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 44 28 2000 life_line_z 2000
classinstance 129805 class_ref 128394 // AutomatKontroler
name "" xyz 282 41 2000 life_line_z 2000
classinstance 131213 class_ref 134669 // ManagerAutomatu
name "" xyz 585 41 2000 life_line_z 2000
durationcanvas 129933 classinstance_ref 129677 // :Zaopatrzeniowiec
xyzwh 99 150 2010 11 40
end
durationcanvas 130061 classinstance_ref 129805 // :AutomatKontroler
xyzwh 341 149 2010 11 60
end
durationcanvas 131341 classinstance_ref 131213 // :ManagerAutomatu
xyzwh 646 167 2010 11 238
overlappingdurationcanvas 131597
xyzwh 652 227 2020 11 25
end
overlappingdurationcanvas 131853
xyzwh 652 330 2020 11 25
end
end
msg 130189 synchronous
from durationcanvas_ref 129933
to durationcanvas_ref 130061
yz 150 2015 explicitmsg "zamknijAutomat()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 140 133
msg 131469 synchronous
from durationcanvas_ref 130061
to durationcanvas_ref 131341
yz 167 3005 explicitmsg "zamknijAutomat()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 449 150
reflexivemsg 131725 synchronous
to durationcanvas_ref 131597
yz 227 2025 explicitmsg "sprawdzZamkniecie()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 686 207
reflexivemsg 131981 synchronous
to durationcanvas_ref 131853
yz 330 2025 explicitmsg "gotowoscNaZamowienie()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 686 310
end

16
models/13.session Normal file
View File

@ -0,0 +1,16 @@
window_sizes 1920 1017 450 1465 860 104
show_stereotypes
selected operation_ref 136461 // zamknijAutomat
open
classview_ref 128014 // domain
class_ref 165122 // ManagerProduktow
class_ref 128394 // AutomatKontroler
class_ref 128522 // RaportSprzedazy
class_ref 128013 // RaportProduktow
class_ref 135178 // ManagerRaportow
class_ref 134669 // ManagerAutomatu
class_ref 141197 // <<interface>>ISprzedazStrategiaPlatnosci
class_ref 141325 // SprzedazFactory
end
end

123
models/134542.diagram Normal file
View File

@ -0,0 +1,123 @@
format 224
classinstance 128014 class_ref 191746 // Klient
name "" xyz 32.6 4.7 2000 life_line_z 2000
classinstancecanvas 128142 classinstance_ref 128014 //
xyz 195.1 7 2005 life_line_z 2000
end
classinstancecanvas 128654 classinstance_ref 128142 //
xyz 673 4.3 2005 life_line_z 2000
end
classinstancecanvas 129038 classinstance_ref 128270 //
mortal xyz 521.3 6.9 2010 life_line_z 2000
end
classinstancecanvas 129934 classinstance_ref 128398 //
xyz 825.9 4.3 2005 life_line_z 2000
end
classinstancecanvas 130318 classinstance_ref 128526 //
xyz 982.4 3.4 2005 life_line_z 2000
end
classinstancecanvas 130702 classinstance_ref 128654 //
xyz 1136.6 4 2005 life_line_z 2000
end
note 131726 "wywolanie transakcji na terminalu"
xyzwh 1207 324 2000 159 71
note 132110 "Sprawdzenie aktualnej ceny przed platnoscia"
xyzwh 822 81 3005 185 57
durationcanvas 128270 classinstance_ref 128014 // :Klient
xyzwh 49 84.3 2010 11 328
end
durationcanvas 128398 classinstance_ref 128142 // :AutomatKontroler
xyzwh 254 84.7 2010 11 294
end
durationcanvas 129166 classinstance_ref 129038 // :Sprzedaz
xyzwh 554 129.7 2010 11 229
end
durationcanvas 129678 classinstance_ref 128654 // :KatalogProduktow
xyzwh 735 156.4 2010 11 50
end
durationcanvas 130062 classinstance_ref 129934 // :ProduktyManager
xyzwh 885 169.6 2010 11 35
end
durationcanvas 130446 classinstance_ref 130318 // :Platnosc
xyzwh 1013 234.9 2010 11 95
end
durationcanvas 130830 classinstance_ref 130702 // :TerminalManager
xyzwh 1195 265.2 2010 11 66
overlappingdurationcanvas 131854
xyzwh 1201 277 2020 11 32
end
end
msg 128526 synchronous
from durationcanvas_ref 128270
to durationcanvas_ref 128398
yz 86 2015 explicitmsg "platnoscBezgotowkowa()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produktID:int"
label_xy 56 71
msg 129294 synchronous
from durationcanvas_ref 128398
to durationcanvas_ref 129166
yz 130 2015 explicitmsg "utworzSprzedaz()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produktID:int, czyGotowka:bool, dataRozpoczecia:Date"
label_xy 269 99
msg 129806 synchronous
from durationcanvas_ref 129166
to durationcanvas_ref 129678
yz 160 2015 explicitmsg "podajWartosc()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produktID:int"
label_xy 574 140
msg 130190 synchronous
from durationcanvas_ref 129678
to durationcanvas_ref 130062
yz 173 2020 explicitmsg "znajdz()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "produktID:int"
label_xy 761 152
msg 130574 asynchronous
from durationcanvas_ref 129166
to durationcanvas_ref 130446
yz 241 2015 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Kwota"
label_xy 699 226
msg 130958 synchronous
from durationcanvas_ref 130446
to durationcanvas_ref 130830
yz 266 2015 explicitmsg "dokonajPlatnosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Kwota"
label_xy 1028 247
msg 131086 return
from durationcanvas_ref 130830
to durationcanvas_ref 130446
yz 314 2015 explicitmsg "czyZaakceptowano:bool"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 1034 295
msg 131214 return
from durationcanvas_ref 130446
to durationcanvas_ref 129166
yz 318 2015 explicitmsg "czasPlatnosci:Date,czyZaakceptowano"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 653 302
msg 131342 return
from durationcanvas_ref 129166
to durationcanvas_ref 128398
yz 344 2015 explicitmsg "statusTransakcji:String"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 336 329
msg 131470 return
from durationcanvas_ref 128398
to durationcanvas_ref 128270
yz 366 2020 explicitmsg "komunikatOTrnsakcji:String"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 68 351
reflexivemsg 131982 synchronous
to durationcanvas_ref 131854
yz 277 3005 explicitmsg "uruchomTerminam()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Kwota"
label_xy 1214 290
end

61
models/134572.diagram Normal file
View File

@ -0,0 +1,61 @@
format 224
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz -6 4 2000 life_line_z 2000
classinstance 128428 class_ref 135084 // ModulLogowania
name "" xyz 530 5 2005 life_line_z 2000
classinstance 128556 class_ref 128300 // SystemOperacyjny
name "ManagerSystemu" xyz 757 5 2000 life_line_z 2000
classinstance 131884 class_ref 141996 // NaprawaAutomatuKontroler
name "KontrolerAutomatu" xyz 108 9 2005 life_line_z 2000
durationcanvas 129580 classinstance_ref 128428 // :ModulLogowania
xyzwh 586 82 2010 11 145
overlappingdurationcanvas 130988
xyzwh 592 155 2020 11 25
end
overlappingdurationcanvas 132396
xyzwh 592 107 2020 11 26
end
end
durationcanvas 132012 classinstance_ref 128044 // :Serwisant
xyzwh 25 79 2010 11 40
end
durationcanvas 132140 classinstance_ref 131884 // KontrolerAutomatu:NaprawaAutomatuKontroler
xyzwh 260 79 2010 11 265
end
durationcanvas 132908 classinstance_ref 128556 // ManagerSystemu:SystemOperacyjny
xyzwh 878 283 2010 11 26
end
reflexivemsg 131116 synchronous
to durationcanvas_ref 130988
yz 155 2025 explicitmsg "1.4 weryfikujDaneLogowania()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "ID : int, haslo : string"
label_xy 511 139
msg 132268 synchronous
from durationcanvas_ref 132012
to durationcanvas_ref 132140
yz 79 2015 explicitmsg "1. logowanie()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "ID : int, haslo : string"
label_xy 37 62
msg 132524 synchronous
from durationcanvas_ref 132140
to durationcanvas_ref 132396
yz 107 2025 explicitmsg "1.1. przeslijDaneLogowania()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "ID : int, haslo : string"
label_xy 268 89
msg 133036 synchronous
from durationcanvas_ref 132140
to durationcanvas_ref 132908
yz 283 2015 explicitmsg "1.5 przelaczWStanSerwisowy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 471 266
msg 133420 return
from durationcanvas_ref 129580
to durationcanvas_ref 132140
yz 196 2015 explicitmsg "1.4.1 zwrocInformacjeOWeryfikacji ( info : string )"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 270 178
end

117
models/134658.diagram Normal file
View File

@ -0,0 +1,117 @@
format 223
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 107 26 2010 life_line_z 2000
end
classinstancecanvas 128258 classinstance_ref 128642 //
xyz 450 29 2015 life_line_z 2000
end
classinstancecanvas 132226 classinstance_ref 128770 //
xyz 811 27 2000 life_line_z 2000
end
classinstance 133890 class_ref 128142 // Klient
name "" xyz 8 15 2000 life_line_z 2000
classinstancecanvas 134146 classinstance_ref 135682 //
xyz 647 29 2020 life_line_z 2000
end
durationcanvas 128770 classinstance_ref 128130 // KontrolerAutomatu:Automat
xyzwh 197 146 2010 11 158
overlappingdurationcanvas 129538
xyzwh 203 257 2020 11 27
end
overlappingdurationcanvas 134914
xyzwh 203 150 2020 11 25
end
end
durationcanvas 129026 classinstance_ref 128258 // :ManagerTransakcji
xyzwh 514 191 2010 11 329
end
durationcanvas 132354 classinstance_ref 132226 // :ModulPlatnosciGotowkowej
xyzwh 902 222 2010 11 260
overlappingdurationcanvas 135170
xyzwh 908 250 2020 11 26
end
overlappingdurationcanvas 136706
xyzwh 908 450 2020 11 26
end
end
durationcanvas 134274 classinstance_ref 134146 // :Sprzedaz
xyzwh 681 225 2010 11 315
overlappingdurationcanvas 135810
xyzwh 687 498 2020 11 26
end
overlappingdurationcanvas 136450
xyzwh 687 406 2020 11 25
end
end
durationcanvas 134786 classinstance_ref 133890 // :Klient
xyzwh 24 149 2010 11 27
end
msg 129154 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 129026
yz 204 2015 explicitmsg "rozpocznijTransakcje()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:String"
label_xy 249 187
msg 129666 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 129538
yz 272 2025 explicitmsg "wyswietlKwote()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "kwota:Kwota"
label_xy 260 252
msg 134402 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 134274
yz 230 3005 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "status:State, idProduktu:String, kwota:Kwota"
label_xy 547 212
msg 135042 synchronous
from durationcanvas_ref 134786
to durationcanvas_ref 134914
yz 153 2025 explicitmsg "wybranyProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "numerProduktu:Int"
label_xy 26 129
msg 135298 synchronous
from durationcanvas_ref 134274
to durationcanvas_ref 135170
yz 264 2025 explicitmsg "aktywuj()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 832 247
msg 135426 return
from durationcanvas_ref 132354
to durationcanvas_ref 134274
yz 336 2015 explicitmsg "kwota:Kwota"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 818 319
msg 135938 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 135810
yz 498 2025 explicitmsg "end()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "status:State"
label_xy 580 481
msg 136066 return
from durationcanvas_ref 134274
to durationcanvas_ref 129026
yz 354 2015 explicitmsg "kwota:Kwota"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 592 337
msg 136578 synchronous
from durationcanvas_ref 129026
to durationcanvas_ref 136450
yz 413 2025 explicitmsg "reszta()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "kwota:Kwota"
label_xy 546 396
msg 136834 synchronous
from durationcanvas_ref 134274
to durationcanvas_ref 136706
yz 450 2025 explicitmsg "zwrocReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "kwota:Kwota"
label_xy 772 433
end

72
models/134700.diagram Normal file
View File

@ -0,0 +1,72 @@
format 224
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 17 4 2000 life_line_z 2000
classinstance 128172 class_ref 141996 // NaprawaAutomatuKontroler
name "KontrolerAutomatu" xyz 136 5 2000 life_line_z 2000
classinstance 128300 class_ref 142124 // ManagerDiagnozy
name "" xyz 714 4 2000 life_line_z 2000
classinstance 128428 class_ref 135212 // RaportDiagnozy
name "" xyz 924 64 2000 life_line_z 2000
classinstance 130220 class_ref 128300 // SystemOperacyjny
name "ManagerSystemu" xyz 455 4 2005 life_line_z 2000
durationcanvas 128556 classinstance_ref 128044 // :Serwisant
xyzwh 48 69 2010 11 40
end
durationcanvas 128684 classinstance_ref 128172 // KontrolerAutomatu:NaprawaAutomatuKontroler
xyzwh 288 70 2010 11 67
end
durationcanvas 128940 classinstance_ref 128300 // :ManagerDiagnozy
xyzwh 775 79 2010 11 156
overlappingdurationcanvas 130604
xyzwh 781 87 2020 11 38
end
overlappingdurationcanvas 131116
xyzwh 781 152 2020 11 25
end
end
durationcanvas 129324 classinstance_ref 128428 // :RaportDiagnozy
xyzwh 979 133 2010 11 50
end
durationcanvas 130348 classinstance_ref 130220 // ManagerSystemu:SystemOperacyjny
xyzwh 576 86 2010 11 61
end
durationcanvas 131372 classinstance_ref 128044 // :Serwisant
xyzwh 48 223 2010 11 26
end
msg 128812 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 128684
yz 71 2015 explicitmsg "1. wlaczNarzedziaDiagnostyczne()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 57 53
msg 129452 synchronous
from durationcanvas_ref 128940
to durationcanvas_ref 129324
yz 171 2015 explicitmsg "<<create>> 1.3. stworzRaportDiagnozy"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 759 190
msg 130476 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 130348
yz 86 2020 explicitmsg "1.1. rozpocznijDiagnoze()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 322 69
msg 130732 synchronous
from durationcanvas_ref 130348
to durationcanvas_ref 130604
yz 101 2025 explicitmsg "1.1.1 rozpocznijDiagnoze()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 579 110
reflexivemsg 131244 synchronous
to durationcanvas_ref 131116
yz 152 2025 explicitmsg "1.2. Diagnozuj()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 808 131
msg 131500 return
from durationcanvas_ref 128940
to durationcanvas_ref 131372
yz 223 2015 explicitmsg "1.4 ZwrocRaport(raport : RaportDiagnozy)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 262 205
end

38
models/134794.diagram Normal file
View File

@ -0,0 +1,38 @@
format 224
classinstance 128010 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 10.5 20 2000 life_line_z 2000
classinstance 128138 class_ref 135178 // ManegerRaportow
name "" xyz 950.5 32 2000 life_line_z 2000
classinstance 128266 class_ref 128394 // AutomatKontroler
name "" xyz 464.5 35 2000 life_line_z 2000
durationcanvas 128394 classinstance_ref 128010 // :Zaopatrzeniowiec
xyzwh 65 117 2010 11 64
end
durationcanvas 128522 classinstance_ref 128266 // :AutomatKontroler
xyzwh 523 135 2010 11 97
overlappingdurationcanvas 128650
xyzwh 529 153 2020 11 57
end
end
durationcanvas 128906 classinstance_ref 128138 // :ManegerRaportow
xyzwh 1012 168 2010 11 80
overlappingdurationcanvas 129034
xyzwh 1018 172 2020 11 37
end
end
msg 129418 synchronous
from durationcanvas_ref 128394
to durationcanvas_ref 128650
yz 153 2025 explicitmsg "1. modyfikujRamyCzasowe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:DataPoczatek,data:DataKoniec"
label_xy 86 137
msg 129930 synchronous
from durationcanvas_ref 128650
to durationcanvas_ref 129034
yz 192 2025 explicitmsg "1.1 modyfikujRamyCzasowe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "data:DataPoczatek,data:DataKoniec"
label_xy 555 176
end

44
models/134828.diagram Normal file
View File

@ -0,0 +1,44 @@
format 224
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 34 4 2000 life_line_z 2000
classinstance 128172 class_ref 142252 // ManagerNaprawy
name "" xyz 498 6 2000 life_line_z 2000
classinstance 128684 class_ref 128300 // SystemOperacyjny
name "ManagerSystemu" xyz 662 4 2000 life_line_z 2000
classinstance 129196 class_ref 141996 // NaprawaAutomatuKontroler
name "KontrolerAutomatu" xyz 147 6 2000 life_line_z 2000
durationcanvas 128428 classinstance_ref 128172 // :ManagerNaprawy
xyzwh 557 75 2010 11 86
overlappingdurationcanvas 129708
xyzwh 563 77 2020 11 25
end
end
durationcanvas 128812 classinstance_ref 128684 // ManagerSystemu:SystemOperacyjny
xyzwh 783 97 2010 11 27
end
durationcanvas 129324 classinstance_ref 128044 // :Serwisant
xyzwh 65 65 2010 11 40
end
durationcanvas 129452 classinstance_ref 129196 // KontrolerAutomatu:NaprawaAutomatuKontroler
xyzwh 299 65 2010 11 25
end
msg 128940 synchronous
from durationcanvas_ref 128428
to durationcanvas_ref 128812
yz 97 2015 explicitmsg "1.1. Naprawa()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 614 79
msg 129580 synchronous
from durationcanvas_ref 129324
to durationcanvas_ref 129452
yz 65 2015 explicitmsg "1. wlaczNarzedziaNaprawcze()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 81 49
msg 129836 synchronous
from durationcanvas_ref 129452
to durationcanvas_ref 129708
yz 77 2025 explicitmsg "1.1. rozpocznijNaprawe()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 360 60
end

38
models/134956.diagram Normal file
View File

@ -0,0 +1,38 @@
format 224
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 33 4 2000 life_line_z 2000
classinstance 128172 class_ref 141996 // NaprawaAutomatuKontroler
name "KontrolerAutomatu" xyz 168 4 2000 life_line_z 2000
classinstance 128300 class_ref 128300 // SystemOperacyjny
name "ManagerSystemu" xyz 500 5 2000 life_line_z 2000
durationcanvas 128556 classinstance_ref 128044 // :Serwisant
xyzwh 64 69 2010 11 41
end
durationcanvas 128684 classinstance_ref 128172 // KontrolerAutomatu:NaprawaAutomatuKontroler
xyzwh 320 71 2010 11 194
end
durationcanvas 128940 classinstance_ref 128300 // ManagerSystemu:SystemOperacyjny
xyzwh 621 89 2010 11 127
overlappingdurationcanvas 129196
xyzwh 627 137 2020 11 25
end
end
msg 128812 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 128684
yz 71 2015 explicitmsg "1. wybierzPoleceniePonownegoUruchomienia()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 59 54
msg 129068 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128940
yz 90 2015 explicitmsg "1.1. ponownieUruchom()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 340 73
reflexivemsg 129324 synchronous
to durationcanvas_ref 129196
yz 137 2025 explicitmsg "1.2 restartAutomatu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 636 117
end

12
models/14.session Normal file
View File

@ -0,0 +1,12 @@
window_sizes 1852 1016 434 1412 843 120
cleanlooks_style
diagrams
active classdiagram_ref 128014 // domain-model
1129 674 100 A4 0 0
end
show_stereotypes
selected classdiagram_ref 128014 // domain-model
open
classview_ref 128014 // domain
end
end

258
models/141186.diagram Normal file
View File

@ -0,0 +1,258 @@
format 224
classcanvas 128044 class_ref 141996 // NaprawaAutomatuKontroler
classdiagramsettings member_max_width 0 end
xyzwh 1164.19 1132.09 2000 208 137
end
classcanvas 128138 class_ref 128522 // RaportSprzedazy
classdiagramsettings member_max_width 0 end
xyz 787.17 933.49 2000
end
classcanvas 128172 class_ref 128300 // SystemOperacyjny
classdiagramsettings member_max_width 0 end
xyz 1573.22 1140.57 2000
end
classcanvas 128266 class_ref 135050 // genrowanieRaportuSprzedazy
classdiagramsettings member_max_width 0 end
xyz 50.56 957.28 2000
end
classcanvas 128269 class_ref 141197 // IPlatnoscStrategy
classdiagramsettings member_max_width 0 show_parameter_name yes class_drawing_mode class end
color yellow
xyzwh 1345.86 48.01 2000 380 133
end
classcanvas 128300 class_ref 135084 // ModulLogowania
classdiagramsettings member_max_width 0 end
xyz 1498.99 1413.51 2000
end
classcanvas 128386 class_ref 164994 // ZakupProduktu
classdiagramsettings member_max_width 0 end
xyz 32.47 102.14 2000
end
classcanvas 128394 class_ref 135178 // ManagerRaportow
classdiagramsettings member_max_width 0 end
xyz 414.37 878.53 2000
end
classcanvas 128397 class_ref 141325 // SprzedazFactory
classdiagramsettings member_max_width 0 end
xyzwh 525.68 263 2000 309 113
end
classcanvas 128525 class_ref 164226 // ManagerPlatnosciGotowkowej
classdiagramsettings member_max_width 0 end
xyz 1297.96 273.33 2000
end
classcanvas 128653 class_ref 178434 // ManagerPlatnosciKarta
classdiagramsettings member_max_width 0 end
xyzwh 1562.87 274.22 2000 222 93
end
classcanvas 129037 class_ref 171906 // Sprzedaz
classdiagramsettings member_max_width 0 end
xyz 589.18 442.91 2000
end
classcanvas 129068 class_ref 142124 // ManagerDiagnozy
classdiagramsettings member_max_width 0 end
xyz 1881.42 1135.38 2000
end
classcanvas 129293 class_ref 165122 // ManagerProduktow
classdiagramsettings member_max_width 0 end
xyz 703.31 1384.76 2000
end
classcanvas 129324 class_ref 135212 // RaportDiagnozy
classdiagramsettings member_max_width 0 end
xyz 2235.54 1171.28 2000
end
classcanvas 129421 class_ref 147853 // DodawanieProduktow
classdiagramsettings member_max_width 0 end
xyz 46.22 1457.7 2000
end
classcanvas 129708 class_ref 142252 // ManagerNaprawy
classdiagramsettings member_max_width 0 end
xyz 1416.14 902.68 2000
end
classcanvas 129805 class_ref 128013 // RaportProduktow
classdiagramsettings member_max_width 0 end
xyz 1094.64 1439.1 2000
end
classcanvas 130061 class_ref 134669 // ManagerAutomatu
classdiagramsettings member_max_width 0 end
xyzwh 363.51 1652.35 2000 209 97
end
classcanvas 130317 class_ref 128394 // AutomatKontroler
classdiagramsettings member_max_width 0 end
xyz 388.73 1419.01 2000
end
classcanvas 130434 class_ref 178562 // ManagerPlatnosci
classdiagramsettings member_max_width 0 end
xyz 900.33 45.85 2000
end
classcanvas 130818 class_ref 185218 // ManagerSprzedazy
classdiagramsettings member_max_width 0 end
xyz 602.98 48.26 2000
end
classcanvas 131884 class_ref 148780 // RaportZakonczeniaNaprawy
classdiagramsettings member_max_width 0 end
xyz 1441.98 765.83 2000
end
classcanvas 135426 class_ref 136462 // KatalogProduktow
classdiagramsettings member_max_width 0 end
xyz 267 54.7 2000
end
classcanvas 137986 class_ref 198274 // ObliczanieReszty
classdiagramsettings member_max_width 0 end
xyz 1348.3 470.7 2005
end
classcanvas 138626 class_ref 198402 // Kasetka
classdiagramsettings member_max_width 0 end
xyz 1350.3 619.2 2000
end
note 140162 "strategia platnosci"
xyzwh 1757 56 2000 159 41
note 140290 "factory, singleton
"
xyzwh 860 296 2000 141 41
note 140418 "singleton
"
xyzwh 264 1 2000 91 41
relationcanvas 128428 relation_ref 128044 // PrzesylaDane
decenter_begin 601
from ref 128044 z 2001 label "PrzesylaDane" italic max_width 255 xyz 1315 1382 2001 to ref 128300
no_role_a no_role_b
multiplicity_a_pos 1499 1426 3000 multiplicity_b_pos 1299 1282 3000
end
relationcanvas 128778 relation_ref 128138 // wykorzystuje
from ref 128266 z 2001 label "wykorzystuje" italic max_width 255 xyz 302 962 2001 to ref 128394
no_role_a no_role_b
multiplicity_a_pos 395 989 3000 multiplicity_b_pos 286 987 3000
end
relationcanvas 128906 relation_ref 128266 // tworzy
from ref 128394 z 2001 label "tworzy" italic max_width 255 xyz 670 968 2001 to ref 128138
no_role_a no_role_b
multiplicity_a_pos 768 994 3000 multiplicity_b_pos 608 992 3000
end
relationcanvas 128940 relation_ref 128300 // Komunikuje
from ref 128044 z 2001 label "Komunikuje" italic max_width 255 xyz 1432 1172 2001 to ref 128172
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 129196 relation_ref 128428 // Komunikuje
from ref 128172 z 2001 label "Komunikuje" italic max_width 255 xyz 1764 1164 2001 to ref 129068
no_role_a no_role_b
multiplicity_a_pos 1862 1197 3000 multiplicity_b_pos 1739 1196 3000
end
relationcanvas 129452 relation_ref 128556 // Stworz
from ref 129068 z 2001 label "Stworz" italic max_width 255 xyz 2136 1169 2001 to ref 129324
no_role_a no_role_b
multiplicity_a_pos 2202 1199 3000 multiplicity_b_pos 2063 1198 3000
end
relationcanvas 129836 relation_ref 128684 // Wykorzystuje
decenter_end 286
from ref 128044 z 2001 label "Wykorzystuje" italic max_width 255 xyz 1486 1039 2001 to ref 129708
no_role_a no_role_b
multiplicity_a_pos 1472 998 3000 multiplicity_b_pos 1351 1131 3000
end
relationcanvas 129933 relation_ref 135053 // tworzy
from ref 129293 z 2001 label "tworzy" italic max_width 255 xyz 987 1463 2001 to ref 129805
no_role_a no_role_b
multiplicity_a_pos 1075 1492 3000 multiplicity_b_pos 933 1489 3000
end
relationcanvas 130092 relation_ref 128812 // Naprawia i ZwracaRaport
from ref 129708 z 2001 label "Naprawia i ZwracaRaport" italic max_width 255 xyz 1692 1049 2001 to ref 128172
no_role_a no_role_b
multiplicity_a_pos 1607 1117 3000 multiplicity_b_pos 1551 1006 3000
end
relationcanvas 130348 relation_ref 135340 // ZwracaInformacje
decenter_begin 680
from ref 128300 z 2001 label "ZwracaInformacje" italic max_width 255 xyz 1455 1357 2001 to ref 128044
no_role_a no_role_b
multiplicity_a_pos 1381 1272 3000 multiplicity_b_pos 1624 1425 3000
end
relationcanvas 130573 relation_ref 135309 // wykorzystuje
from ref 130317 z 2001 label "wykorzystuje" italic max_width 255 xyz 578 1459 2001 to ref 129293
no_role_a no_role_b
multiplicity_a_pos 684 1486 3000 multiplicity_b_pos 544 1485 3000
end
relationcanvas 130701 relation_ref 135437 // wykorzystuje
from ref 130317 z 2001 label "wykorzystuje" italic max_width 255 xyz 423 1573 2001 to ref 130061
no_role_a no_role_b
multiplicity_a_pos 446 1629 3000 multiplicity_b_pos 446 1543 3000
end
relationcanvas 130829 relation_ref 135565 // wykorzystuje
from ref 129421 z 2001 label "wykorzystuje" italic max_width 255 xyz 260 1457 2001 to ref 130317
no_role_a no_role_b
multiplicity_a_pos 369 1485 3000 multiplicity_b_pos 222 1485 3000
end
relationcanvas 131213 relation_ref 135821 // tworzy
from ref 128397 z 2001 label "tworzy" italic max_width 255 xyz 657 399 2001 to ref 129037
no_role_a no_role_b
multiplicity_a_pos 663 419 3000 multiplicity_b_pos 661 383 3000
end
relationcanvas 131469 relation_ref 135949 // wykorzystuje
from ref 130818 z 2001 label "wykorzystuje" italic max_width 255 xyz 638 218 2001 to ref 128397
no_role_a no_role_b
multiplicity_a_pos 660 240 3000 multiplicity_b_pos 659 206 3000
end
relationcanvas 132012 relation_ref 135468 // Tworzy
from ref 129708 z 2001 label "Tworzy" italic max_width 255 xyz 1522 836 2001 to ref 131884
no_role_a no_role_b
multiplicity_a_pos 1529 815 3000 multiplicity_b_pos 1527 879 3000
end
relationcanvas 134018 relation_ref 178818 // wykorzystuje
decenter_begin 509
decenter_end 526
from ref 130818 z 2001 label "wykorzystuje" italic max_width 255 xyz 786.5 104 2001 to ref 130434
no_role_a no_role_b
multiplicity_a_pos 881 132 3000 multiplicity_b_pos 762 132 3000
end
relationcanvas 135554 relation_ref 192258 // wykorzystuje
from ref 128386 z 2001 label "wykorzystuje" italic max_width 255 xyz 165 103 2001 to ref 135426
no_role_a no_role_b
multiplicity_a_pos 248 128 3000 multiplicity_b_pos 160 130 3000
end
relationcanvas 135682 relation_ref 192386 // ustawia produkt
from ref 135426 z 2001 label "ustawia produkt" italic max_width 255 xyz 453.5 103.5 2001 to ref 130818
no_role_a no_role_b
multiplicity_a_pos 583 129 3000 multiplicity_b_pos 419 128 3000
end
relationcanvas 136578 relation_ref 198914 // ustawia strategie
decenter_begin 423
decenter_end 451
from ref 130434 z 2001 label "ustawia strategie" italic max_width 255 xyz 1170 90 2001 to ref 128269
no_role_a no_role_b
multiplicity_a_pos 1326 115 3000 multiplicity_b_pos 1118 116 3000
end
relationcanvas 137346 relation_ref 199170 // uruchamia strategie
decenter_begin 150
decenter_end 462
from ref 128269 z 2001 label "uruchamia strategie" italic max_width 255 xyz 1337 208 2001 to ref 128525
no_role_a no_role_b
multiplicity_a_pos 1383 250 3000 multiplicity_b_pos 1384 188 3000
end
relationcanvas 137474 relation_ref 199298 // uruchamia strategie
decenter_begin 851
decenter_end 486
from ref 128269 z 2001 label "uruchamia strategie" italic max_width 255 xyz 1601 204 2001 to ref 128653
no_role_a no_role_b
multiplicity_a_pos 1651 251 3000 multiplicity_b_pos 1650 188 3000
end
relationcanvas 138114 relation_ref 199682 // oblicza reszte
decenter_begin 479
decenter_end 421
from ref 128525 z 2006 label "oblicza reszte" italic max_width 255 xyz 1360 407 2006 to ref 137986
no_role_a no_role_b
multiplicity_a_pos 1386 447 3000 multiplicity_b_pos 1387 393 3000
end
relationcanvas 138754 relation_ref 199938 // zwraca reszte
decenter_begin 428
decenter_end 504
from ref 137986 z 2006 label "zwraca reszte" italic max_width 255 xyz 1359 561 2006 to ref 138626
no_role_a no_role_b
multiplicity_a_pos 1386 596 3000 multiplicity_b_pos 1387 548 3000
end
relationcanvas 140930 relation_ref 207234 // realizuje platnosc
decenter_begin 688
decenter_end 759
from ref 130434 z 2001 label "realizuje platnosc" italic max_width 255 xyz 1169 130 2001 to ref 128269
no_role_a no_role_b
multiplicity_a_pos 1326 156 3000 multiplicity_b_pos 1118 156 3000
end
end

38
models/141322.diagram Normal file
View File

@ -0,0 +1,38 @@
format 224
classinstance 128010 class_ref 128394 // AutomatKontroler
name "" xyz 275 16 2000 life_line_z 2000
classinstance 128138 class_ref 135178 // ManegerRaportow
name "" xyz 558 20 2000 life_line_z 2000
classinstance 128266 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 6 7 2000 life_line_z 2000
durationcanvas 128522 classinstance_ref 128010 // :AutomatKontroler
xyzwh 334 116 2010 11 94
overlappingdurationcanvas 129802
xyzwh 340 129 2020 11 49
end
end
durationcanvas 128778 classinstance_ref 128138 // :ManegerRaportow
xyzwh 620 113 2010 11 144
overlappingdurationcanvas 130314
xyzwh 626 153 2020 11 64
end
end
durationcanvas 129674 classinstance_ref 128266 // :Zaopatrzeniowiec
xyzwh 61 87 2010 11 105
end
msg 129930 synchronous
from durationcanvas_ref 129674
to durationcanvas_ref 129802
yz 136 2025 explicitmsg "1. wybierzProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:Produkt"
label_xy 83 120
msg 130442 synchronous
from durationcanvas_ref 129802
to durationcanvas_ref 130314
yz 164 2025 explicitmsg "1.1 wybierzProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:Produkt"
label_xy 368 151
end

38
models/141450.diagram Normal file
View File

@ -0,0 +1,38 @@
format 224
classinstance 128010 class_ref 128010 // Zaopatrzeniowiec
name "" xyz 10.5 20 2000 life_line_z 2000
classinstance 128138 class_ref 135178 // ManegerRaportow
name "" xyz 603.5 36 2000 life_line_z 2000
classinstance 128266 class_ref 128394 // AutomatKontroler
name "" xyz 303.5 37 2000 life_line_z 2000
durationcanvas 128394 classinstance_ref 128010 // :Zaopatrzeniowiec
xyzwh 65 117 2010 11 64
end
durationcanvas 128522 classinstance_ref 128266 // :AutomatKontroler
xyzwh 362 135 2010 11 97
overlappingdurationcanvas 128650
xyzwh 368 153 2020 11 57
end
end
durationcanvas 128906 classinstance_ref 128138 // :ManegerRaportow
xyzwh 665 168 2010 11 80
overlappingdurationcanvas 129034
xyzwh 671 172 2020 11 37
end
end
msg 129418 synchronous
from durationcanvas_ref 128394
to durationcanvas_ref 128650
yz 153 2025 explicitmsg "1. modyfikujProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:Produkt"
label_xy 86 137
msg 129930 synchronous
from durationcanvas_ref 128650
to durationcanvas_ref 129034
yz 192 2025 explicitmsg "1.1 modyfikujProdukt()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "idProdukt:Produkt"
label_xy 394 176
end

71
models/147970.diagram Normal file
View File

@ -0,0 +1,71 @@
format 224
classinstance 128770 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 628 546 2000
classinstance 128898 class_ref 178434 // ManagerPlatnosciKarta
name "" xyz 22 542 2000
classinstance 129282 class_ref 178562 // ManagerPlatnosci
name "" xyz 370 221 2006
classinstance 130946 class_ref 191746 // Klient
name "" xyz 46 34 2000
classinstance 131714 class_ref 128394 // AutomatKontroler
name "" xyz 370 41 2000
classinstance 132738 class_ref 141197 // IPlatnoscStrategy
drawing_mode class name "" xyz 373 324 2000
classinstance 135170 class_ref 185218 // ManagerSprzedazy
name "" xyz 364 130 2000
linkcanvas 131842
from ref 130946 z 2001 to ref 131714
dirscanvas 131970 z 1000 linkcanvas_ref 131842
forward_label "1 wybranoFormePlatnosci(formaPlatnosciId:Int)" xyz 76 21 3000
linkcanvas 133762
from ref 132738 z 2001 to point 103 335
line 134402 z 2001 to ref 128898
dirscanvas 134146 z 1000 linkcanvas_ref 134402
forward_label "5 [if KARTA == formaPlatnosciId] zrealizujPlatnosc(kwota:Money)" xyz 124 431 3000
linkcanvas 133890 decenter_end 527
from ref 132738 z 2001 to point 738 337
line 134914 z 2001 to ref 128770
dirscanvas 134274 z 1000 linkcanvas_ref 134914
forward_label "6 [else if GOTOWKA == formaPlatnosciId] zrealizujPlatnosc(kwota:Money)" xyz 758 435 3000
linkcanvas 134018 decenter_begin 476
from ref 132738 z 2007 to ref 129282
dirscanvas 135042 z 1000 linkcanvas_ref 134018
backward_label "4 zrealizujPlatnosc()" xyz 452 278 3000
linkcanvas 135298
from ref 129282 z 2007 to ref 135170
dirscanvas 135426 z 1000 linkcanvas_ref 135298
backward_label "3 wykorzystajFormePlatnosci(formaPlatnosciId:Int)" xyz 454 181 3000
linkcanvas 135554
from ref 131714 z 2001 to ref 135170
dirscanvas 135682 z 1000 linkcanvas_ref 135554
forward_label "2 ustawIdFormyPlatnosci(formaPlatnosciId:Int)" xyz 453 91 3000
msgs
explicitmsg "wybranoFormePlatnosci(formaPlatnosciId:Int)"
forward ranks 1 "1" dirscanvas_ref 131970
msgs
explicitmsg "ustawIdFormyPlatnosci(formaPlatnosciId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 135682
msgs
explicitmsg "wykorzystajFormePlatnosci(formaPlatnosciId:Int)"
backward ranks 3 "1.1.1" dirscanvas_ref 135426
no_msg
msgsend
msgsend
msg operation_ref 128013 // "zrealizujPlatnosc(in Kwota : Money)"
backward ranks 4 "2" dirscanvas_ref 135042
no_msg
explicitmsg "[if KARTA == formaPlatnosciId] zrealizujPlatnosc(kwota:Money)"
forward ranks 5 "3" dirscanvas_ref 134146
no_msg
explicitmsg "[else if GOTOWKA == formaPlatnosciId] zrealizujPlatnosc(kwota:Money)"
forward ranks 6 "4" dirscanvas_ref 134274
no_msg
msgsend
end

57
models/154626.diagram Normal file
View File

@ -0,0 +1,57 @@
format 224
classinstance 128386 class_ref 178562 // ManagerPlatnosci
name "" xyz 363 493 2000
classinstance 128514 class_ref 185218 // ManagerSprzedazy
name "" xyz 359 379 2000
classinstance 130050 class_ref 191746 // Klient
name "" xyz 141 127 2000
classinstance 130434 class_ref 128394 // AutomatKontroler
name "" xyz 363 135 2000
classinstance 131842 class_ref 136462 // KatalogProduktow
name "" xyz 364 254 2000
linkcanvas 130562 decenter_begin 439
from ref 130050 z 2001 to ref 130434
dirscanvas 130690 z 1000 linkcanvas_ref 130562
forward_label "1 wybranoProdukt(produktId:Int)" xyz 171 112 3000
linkcanvas 131586 decenter_begin 500
from ref 128514 z 2001 to ref 128386
dirscanvas 131714 z 1000 linkcanvas_ref 131586
forward_label "5 przyjmijPlatnosc(cena:Money)" xyz 450 444 3000
linkcanvas 132738
from ref 131842 z 2001 to ref 128514
dirscanvas 133250 z 1000 linkcanvas_ref 132738
forward_label "4 ustawProdukt(nazwa:String, cena:Money)" xyz 448 322 3000
linkcanvas 132866 decenter_begin 510
from ref 130434 z 2001 to ref 131842
dirscanvas 132994 z 1000 linkcanvas_ref 132866
forward_label "2 wybierzProdukt(produktId:Int)" xyz 449 198 3000
linkcanvas 136066
from ref 131842 z 2001 to ref 130050
dirscanvas 136194 z 1000 linkcanvas_ref 136066
forward_label "3 cena:Money" xyz 235 224 3000
msgs
explicitmsg "wybranoProdukt(produktId:Int)"
forward ranks 1 "1" dirscanvas_ref 130690
msgs
explicitmsg "wybierzProdukt(produktId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 132994
msgs
explicitmsg "cena:Money"
forward ranks 3 "1.1.1" dirscanvas_ref 136194
no_msg
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 133250
no_msg
msgsend
msgsend
explicitmsg "przyjmijPlatnosc(cena:Money)"
forward ranks 5 "2" dirscanvas_ref 131714
no_msg
msgsend
end

54
models/154754.diagram Normal file
View File

@ -0,0 +1,54 @@
format 224
classinstance 128258 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 386 21 2000 life_line_z 2000
classinstance 130562 class_ref 191746 // Klient
name "" xyz 19 13 2000 life_line_z 2000
classinstance 131842 class_ref 128394 // AutomatKontroler
name "" xyz 177 19 2000 life_line_z 2000
classinstance 134914 class_ref 198274 // ObliczanieReszty
name "" xyz 835 13 2000 life_line_z 2000
classinstance 135042 class_ref 198402 // Kasetka
name "" xyz 1066 18 2000 life_line_z 2000
durationcanvas 130690 classinstance_ref 130562 // :Klient
xyzwh 35 122 2010 11 29
end
durationcanvas 131970 classinstance_ref 131842 // :AutomatKontroler
xyzwh 236 122 2010 11 42
end
durationcanvas 134018 classinstance_ref 128258 // :ManagerPlatnosciGotowkowej
xyzwh 486 148 2010 11 65
end
durationcanvas 135170 classinstance_ref 134914 // :ObliczanieReszty
xyzwh 895 194 2010 11 51
end
durationcanvas 135426 classinstance_ref 135042 // :Kasetka
xyzwh 1095 233 2010 11 25
end
msg 132098 synchronous
from durationcanvas_ref 130690
to durationcanvas_ref 131970
yz 122 2030 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 29 97
msg 134146 synchronous
from durationcanvas_ref 131970
to durationcanvas_ref 134018
yz 153 2015 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 250 130
msg 135298 synchronous
from durationcanvas_ref 134018
to durationcanvas_ref 135170
yz 198 2015 explicitmsg "obliczReszte(doZaplacenia : Money, wprowadzonaKwota : Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 501 171
msg 135554 synchronous
from durationcanvas_ref 135170
to durationcanvas_ref 135426
yz 234 2020 explicitmsg "zwrocReszte(money : Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 918 212
end

45
models/154882.diagram Normal file
View File

@ -0,0 +1,45 @@
format 224
classinstance 128258 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 468 27 2000 life_line_z 2000
classinstance 128642 class_ref 171906 // Sprzedaz
name "" xyz 1367 17 2000 life_line_z 2000
classinstance 130562 class_ref 191746 // Klient
name "" xyz 27 14 2000 life_line_z 2000
classinstance 131458 class_ref 128394 // AutomatKontroler
name "" xyz 238 25 2000 life_line_z 2000
classinstance 132610 class_ref 198402 // Kasetka
name "" xyz 775 26 2000 life_line_z 2000
durationcanvas 129154 classinstance_ref 128258 // :ManagerPlatnosciGotowkowej
xyzwh 568 179 2010 11 51
end
durationcanvas 130690 classinstance_ref 130562 // :Klient
xyzwh 43 153 2010 11 41
end
durationcanvas 131842 classinstance_ref 131458 // :AutomatKontroler
xyzwh 297 153 2010 11 43
end
durationcanvas 132738 classinstance_ref 132610 // :Kasetka
xyzwh 804 215 2010 11 28
end
msg 131970 synchronous
from durationcanvas_ref 130690
to durationcanvas_ref 131842
yz 154 2030 explicitmsg "zaprzestanieWprowadzaniaMonet()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 59 133
msg 132226 synchronous
from durationcanvas_ref 131842
to durationcanvas_ref 129154
yz 179 3005 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 323 153
msg 132866 synchronous
from durationcanvas_ref 129154
to durationcanvas_ref 132738
yz 215 2015 explicitmsg "zwrocWrzut()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 602 194
end

84
models/161154.diagram Normal file
View File

@ -0,0 +1,84 @@
format 223
classinstancecanvas 128130 classinstance_ref 129154 //
xyz 71.9 4.2 2000 life_line_z 2000
end
classinstancecanvas 128642 classinstance_ref 128514 // KontrolerAutomatu
xyz 149.8 12.8 2000 life_line_z 2000
end
classinstance 129154 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 433.4 12.8 2000 life_line_z 2000
classinstance 129922 class_ref 178562 // ManagerPlatnosci
name "" xyz 755.5 8.2 2000 life_line_z 2000
classinstance 130306 class_ref 185218 // ManagerSprzedazy
name "" xyz 1019.6 13.6 2000 life_line_z 2000
classinstance 130690 class_ref 171906 // Sprzedaz
name "" xyz 1585.4 4 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // :Klient
xyzwh 87 59 2010 11 40
end
durationcanvas 128898 classinstance_ref 128642 // KontrolerAutomatu:ZakupProduktu
xyzwh 260 75 2010 11 121
end
durationcanvas 129282 classinstance_ref 129154 // :ManagerPlatnosciGotowkowej
xyzwh 533 86 2010 11 120
overlappingdurationcanvas 129666
xyzwh 539 136 2020 11 25
end
end
durationcanvas 130050 classinstance_ref 129922 // :ManagerPlatnosci
xyzwh 815 157 2010 11 92
end
durationcanvas 130434 classinstance_ref 130306 // :ManagerSprzedazy
xyzwh 1084 211 2010 11 61
end
durationcanvas 130818 classinstance_ref 130690 // :Sprzedaz
xyzwh 1619 244 2010 11 27
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 80 2015 explicitmsg "zaprzestanieWprowadzaniaMonet()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 61 57
msg 129410 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129282
yz 90 2015 explicitmsg "wprowadzonaKwota()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 282 73
msg 129538 return
from durationcanvas_ref 129282
to durationcanvas_ref 128898
yz 175 2015 explicitmsg "wartosc:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 357 158
reflexivemsg 129794 synchronous
to durationcanvas_ref 129666
yz 136 2025 explicitmsg "zwrocWprowadzone()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "kredytKlienta:Money"
label_xy 498 105
msg 130178 synchronous
from durationcanvas_ref 129282
to durationcanvas_ref 130050
yz 194 2015 explicitmsg "ustawNiepowodzenie()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "zwroconaWartosc:Money"
label_xy 581 177
msg 130562 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 130434
yz 233 2015 explicitmsg "ustawInformacjeONiepowodzeniu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "zwroconaWartosc:Money"
label_xy 825 212
msg 130946 synchronous
from durationcanvas_ref 130434
to durationcanvas_ref 130818
yz 260 2015 explicitmsg "create()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "nazwa:String, cena:Money, metodaPlatnosci:String, zwrocone:Money"
label_xy 1139 236
end

125
models/161410.diagram Normal file
View File

@ -0,0 +1,125 @@
format 224
statecanvas 128514 state_ref 128258 // WyborFormyPlatnosci
xyzwh 286.5 382.2 2000 286 41
end
statecanvas 129026 state_ref 128514 // gotowyDoRozpoczeciaTransakcji
xyzwh 299.5 150.4 2000 255 41
end
statecanvas 129154 state_ref 128642 // WTrakcieSprzedazy
xyzwh 350.1 274.4 2000 161 41
end
pseudostatecanvas 129794 pseudostate_ref 128258 // initial
xyz 413 66.5 2000
end
statecanvas 130178 state_ref 128770 // OczekiwanieNaGotowke
xyzwh 28 636.2 2000 193 41
end
statecanvas 130306 state_ref 128898 // OczekiwanieNaPlatnoscKarta
xyzwh 701.1 624 2000 231 41
end
pseudostatecanvas 130434 pseudostate_ref 128386 // choice
xyz 418.2 489.9 2000
end
statecanvas 131586 state_ref 129026 // WydawanieProduktu
xyzwh 736.8 999.1 2000 166 41
end
statecanvas 131970 state_ref 129154 // ZakonczenieSprzedazy
xyzwh 345.6 1301.7 2000 183 41
end
statecanvas 132226 state_ref 129282 // AnulowaniePlatnosci
xyzwh 37.1 1021.1 2000 169 41
end
statecanvas 132738 state_ref 129410 // WydawanieReszty
xyzwh 290.6 751.6 2000 149 41
end
pseudostatecanvas 133250 pseudostate_ref 128642 // final
xyz 424.5 1505.3 2000
end
transitioncanvas 129538 transition_ref 128514 // wprowadzenie numeru produktu
decenter_end 476
from ref 129026 z 2001 label "wprowadzenie numeru produktu" xyz 333 221.5 2001 to ref 129154
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 129922 transition_ref 128642 // <transition>
from ref 129794 z 2001 to ref 129026
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 130050 transition_ref 128770 // oczekuje
decenter_begin 481
from ref 129154 z 2001 label "oczekuje" xyz 394.5 336 2001 to ref 128514
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 131074 transition_ref 129154 // gotowka
decenter_begin 513
decenter_end 688
from ref 130434 z 2001 label "gotowka" xyz 181 561 2001 to ref 130178
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 131202 transition_ref 129282 // karta
decenter_begin 540
from ref 130434 z 2001 label "karta" xyz 679 543 2001 to ref 130306
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 131458 transition_ref 129410 // wybor
from ref 128514 z 2001 label "wybor" xyz 411 446 2001 to ref 130434
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 131842 transition_ref 129666 // zaplata
decenter_begin 486
decenter_end 472
from ref 130306 z 2001 label "zaplata" xyz 828 793.5 2001 to ref 131586
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132098 transition_ref 129794 // wywoluje
from ref 131586 z 2001 label "wywoluje" xyz 625.5 1157.5 2001 to ref 131970
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132354 transition_ref 129922 // wystapienie bledu
from ref 130178 z 2001 label "wystapienie bledu" xyz 49 839 2001 to ref 132226
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132482 transition_ref 130050 // wystapienie bledu
from ref 130306 z 2001 label "wystapienie bledu" xyz 297 892 2001 to ref 132226
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132610 transition_ref 130178 // wywoluje
from ref 132226 z 2001 label "wywoluje" xyz 217 1182 2001 to ref 131970
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132866 transition_ref 130306 // Zaplata
from ref 130178 z 2001 label "Zaplata" xyz 186 719 2001 to ref 132738
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 132994 transition_ref 130434 // po ukonczeniu
from ref 132738 z 2001 label "po ukonczeniu" xyz 630 941.5 2001 to ref 131586
write_horizontally default show_definition default drawing_language default
end
transitioncanvas 133378 transition_ref 130562 // <transition>
from ref 131970 z 2001 to ref 133250
write_horizontally default show_definition default drawing_language default
end
end

51
models/167938.diagram Normal file
View File

@ -0,0 +1,51 @@
format 224
classinstance 128002 class_ref 191746 // Klient
name "" xyz 373 20 2000
classinstancecanvas 128130 classinstance_ref 128014 //
xyz 329 120 2000
end
classinstance 128258 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 287 209 2000
classinstance 128386 class_ref 198274 // ObliczanieReszty
name "" xyz 328 314 2000
classinstance 128514 class_ref 198402 // Kasetka
name "" xyz 354 410 2000
linkcanvas 128642
from ref 128002 z 2001 to ref 128130
dirscanvas 130050 z 1000 linkcanvas_ref 128642
forward_label "1 wprowadzonaKwota(wartosc:Money)" xyz 412 82 3000
linkcanvas 128770
from ref 128130 z 2001 to ref 128258
dirscanvas 130562 z 1000 linkcanvas_ref 128770
forward_label "2 wprowadzonaKwota(wartosc:Money)" xyz 411 170 3000
linkcanvas 128898 decenter_end 495
from ref 128258 z 2001 to ref 128386
dirscanvas 130690 z 1000 linkcanvas_ref 128898
forward_label "3 obliczReszte(doZaplacenia : Money, wprowadzonaKwota : Money)" xyz 412 267 3000
linkcanvas 129026 decenter_end 550
from ref 128386 z 2001 to ref 128514
dirscanvas 130818 z 1000 linkcanvas_ref 129026
forward_label "4 zwrocReszte(monety : Money)" xyz 410 368 3000
msgs
explicitmsg "wprowadzonaKwota(wartosc:Money)"
forward ranks 1 "1" dirscanvas_ref 130050
msgs
explicitmsg "wprowadzonaKwota(wartosc:Money)"
forward ranks 2 "1.1" dirscanvas_ref 130562
msgs
explicitmsg "obliczReszte(doZaplacenia : Money, wprowadzonaKwota : Money)"
forward ranks 3 "1.1.1" dirscanvas_ref 130690
msgs
explicitmsg "zwrocReszte(monety : Money)"
forward ranks 4 "1.1.1.1" dirscanvas_ref 130818
no_msg
msgsend
msgsend
msgsend
msgsend
end

16
models/2.session Normal file
View File

@ -0,0 +1,16 @@
window_sizes 1920 1017 408 1507 859 105
diagrams
active classdiagram_ref 141186 // design-model
1507 859 100 A1 0 153
end
show_stereotypes
selected classdiagram_ref 141186 // design-model
open
class_ref 191746 // Klient
classinstance_ref 128014 //
attribute_ref 200066 // formaPlatnosciId
classinstance_ref 128654 //
class_ref 147853 // DodawanieProduktow
end
end

23
models/44.session Normal file
View File

@ -0,0 +1,23 @@
window_sizes 1920 1017 450 1465 860 104
diagrams
active classdiagram_ref 141186 // design-model
1172 688 100 A1 502 1051
end
show_stereotypes
selected sequencediagram_ref 134956 // 8-5-restartAutomatu
open
class_ref 135340 // Diagnoza
class_ref 128044 // Serwisant
class_ref 141996 // NaprawaAutomatuKontroler
class_ref 128300 // SystemOperacyjny
class_ref 128172 // AutomatController
class_ref 134828 // Laptop
class_ref 134956 // ManagerWejsciaWyjscia
class_ref 135084 // ModulLogowania
class_ref 142124 // ManagerDiagnozy
class_ref 142252 // ManagerNaprawy
class_ref 191746 // Klient
class_ref 128266 // Automat
end
end

13
models/cpp_includes Normal file
View File

@ -0,0 +1,13 @@
// "a type" "needed cpp_includes"
"vector" "#include <vector>
using namespace std;"
"list" "#include <list>
using namespace std;"
"map" "#include <map>
using namespace std;"
"string" "#include <string>
using namespace std;"

332
models/generation_settings Normal file
View File

@ -0,0 +1,332 @@
cpp_h_extension "h" cpp_src_extension "cpp" cpp_h_add_extensions "" cpp_src_add_extensions "" java_extension "java" php_extension "php" python_extension "py" idl_extension "idl"
cpp_inline_dont_force_incl_in_h
type_forms 15 // uml cpp java idl cpp_in cpp_out cpp_inout cpp_return
"void" "void" "void" "void" "${type}" "${type} &" "${type}" "${type}"
"any" "void *" "Object" "any" "const ${type}" "${type}" "${type} &" "${type}"
"bool" "bool" "boolean" "boolean" "${type}" "${type} &" "${type} &" "${type}"
"char" "char" "char" "char" "${type}" "${type} &" "${type} &" "${type}"
"uchar" "unsigned char" "char" "octet" "${type}" "${type} &" "${type} &" "${type}"
"byte" "unsigned char" "byte" "octet" "${type}" "${type} &" "${type} &" "${type}"
"short" "short" "short" "short" "${type}" "${type} &" "${type} &" "${type}"
"ushort" "unsigned short" "short" "unsigned short" "${type}" "${type} &" "${type} &" "${type}"
"int" "int" "int" "long" "${type}" "${type} &" "${type} &" "${type}"
"uint" "unsigned int" "int" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
"long" "long" "long" "long" "${type}" "${type} &" "${type} &" "${type}"
"ulong" "unsigned long" "long" "unsigned long" "${type}" "${type} &" "${type} &" "${type}"
"float" "float" "float" "float" "${type}" "${type} &" "${type} &" "${type}"
"double" "double" "double" "double" "${type}" "${type} &" "${type} &" "${type}"
"string" "string" "String" "string" "${type}" "${type} &" "${type} &" "${type}"
relations_stereotypes 5 // uml cpp java pythonidl
"sequence" "vector" "Vector" "list" "sequence"
"vector" "vector" "Vector" "list" "sequence"
"list" "list" "List" "list" "sequence"
"set" "set" "Set" "set" "sequence"
"map" "map" "Map" "dict" "sequence"
classes_stereotypes 17 // uml cpp java php python idl
"class" "class" "class" "class" "class" "valuetype"
"trait" "class" "class" "trait" "class" "valuetype"
"interface" "class" "interface" "interface" "class" "interface"
"exception" "class" "class" "class" "class" "exception"
"enum" "enum" "enum" "enum" "enum" "enum"
"enum_class" "enum_class" "enum" "enum" "enum" "enum"
"enum_pattern" "enum" "enum_pattern" "enum" "enum" "enum"
"struct" "struct" "class" "class" "class" "struct"
"union" "union" "class" "class" "class" "union"
"typedef" "typedef" "ignored" "ignored" "ignored" "typedef"
"template_typedef" "template_typedef" "ignored" "ignored" "ignored" "ignored"
"boundary" "class" "class" "class" "class" "interface"
"control" "class" "class" "class" "class" "valuetype"
"entity" "class" "class" "class" "class" "valuetype"
"actor" "ignored" "ignored" "ignored" "ignored" "ignored"
"@interface" "ignored" "@interface" "ignored" "ignored" "ignored"
"stereotype" "ignored" "ignored" "ignored" "ignored" "ignored"
cpp_enum_default_type_forms "${type}" "${type} &" "${type} &" "${type}" // in out inout return
other_cpp_types_default_type_forms "const ${type} &" "${type} &" "${type} &" "${type}" // in out inout return
cpp_default_h_content "#ifndef ${NAMESPACE}_${NAME}_H
#define ${NAMESPACE}_${NAME}_H
${comment}
${includes}
${declarations}
${namespace_start}
${definition}
${namespace_end}
#endif
"
cpp_default_src_content "${comment}
${includes}
${namespace_start}
${members}
${namespace_end}"
cpp_default_class_decl "${comment}${template}class ${name}${inherit} {
${members}};
${inlines}
"
cpp_default_external_class_decl "${name}
#include <${name}.h>
"
cpp_default_struct_decl "${comment}${template}struct ${name}${inherit} {
${members}};
${inlines}
"
cpp_default_union_decl "${comment}${template}union ${name} {
${members}};
${inlines}
"
cpp_default_enum_decl "${comment}enum ${name} {
${items}};
"
cpp_default_enumclass_decl "${comment}enum class ${name} {
${items}};
"
cpp_default_typedef_decl "${comment}typedef ${type} ${name};
"cpp_default_template_typedef_decl "${comment}${template}using ${name} = ${inherit};
"
cpp_default_attribute_declaration " ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
" // multiplicity 1
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
" // multiplicity * a..b
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
" // multiplicity [..]
cpp_default_enum_item_declaration " ${name}${value},${comment}"
cpp_association_aggregation_declaration
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${value};
" // multiplicity 1
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type} *> ${name}${value};
" // multiplicity * a..b
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} * ${name}${multiplicity}${value};
" // multiplicity [..]
cpp_aggregation_by_value_declaration
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${value};
" // multiplicity 1
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${stereotype}<${type}> ${name}${value};
" // multiplicity * a..b
" ${comment}${static}${thread_local}${mutable}${volatile}${const}${type} ${name}${multiplicity}${value};
" // multiplicity [..]
cpp_get "get_${name}" inline const value_const public
cpp_set "set_${name}" public
cpp_default_operation_declaration " ${comment}${friend}${static}${inline}${virtual}${typeprefix}${type} ${name}${(}${)}${const}${volatile}${throw}${abstract};
"
cpp_default_operation_definition "${comment}${inline}${typeprefix}${type} ${class}::${name}${(}${)}${const}${volatile}${throw}${staticnl}{
${body}}
"
cpp_indent_visibility " " cpp_indent_friendclass " " cpp_indent_subclass " "
java_default_src_content "${comment}
${package}
${imports}
${definition}"
java_default_class_decl "${comment}${@}${visibility}${static}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
java_default_external_class_decl "${name}"
java_default_interface_decl "${comment}${@}${visibility}${static}interface ${name}${extends} {
${members}}
"
java5_default_enum_decl "${comment}${@}${visibility}${static}${final}${abstract}enum ${name}${implements} {
${items};
${members}}
"
java_default_enum_decl "${comment}${@}${visibility}${static}$final class ${name} {
${members}
private final int value;
public int value() {
return value;
}
public static ${name} fromInt(int value) {
switch (value) {
${cases} default: throw new Error();
}
}
private ${name}(int v) { value = v; };
}
"
java_default_attribute_declaration " ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" // multiplicity 1
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
" // multiplicity * a..b
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
" // multiplicity N
java5_default_enum_item_declaration " ${@}${name}${value},${comment}"
java_default_enum_item_declaration " ${comment}${@}public static final int _${name}${value};
public static final ${class} ${name} = new ${class}(_${name});
"
java_default_enum_case " case _${name}: return ${name};
"
java_association_aggregation_declaration
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type} ${name}${value};
" // multiplicity 1
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${stereotype}<${type}> ${name}${value};
" // multiplicity * a..b
" ${comment}${@}${visibility}${static}${final}${transient}${volatile}${type}${multiplicity} ${name}${value};
" // multiplicity N
java_get "get${Name}" final public
java_set "set${Name}" public
java_default_operation_definition " ${comment}${@}${visibility}${final}${static}${abstract}${synchronized}${type} ${name}${(}${)}${throws}${staticnl}{
${body}}
"
php_default_src_content "<?php
${comment}
${namespace}
${require_once}
${use}
${definition}
?>
"
php_default_class_decl "${comment}${final}${abstract}class ${name}${extends}${implements} {
${members}}
"
php_default_enum_decl "${comment}${visibility}final class ${name} {
${items}}
"
php_default_external_class_decl "${name}"
php_default_interface_decl "${comment}interface ${name}${extends} {
${members}}
"
php_default_trait_decl "${comment}trait ${name} {
${members}}
"
php_default_attribute_declaration " ${comment}${visibility}${const}${static}${var}${name}${value};
"
php_default_enum_item_decl " const ${name}${value};${comment}
"
php_default_relation_declaration" ${comment}${visibility}${const}${static}${var}${name}${value};
"
php_get "get${Name}" final
php_set "set${Name}"
php_default_operation_definition " ${comment}${final}${visibility}${abstract}${static}function ${name}${(}${)}${type}
{
${body}}
"
php_param_typed php_out_inout_by_ref python_2_2
python_indent_step " "
python_default_src_content "${comment}
${import}
${definition}"
python_default_class_decl "class ${name}${inherit}:
${docstring}${members}
"
python_default_enum_decl "class ${name}:
${docstring}${members}
"
python_default_external_class_decl "${name}"
python_default_attribute_declaration "${comment}${self}${name} = ${value}
" // multiplicity 1
"${comment}${self}${name} = ${stereotype}()
" // multiplicity != 1
python_default_enum_item_decl "${comment}${self}${name} = ${value}
"
python_default_relation_declaration"${comment}${self}${name} = ${value}
" // multiplicity 1
"${comment}${self}${name} = ${stereotype}()
" // multiplicity != 1
python_default_composition_declaration"${comment}${self}${name} = ${type}()
" // multiplicity 1
"${comment}${self}${name} = ${stereotype}()
" // multiplicity != 1
python_default_operation_definition "${@}${static}${abstract}def ${name}${(}${)}:
${docstring}${body}
"
python_default_initoperation_definition "${@}${static}${abstract}def ${name}${(}${p0}${v0}${)}:
${docstring}super(${class}, ${p0}).__init__()
${body}
"
python_get "get${Name}"
python_set "set${Name}"
idl_default_src_content "#ifndef ${MODULE}_${NAME}_H
#define ${MODULE}_${NAME}_H
${comment}
${includes}
${module_start}
${definition}
${module_end}
#endif
"
idl_default_interface_decl "${comment}${abstract}${local}interface ${name}${inherit} {
${members}};
"
idl_default_valuetype_decl "${comment}${abstract}${custom}valuetype ${name}${inherit} {
${members}};
"
idl_default_struct_decl "${comment}struct ${name} {
${members}};
"
idl_default_typedef_decl "${comment}typedef ${type} ${name};
"
idl_default_exception_decl "${comment}exception ${name} {
${members}};
"
idl_default_union_decl "${comment}union ${name} switch(${switch}) {
${members}};
"
idl_default_enum_decl "${comment}enum ${name} {
${items}};
"
idl_default_external_class_decl "${name}
#include \"${name}.idl\"
"
idl_default_attribute_declaration " ${comment}${readonly}${attribute}${type} ${name};
" // multiplicity 1
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
" // multiplicity * a..b
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
" // multiplicity N
idl_default_valuetype_attribute_declaration " ${comment}${visibility}${type} ${name};
" // multiplicity 1
" ${comment}${visibility}${stereotype}<${type}> ${name};
" // multiplicity * a..b
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
" // multiplicity N
idl_default_const_declaration " ${comment}const ${type} ${name}${value};
" // multiplicity 1
" ${comment}const ${stereotype}<${type}> ${name}${value};
" // multiplicity * a..b
" ${comment}const ${stereotype}<${type},${multiplicity}> ${name}${value};
" // multiplicity N
idl_default_enum_item_declaration " ${name},${comment}"
idl_default_union_item_declaration " ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
idl_association_aggregation_declaration
" ${comment}${readonly}${attribute}${type} ${name};
" // multiplicity 1
" ${comment}${readonly}${attribute}${stereotype}<${type}> ${name};
" // multiplicity * a..b
" ${comment}${readonly}${attribute}${stereotype}<${type},${multiplicity}> ${name};
" // multiplicity N
idl_valuetype_association_aggregation_declaration
" ${comment}${visibility}${type} ${name};
" // multiplicity 1
" ${comment}${visibility}${stereotype}<${type}> ${name};
" // multiplicity * a..b
" ${comment}${visibility}${stereotype}<${type},${multiplicity}> ${name};
" // multiplicity N
idl_union_association_aggregation_declaration
" ${comment}case ${case} : ${readonly}${type} ${name};" // multiplicity 1
" ${comment}case ${case} : ${readonly}${stereotype}<${type}> ${name};" // multiplicity * a..b
" ${comment}case ${case} : ${readonly}${stereotype}<${type},${multiplicity}> ${name};" // multiplicity N
idl_get "get_${name}"
idl_set "set_${name}" twoways
idl_default_operation_declaration " ${comment}${oneway}${type} ${name}${(}${)}${raisesnl}${raises};
"
mysqldefault_src_content "${comment}CREATE DATABASE IF NOT EXISTS ${name};
use ${name};
${definition}"
mysql_default_table_decl "DROP TABLE IF EXISTS ${name};
CREATE TABLE ${name} ${definition}${comment};
"
mysql_default_column_decl " ${name} ${type}${notnull}${default}${autoincr}${comment}"
mysql_default_key_decl " ${constraint}${modifier}KEY${name}${type} (${columns})${ref}${comment}"
uml_get_name uml uml_set_name uml
end

1
models/idl_includes Normal file
View File

@ -0,0 +1 @@
// "a type" "needed idl_includes"

1
models/java_imports Normal file
View File

@ -0,0 +1 @@
// "a type" "needed java_imports"

3868
models/models.prj Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1774
models/models_BASE_1666.prj Normal file

File diff suppressed because it is too large Load Diff

1774
models/models_LOCAL_1666.prj Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1
models/python_imports Normal file
View File

@ -0,0 +1 @@
// "a type" "needed python_imports"

63
models/stereotypes Normal file
View File

@ -0,0 +1,63 @@
package_stereotypes 6 "facade" "framework" "model library" "stub" "toplevel" "profile"
-_-> 3 "access" "import" "from"
end
class_stereotypes 23 "actor" "auxiliary" "boundary" "control" "entity" "enum" "enum_class" "enum_pattern" "exception" "focus" "implementationClass" "interface" "@interface" "metaclass" "stereotype" "struct" "table" "type" "typedef" "template_typedef" "union" "utility" "trait"
---- 4 "list" "set" "vector" "map"
---> 4 "list" "set" "vector" "map"
---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}"
o--- 4 "list" "set" "vector" "map"
*--- 4 "list" "set" "vector" "map"
o--> 4 "list" "set" "vector" "map"
*--> 4 "list" "set" "vector" "map"
-_-> 5 "friend" "from" "import" "instantiate" "use"
-_-|> 1 "bind"
end
rolepart_stereotypes 0
use_case_stereotypes 2 "realization" "realization"
---|> 4 "{complete,disjoint}" "{incomplete,disjoint}" "{complete,overlapping}" "{incomplete,overlapping}"
-_-> 2 "include" "extend"
end
artifact_stereotypes 8 "database" "document" "executable" "file" "library" "script" "source" "text"
-_-> 4 "deploy" "manifest" "import" "from"
end
attribute_stereotypes 4 "list" "set" "vector" "map"
operation_stereotypes 0
state_stereotypes 3 "machine" "submachine" "top"
activity_stereotypes 0
flow_stereotypes 3 "interrupt" "multicast" "multireceive"
interruptibleactivityregion_stereotypes 0
pseudostate_stereotypes 0
stateaction_stereotypes 2 "send-signal" "receive-signal"
parameter_stereotypes 0
activityvariable_stereotypes 0
parameterset_stereotypes 0
activitynode_stereotypes 0
activityaction_stereotypes 0
activityobject_stereotypes 2 "datastore" "centralBuffer"
expansionregion_stereotypes 0
activitypartition_stereotypes 0
pin_stereotypes 0
port_stereotypes 0
component_stereotypes 6 "buildComponent" "entity" "implement" "process" "service" "subsystem"
deploymentnode_stereotypes 3 "cpu" "device" "executionEnvironment"
classview_stereotypes 0
usecaseview_stereotypes 0
componentview_stereotypes 0
deploymentview_stereotypes 0
classdiagram_stereotypes 0
classcompositediagram_stereotypes 0
seqdiagram_stereotypes 0
msg_stereotypes 0
coldiagram_stereotypes 0
usecasediagram_stereotypes 0
statediagram_stereotypes 0
activitydiagram_stereotypes 0
componentdiagram_stereotypes 0
deploymentdiagram_stereotypes 0
end

18
models/tools Normal file
View File

@ -0,0 +1,18 @@
// 'tool' "the executable" "displayed string" {target}+
tool "HTML documentation" "ghtml" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
tool "HTML doc. (flat)" "ghtml -flat" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
tool "HTML doc. (svg)" "ghtml -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
tool "HTML doc. (flat, svg)" "ghtml -flat -svg" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Port RolePart Connector ExtraMember ClassInstance State Region StateAction Initial EntryPoint Final Terminate ExitPoint DeepHistory ShallowHistory Junction Choice Fork Join Transition Activity InterruptibleActivityRegion ExpansionRegion ActivityObject ActivityAction Parameter ParameterSet Pin ExpansionNode InitialActivityNode FinalActivityNode ExitPointActivityNode DecisionActivityNode MergeActivityNode ForkActivityNode JoinActivityNode Flow Project Package UseCaseView ClassView ComponentView DeploymentView UseCaseDiagram SeqDiagram ColDiagram ClassDiagram ClassCompositeDiagram ObjectDiagram StateDiagram ActivityDiagram ComponentDiagram DeploymentDiagram UseCase Component Node Artifact Inherit DependOn
tool "Generate .pro" "gpro" Artifact
tool "Import Rose" "irose" Project Package
tool "C++ utilities" "cpp_util" Class
tool "Generate XMI 1.2" "gxmi" Project
tool "Generate XMI 2.x" "gxmi2" Project
tool "Import XMI 2.x" "ixmi2" Project Package
tool "C++ state machine" "stmgen" State
tool "Use case wizard" "usecasewizard" UseCase
tool "Check-in" "file_control ci" Project Package
tool "Check-out" "file_control co" Project Package
tool "Deploy classes" "deplcl" ClassView
tool "Global Change" "global_change" Class Project Package ClassView DeploymentView
tool "Uml projection" "uml_proj" Class Operation Attribute Generalisation Realize Dependency Association DirectionalAssociation Aggregation AggregationByValue DirectionalAggregation DirectionalAggregationByValue Project Package ClassView

38
system-events.md Normal file
View File

@ -0,0 +1,38 @@
Zdarzenia systemowe
===================
Use case 2: Zakup produktu
-----------------
1. wprowadzenie numeru produktu
2. wybranie formy płatności
3. wprowadzanie monet
4. zaprzestanie wprowadzania monet podczas transakcji
Use case 4: Płatność kartą
-----------------
1. wybranie płatności kartą
Use case 7: Dodanie towaru do automatu
-----------------
1. wybranie opcji "dodaj produkty" i podanie hasła przez zaopatrzeniowca
2. dodanie produktów i wybranie opcji "uzypełniono towar" przez zaopatrzeniowca
3. zamknięcie automatu przez zaopatrzeniowca
Use case 8: Naprawa automatu w przypadku awarii systemu
-----------------
1. podłączenie laptopa do automatu (+ logowanie)
2. włączenie narzędzi diagnostycznych (+ Generacja raportu)
3. rozpoczęcie naprawy poprzez włączenie narzędzi naprawczych
4. zamkniecie automatu
5. ponowne uruchomienie automatu
Use case 9: Generowanie raportu sprzedaży
-----------------
1. wybranie opcji "generowanie raportu sprzedaży" przez zaopatrzeniowca
2. wybranie produktu i ram czasowych przez zaopatrzeniowca
3. modyfikacje pól danych raportu sprzedaży, wybrane przez zaopatrzeniowca (produkt, ramy czasowe)

94
use-case-2.md Normal file
View File

@ -0,0 +1,94 @@
Use Case 2: Zakup produktu
=====================
**Aktor podstawowy:** Klient
Główni odbiorcy i oczekiwania względem systemu:
-----------------------------------------------
- Klient: zakup produktów
- System płatniczy: realizacja transakcji gotówkowych i płatności kartą
- Dział zaopatrzenia: odbiera raporty od automatu spożywczego
Warunki wstępne:
----------------
Automat jest w trybie "uruchomiony".
Warunki końcowe:
----------------
Sprzedaż produktu odbyła się poprawnie. Płatność została autoryzowana. Maszyna przechowuje dane o transakcji.
Scenariusz główny (ścieżka podstawowa):
---------------------------------------
1. Klient wprowadza numer dostępnego produktu
2. Automat tworzy w systemie nową transakcję, nadaje jej status "rozpoczęta"
3. Automat wyświetla konieczną do zapłacenia kwotę
4. Klient wybiera formę płatności gotówką
5. Klient wrzuca monety
6. Po każdej wrzuconej monecie automat wyświetla pozostałą do zapłacenia kwotę (do momentu aż kwota wprowadzona zrówna się, bądź przewyższy wartości wybranego produktu)
7. Automat wydaje resztę
8. Automat przygotowuje i wydaje produkt
9. Automat sprawdza stan magazynowy sprzedanego produktu i monet
10. Automat automat aktualizuje status transakcji na "zakończona"
Rozszerzenia (ścieżki alternatywne):
------------------------------------
*a. watchdog wykrywa błąd/zacięcie systemu
1. watchdog resetuje automat i wprowadza go w tryb "uruchomiony". Automat sprawdza ostatnią transakcję zapisana w pamięci. Na podstawie kompleksowych danych z pamięci, automat jest wstanie kontynuować transakcję, w każdym jej kroku
2. ostatnia transakcja ma status "rozpoczęta"
2a. ostatnia transakcja ma status "zakończony"
1. automat jest gotowy do obsługi kolejnego klienta
3. automat kontynuuje sprzedaż wykonując następny krok procedury w stosunku do ostatniej zapisanej aktywności
4a. płatność kartą
1. automat komunikuje się z systemem płatniczym, wysyłając mu należną kwotę
2. klient płaci kartą płaniczą w sposób zbliżeniowy
3. system autoryzuje płatność
3a. system płatniczy odrzuca kartę
1. automat informuje klienta o odrzuconej płatności i wraca do kroku 2. scenariusza głównego
4. automat odbiera dane od systemu płatniczego
5. automat wyświetla komunikat o sukcesie
6. Następuje przejście do kroku 5. scenariusza głównego
6a. automat nie dostaje monet przez 45 sekund
1. automat zwraca wszystkie wrzucone monety z bieżącej transakcji
2. automat usuwa transakcję
3. automat jest gotów do realizacji kolejnej transakcji i wykonania kroku 1 scenariusza głównego
9a. stan magazynowy jest równy minimalnemu stanowi magazynowemu
1. automat poprzez sieć internetową wysyła informację do działu zaopatrzenia ze swoim ID i ID surowca.
Wymagania specjalne:
--------------------
- informacje o przebiegu każdego kroku transakcji są na bieżąco zapisywane w pamięci maszyny.
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
---------------------------------------------------------------
- automat spożywczy jest podłączony do sieci internetowej za pomocą kabla sieciowego.
- numery produktów składają się z dwóch cyfr np. 01, 15
Kwestie otwarte:
----------------
- czy automat powinien przyjmować walutę Euro?

94
use-case-4.md Normal file
View File

@ -0,0 +1,94 @@
Use Case 1: Płatność kartą
=====================
**Aktor podstawowy:** Klient
Główni odbiorcy i oczekiwania względem systemu:
-----------------------------------------------
- Terminal: otrzymać potwierdzenie zapłaty
- Terminal: obsługiwać karty różnego rodzaju
- System autoryzacjic płatności: autoryzacja płatności
Warunki wstępne:
----------------
Klient wybrał produkt z listy oraz opcje płatności kartą.
Warunki końcowe:
----------------
Płatność zostaje zatwierdzona.
Scenariusz główny (ścieżka podstawowa):
---------------------------------------
1. Automat uruchamia terminal.
2. Terminal łączy się z serwisem płatniczym.
3. Automat wyświetla wartość zamówienia na terminalu, powiadamia o kotowości do operacji.
4. Klient dokonuje płatności kartą.
5. Automat wysyła dane potrzebne do przelewu.
6. Automat przetwarza informacje zwrotną.
7. Automat akceptuje transakcje.
Rozszerzenia (ścieżki alternatywne):
------------------------------------
*a. Terminal nie działa
1. Pojawienie się komunikatu, na ekranie startowym, o braktu możliwości płacenia kartą.
2a. Terminal nie może połączyć się z serwisem płatniczym.
1. Termianl ponawia próbę połączenie się
1. Próba połączenia się z serwisem (maksymalnie 3 próby).
2. Informuja dla klienta o braku możliwości płatności kartą.
3. Przerywanie obecnej transakcję.
2. krok trzeci rozszerzenia 3a
4a. Błąd podczas sczytywania danych(ZMIANA)
1. Przekroczenie limitu czasowego, po 30 sekundach oczekiwania na kartę
<!-- 1. Oczekiwanie na kartę przez 30s. -->
2. Informacja o przekroczeniu czas transakcji.
3. Przerwanie obecnej transakcji.
2. Błędne sczytanie danych
1. Prośba o ponowne przyłożenie karty.
2. Maksymalnie 3 próby.
3. Przerwanie obecnej transakcji.
5a. Zerwanie połaczenia z systemem
1. Powrót do kroku 2
6a. Brak potwierdzenia z terminalu
1. Komunikat o przerwaniu transakci.
2. Powrót do punktu 4.
Wymagania specjalne:
--------------------
- Komunikaty muszą pojawiać się na ekranie oraz być wymawiane przez syntezator mowy.
- Akceptowanie wyłącznie kart Visa i Mastercard.
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
---------------------------------------------------------------
2a.
Kwestie otwarte:
----------------
- Ile czasu oczekujemu na ponowną interakcję klienta z systemem po pojawieniu się błędów?
- Czy akceptowane będą wszyskie rodzaje kart?

90
use-case-7.md Executable file
View File

@ -0,0 +1,90 @@
Use Case 7: Dodanie towaru do automatu.
=====================
**Aktor podstawowy:** Zaopatrzeniowiec
Główni odbiorcy i oczekiwania względem systemu:
-----------------------------------------------
- Zaopatrzeniowiec: Dodanie przywiezionych towarów do automatu.
- Dział zaopatrzeniowy: Otrzymanie raportu o stanie produktów.
- Automat: Uzupełnienie ilości produktów.
Warunki wstępne:
----------------
Sprawny automat, gotowy do otrzymania nowych produktów lub uzupełninia ich braków.
Zaopatrzeniowiec z raportem o ilości wolnego miejsca w automacie przystępuje do dodania towarów.
Warunki końcowe:
----------------
Zaopatrzeniowiec dodał produkty.
Automat jest gotowy do obsłuzenia nowego klienta.
Dział zaopatrzeniowy otrzymuje raport o ilości produktów w automacie.
Scenariusz główny (ścieżka podstawowa):
---------------------------------------
1. Zaopatrzeniowiec wybiera opcję "dodaj produkty" oraz podając hasło, wprowadza go w stan
gotowości do otrzymania nowych towarów.
2. Zaopatrzeniowiec uzupełnia produkty w automacie.
3. Zaopatrzeniowiec wybiera opcję "uzupełniono towar".
4. Automat sprawdza stan produktów oraz wysyła raport do działu zaopatrzeniowego.
5. Automat przechodzi w stan gotowy do zamknięcia.
6. Zaopatrzeniowiec zamyka automat, automat moze odebrać nowe zamówienie.
Rozszerzenia (ścieżki alternatywne):
------------------------------------
1a. Podano nieprawidłowe hasło.
1. Automat wyświetla komunikat z informacją o podaniu nieprawidłowego hasła.
2. Ekran logowania pojawia się ponownie.
2a. Wielkorotnie wprowadzone nieprawidłowe hasło.
1. Automat przechodzi w stan gotowości do otrzymania nowego zamówienia oraz blokuje opcję dodania nowych produktów na 5 min.
4a. Błąd w trakcie sprawdzania stanu produków w automacie.
1. Automat powiadamia zaopatrzeniowca o błędzie podczas sprawdzania stanu towarów.
2. Zaopatrzeniowiec poprawia umieszczenie produktów oraz wybiera opcję "sprawdź ponownie".
3. Automat przechodzi do fazy sprawdzania stanu produktów.
4b. Automat nie moze wysłać wygenerowanego raportu do działu zaopatrzeniowego.
1. Automat powiadamia o błędzie zaopatrzeniowca.
2. Automat wyświetla raport na ekranie wbudowanego wyświetlacza.
3. Zaopatrzeniowiec, po zapoznaiu się z raportem, potwierdza jego odczytanie.
Wymagania specjalne:
--------------------
- Wprowadzenie zbyt duzej ilości produktów skutuje błędem w trakcie sprawdzania stanu produktów w automacie.
Ściezka 4a.
- Automat przechodzi w stan gotowości do otrzymania nowego zamówienia tylko jeśli jego czujniki wykryją poprawne zamknięcie drzwi. Ściezka 6.
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
---------------------------------------------------------------
1a. Hasło jest długości minimum 10 znaków.
4b. Automat wyświetla na ekranie czytelny dla zaopatrzeniowca raport.
Kwestie otwarte:
----------------
- Umieszczenie opcji serwisowych.
Czy mają one być klikane na ekranie autmatu, dostępne poprzez fizyczny guzik na automacie, czy moze zaopatrzeniowiec ma posiadać specjalne urządzenie serwisowe komunikujące się z automatem?
- Co oznacza czytelny raport?

130
use-case-8.md Normal file
View File

@ -0,0 +1,130 @@
Use Case 8: Naprawa automatu w przypadku awarii systemu
=====================
**Aktor podstawowy:** Serwisant
**Główni odbiorcy i oczekiwania względem systemu**:
------------------------------------------------
- **Serwisant**: Chce by serwis/naprawa poszły bezproblemowo i w ciągui jednego posiedzenia. Oczekuje jeszcze dobrze opisanej instrukcji naprawy automatu i dobrze zaprojektowanego systemu
- **Klient**: Oczekuje sprawności automatu 24/7 oraz szybkiej i bezproblemowej transakcji.
- **Właściciel**: Oczekuje, że automat będzie sprawny, oraz że w przypadku awwarii zostanie ona szybko usunięta, gdyż w przeciwnym wypadku nie będzie zarabiał ze sprzedaży w automacie. Oczekuje jeszcze zadowolenie klienta z powodu możliwości dokonania zakupu przez niego
**Warunki wstępne**:
Występuje pewna awaria w systemie informatycznym automatu spożywczego. Serwisant zna hasło do systemu automatu
...
**Warunki końcowe**:
Automat został naprawiony i jest zdany do użytku klientom. Potwierdzenie naprawy jest wysłane do centrali oraz właściciela automatu
...
**Scenariusz główny (ścieżka podstawowa)**:
---------------------------------------
1. Serwisant przy pomocy klucza otwiera automat
2. Serwisant podłącza swoje urządzenie (Laptop) do Płyty głównej automatu, oraz wpisuje wymagane hasło
3. Serwisant włącza narzędzie diagnostyczne w celu wygenerowania pliku błędów występujących na automacie, oraz ich wstępnej analizie
4. Serwisant analizuje błędy
5. Serwisant Naprawia automat
6. Po ukończonej naprawie Serwisant resetuje automat
7. Serwisant przeprowadza testową operację zakupu produktu z automatu
8. Serwisant raz jeszcze sprawdza Logi systemu, w celu upewnienia się że automat działa poprawnie, i wysyła je do centrali w raporcie z naprawy
9. Serwisant zamyka automat
**Rozszerzenia (ścieżki alternatywne):**
------------------------------------
*a. Laptop służący do naprawy się zawiesza
1. Serwisant resetuje system, loguje się, i żąda odtworzenia stanu przed zawieszeniem się systemu
1a. Laptop nie chce się zrestartować
1. Serwisant wysyła rapot o uszkodzonym laptopie i wraca do centrali
2. System odtwarza system przed zawieszeniem
2a. Odtworzenie stanu nie jest możliwe
1. Serwisant wraca do kroku 2 scenariusza głównego
2a. Płyta główna jest uszkodzona co uniemożliwia podłączenie i analizę błędów
1. Serwisant demontuje płytę główną
2. Serwisant wysyła raport, który zawiera zamówienie na nową płytę główną
3a. Mimo błędów w systemie narzędzie diagnostycznie nie wskazuje na żaden błąd
1. Serwisant sam analizuje wygenerowany plik z błędami
1a. Serwisant również nie jest w stanie odnaleźć błędu w systemie
1. Serwisant wysyła plik z analizą błędów do centrali
2. Serwisant wysyła prośbę o zabranie automatu do serwisu
3. Serwisant odłącza automat od prądu
1b. Serwisant odnajduje własnoręcznie błąd w pliku z błędami
1. Serwisant wysyła raport o odnalezieniu błędu do zespołu odpowiedzialnego za aplikację do analizy błędów
2. Serwisant wraca do punktu 5 scenariusza głównego
3b. System nie posiada błędów i działa w 100% poprawnie
1. Serwisant kontynuuje od 7 kroku scenariusza głównego
6a. Po restarcie automat wykazuje ten sam błąd co przed pojawieniem się serwisanta
1. Serwisant wysyła odpowiedni raport o dziwnym zachowaniu automatu
2. Serwisant wraca do punktu 2 scenariusza głównego
2a. Taki błąd wystąpił więcej niż 1 raz
1. Serwisant wysyła plik z analizą błędów do centrali
2. Serwisant wysyła prośbę o zabranie automatu do serwisu
3. Serwisant odłącza automat od prądu
7a. Automat nie może ukończyć testowej operacji zakupu
1. Serwisant wraca to punktu 2 scenariusza głównego
1a. Sytuacja ta powtarza się więcej niż 1 raz
1. Serwisant wysyła plik z analizą błędów do centrali
2. Serwisant wysyła prośbę o zabranie automatu do serwisu
3. Serwisant odłącza automat od prądu
8a. Podczas sprawdzania logów okazuje się, że w automacie nadal pojawiają się błędy
1. Serwisant wraca do kroku 5 scenariusza głównego
1a. Sytuacja się powtarza więcej niż 1 raz
1. Serwisant wysyła plik z analizą błędów do centrali
2. Serwisant wysyła prośbę o zabranie automatu do serwisu
3. Serwisant odłącza automat od prądu
**Wymagania specjalne**:
--------------------
- Wielojęzyczny interface narzędzia diagnostycznego
- Plik z przeanalizowanymi błędami w języku angielskim
**Wymagania technologiczne oraz ograniczenia na wprowadzane dane**:
---------------------------------------------------------------
2a. Laptop jest w stanie uruchomić narzędzie diagnostyczne, oraz umożliwić naprawę automatu
3a. Plik z analizą błędów zapisany jako semantyczna baza wiedzy w formacie .ttl
**Kwestie otwarte**:
----------------
- Czy serwisant będzie posiadał własny czy służbowy laptop
- Czy serwisant musi rozumieć język angielski w celu analizy błędów

110
use-case-9.md Normal file
View File

@ -0,0 +1,110 @@
Use Case 9: Automat- Generowanie raportu ze sprzedaży
=====================
**Aktor podstawowy: Zaopatrzeniowiec**
Główni odbiorcy i oczekiwania względem systemu:
-----------------------------------------------
- Dział zaopatrzeniowy: uzyskanie informacji, które produkty są najszybciej kupowane.
Warunki wstępne:
----------------
Zaopatrzeniowiec jest zalogwany do systemu.
Warunki końcowe:
----------------
Dział zaopatrezniowy otrzymał od automatu poprawnie wygenerownay raport sprzedazy.
Scenariusz główny (ścieżka podstawowa):
---------------------------------------
1. Zaopatrzenieowiec wybiera w systemie funkcję *Generowanie raportu sprzedży*.
2. Zaopatrezniowec wybiera produkt (jeden,kilka lub wszytkie), którego ten raport bedzie dotyczył i go/je akceptuje.
3. Zapatrezniowec akceptuje zamy czasowe raportu (data_od_kiedy, data_do_kiedy).
4. Autoamt generuje raport sprzedaży.
Raport zawiera:
- id_automatu
- id_produktu
- nazwa_produktu
- data_od_kiedy (domyślnie: od dnia ostatniego dołozenia produktu do autoamtu)
- data_do_kiedy (domyślnie: do dnia wybrania opcji (włącznie))
- liczby_zakupów_danego_produktu_w_jednym_dniu (w kazdym dniu)
- liczby_zakupów_danego_produktu_w_jednym_tygodniu (w kazdym tygodniu)
- liczba_zakupów_danego_produktu_w_całym okresie
- liczba_wszystkich_kupionych_produktów_w_jednym_dniu (w kazdym dniu)
- liczba_wszystkich_kupionych_produktów_w_tygodniu (w kazdym tygodniu)
- liczba_wszystkich_kupionych_produktów_w_całym_okresie
- stosunek_liczby_zakupów_danego_produktu_w_jednym_dniu_do_liczby_wszystkich_kupionych_produktów_w_jednym_dniu (w kazdym dniu)
- stosunek_liczby_zakupów_danego_produktu_w_jednym_tygodniu_do_liczby_wszystkich_kupionych_produktów_w_tygodniu (w kazdym tygodniu)
- stosunek_liczby_zakupów_danego_produktu_w_całym_okresie_do_liczby_wszystkich_kupionych_produktów_w_całym_okresie
5. Automat wysyła raport do działu zaopatrzeniowego.
Rozszerzenia (ścieżki alternatywne):
------------------------------------
*a. Brak prądu/ nagłe wyłączenie zasilania
1. Ponowane włączenie automatu
2. Automat przechodzi w tryb *Gotowy do działania*
3. Funkcje przerwane, nalezy rozpocząć od nowa
*b Resetowanie sytemu (uruchamianie ponowanie)
1. Automat przechodzi w tryb *Gotowy do działania*
2. Funkcje przerwane, nalezy rozpocząć od nowa
1a. Wybranie niewłaściwej funkcji
1. Zaopatrezniowec wybiera opcję cofnij
1a. Brak mozliwości przejścia do listy z dostepnymi funkcajmi
1. Po odczekaniu 15s, zaopatrzeniowiec resetuje system
2. Wybranie funkcji *Generowanie raportu sprzedazy*
2a. Zaopatrzeniowiec modyfikuje/zmienia wybrany/-e produkt/-y, którego/-ych będzie dotyczył raport
1. Zaopatrzeniowiec wybiera opcję *Zmień produkt/-y*
2. Automat wyświetla listę produktów
3. Zaopatrzeniowiec modyfikuje listę po przez kliknięcie na dany produkt
3a. Zaopatrzeniowiec modyfikuje ramy czasowe raportu (data_od_kiedy, data_do_kiedy)
1. Zaopatrzeniowiec wybiera opcję *Modyfikuj*
2. Zaopatrzeniowec wpisuje nowe ramy czasowe (recznie- z klawiatury)
4a. Błąd w generowaniu raportu
1. Automat wyświetla komunikat o błędym wykonaniu funkcji
2. Zaopatrzeniowiec wybiera opcję *Wyświetl szczegóły błędu*
3. Automat wyświetla szczegóły błędu
3a. Automat nie wyświetla szczegółów błędu
1. Powrót do kominikatu o błędzie
2. Zaopatrzeniowiec wybiera *Wyświetl szczegóły błędu*
3. System poprawnie wyświetlił szczegóły błędu
3a System nie wyświetlił szczegółów błędu - wyświetlił np. puste okienko
1. Ponownie uruchominie systemu w automacie
4. Powrót do menu głównego
5. Automat przechodzi w stan *Gotowy do uzytku*
5a. Niepowdzenie w wyłaniu raportu
1. Automaty wyświetla kominikat o niepowodzeniu wysłania raportu
2. Zapatrezniowiec wybiera opcję *Wyślij ponowanie*
3. Automata wysyła raport do działu zaopatrezniowego
3a. Automaty wyświetla kominikat o niepowodzeniu wysłania raportu
1. Ponownie uruchominie systemu w automacie
4. Powrót do menu głównego
5. Automat przechodzi w stan *Gotowy do uzytku*
Wymagania specjalne:
--------------------
- Raport jest generowny w języku polskim
- Po wybraniu produktu z listy, dany produkt zostaje podświetlony (jego tło zmienia kolor)
- W raporcie statystyki/liczby poszczególnych produktów, rozpoczynają się od nowe strony (by potem mozna było łatwo wydzielić statystyki poszczegónego produktu)
Wymagania technologiczne oraz ograniczenia na wprowadzane dane:
---------------------------------------------------------------
- Automat ma dostęp do internetu
Kwestie otwarte:
----------------
- Raport genrowany w języku obcym

63
use-cases.md Normal file
View File

@ -0,0 +1,63 @@
# **Projekt: Automat**
## Opis skrócony przypadków użycia
### Aktorzy procesu i ich cele:
| Aktor | Cel |
|----------------------|---------------------------------------------------------------------------------|
| Klient | zakup produktów |
| Zaopatrzeniowiec | uzupełnienie brakujących produkty i monety |
| Serwisant | przeprowadzenie serwisu automatu |
| Serwisant | naprawa systemu w przypadku awarii |
| System płatniczy | realizacja transakcji gotówkowych i płatności kartą | |
| Dział zaopatrzeniowy | osoby odpowiedzialne za dostawę i zaopatrywanie automatu (w produkty i gotówkę) |
### Słownik:
| Hasło | Opis |
|---------------------------|---------------------------------------------------------------------------------|
| Stan magazynowy | ilość produktów danego typu w maszynie |
| Minimalny stan magazynowy | ilość produktu danego typu, przy której maszyna wysyła informację o konieczności jej uzupełnienia |
| Gotowy produkt | Produkt niewymagający przygotowania, np. Baton, napój w puszcze |
| Przygotowany produkt | Produkt wymagający wcześniejszego przygotowania np. Obróbki termicznej: ciepła bułka lub zalania wrzątkiem: kawa, herbata |
| Terminal | urządzenie umożliwiające płacenie kartą wyłącznie zbliżeniowo |
| Serwisant | odpowiedzialna za utrzymanie poprawnego działania automatu, wsparcie techniczne |
### UseCases:
**Use Case 1: Dział zaopatrzeniowy - Wysłanie prośby o raport stanu magazynowego produktów**
Dział zaopatrzeniowy wysyła prośbę o raport stanu magazynowego wszystkich produktów do maszyny o odpowiednim ID. Automat sprawdza stan wszystkich produktów. Automat wysyła raport stanu do działu zaopatrzenia (ilość każdego z produktów).
**Use Case 2: Klient - zakup produktu**
Klient wprowadza dostępny numer produktu. Automat wyświetla konieczną do zapłacenia kwotę. Klient dokonuje płatności(patrz UC 3 lub UC4). Automat przygotowuje i wydaje produkt. Automat sprawdza stan magazynowy zakupionego produktu.
**Use Case 3: Klient - płatność gotówką**
Klient wrzuca monety lub podaje banknoty. Automat sumuje pieniądze i wyświetla pozostałą wartość w czasie rzeczywistym. Jeśli wartość zamówienia zostanie osiągnięta, automat akceptuje płatność. Automat wydaje resztę. Automat sprawdza stan magazynowy nominałow.
**Use Case 4: Klient - płatność kartą**
Klient wybiera płatność kartą. Automat uruchamia terminal. Terminal łączy się z serwisem płatniczym. Automat wyświetla wartość zamówienia na terminalu. Klient dokonuje płatności kartą. Automat wysyła dane potrzebne do przelewu. Automat akceptuje transakcje.
**Use Case 5: Serwisant - Przeprowadzenie serwisu automatu - “diagnostyka automatu”**
Serwisant, przy pomocy dedykowanego systemu uruchamia opcję “diagnostyka automatu”. Automat zmienia swój stan z “gotowy do użytku” na “tryb diagnostyczny”. Automat przeprowadza przygotowaną procedurę diagnozy. Automat generuje raport i wysyła go do działu serwisu. Automat zmienia swój stan na “gotowy do użytku”.
**Use Case 6: Zaopatrzeniowiec Dodanie pieniędzy do automatu**
Zaopatrzeniowiec wybiera w systemie opcję “Dodanie pieniędzy”. Zaopatrzeniowiec dodaje monety do poszczególnych przegródek na odpowiednie nominały. Zaopatrzeniowiec włącza funkcję “przeliczenia pieniędzy”. Automat przelicza monety i banknoty oraz wysyła informację do działu zaopatrzeniowego o nowym stanie kasetki. Zaopatrzeniowiec wyłącza funkcję dodawania pieniędzy i przełącza automat w tryb “gotowy do użytku”.
**Use Case 7: Zaopatrzeniowiec Dodanie towaru do automatu**
Zaopatrzeniowiec uzupełnia brakujący towar w automacie. Po uzupełnieniu wybiera w systemie opcję “Uzupełniono towar”. Następnie system czujników w automacie sprawdza nowy stan poszczególnych produktów i wysyła odpowiedni raport do działu zaopatrzeniowego. Automat przechodzi w stan gotowości do zamknięcia. Po zamknięciu automat przechodzi w tryb “gotowy do użytku”.
**Use Case 8: Serwisant Naprawa automatu w przypadku awarii systemu**
Serwisant wyłącza automat. Następnie pobiera logi systemowe z automatu w celu ich analizy (znalezienia błędu). Po analizie serwisant podpina się do systemu i przełącza go w stan naprawy. Po naprawie serwisant przeprowadza scenariusz zakupu (patrz UC2) a następnie gdy przeszedł on testy to przełącza go w stan gotowości do działania.
**Use Case 9 Serwisant - Generowanie raportu ze sprzedaży**
Po wybraniu funkcji “Raport sprzedaży” automat generuje raport, w którym znajdują się informacje kiedy dany produkt został wykupiony i po jakim czasie od ostatniego uzupełninia towaru. Raport po wygenerowaniu zostanie wysłany na działu zaopatrzeniowego.
**Use Case 10 Zaopatrzeniowiec - Pobranie pieniędzy z automatu**
Zaopatrzeniowiec przełącza automat w stan pobrania pieniędzy. Czujniki w kasetce przeliczają ilość pieniędzy do wydania i następnie generują raport i wysyłają go do działu zaopatrzeniowego i właściciela automatu. Zaopatrzeniowiec pobiera pieniądze. Zaopatrzeniowiec wyłącza funkcję pobierania pieniędzy i przełącza automat w tryb “gotowy do użytku”.
**Use Case 11 Serwisant - Powiadomienie o awaryjnym wyłączeniu się automatu**
Automat jest odporny na pojawienie się błędów systemowych podczas działania. W przypadku natrafienia na jeden z nich, automat nie wyłącza się. Zostaje automatycznie pobierany raport błędu, a szczegółowe dane w nim zawarte zostają przesłane do specjalnego systemu powiadomień serwisanta.
**Use Case 12 Serwisant - Informacja o próbie włamania**
Automat za pomocą specjalnego czujnika wykrywa nieautoryzowane otwarcie. Oznacza to próbę włamania. Automat włącza alarm dźwiękowy oraz wysyła powiadomienie z dokładnym czasem oraz identyfikatorem maszyny. Serwisant otrzymuje powiadomienie w specjalnym systemie i jest w stanie wyłączyć alarm dźwiękowy zdalnie.