diagram_9-X_6

This commit is contained in:
MikoPat 2021-01-31 12:45:06 +01:00
commit 316d1f4914
26 changed files with 8169 additions and 41 deletions

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.

View File

@ -1,16 +1,6 @@
window_sizes 1920 1027 450 1465 870 104
window_sizes 1800 918 450 1345 766 104
diagrams
sequencediagram_ref 128266 // 9-1-wybranieOpcji"GenerowanieRaportu"
1172 696 100 A3 0 0
active sequencediagram_ref 134658 // 2-1-wprowadzenieNumeruProduktu
1172 696 100 A3 0 0
end
show_stereotypes
selected sequencediagram_ref 128013 // 7-1-opcjaDodajProdukty
open
class_ref 129166 // Serwisant
class_ref 129422 // Zwrot_monet
classview_ref 128002 // design
end
selected
package_ref 129 // models
end

32
models/128044.diagram Normal file
View File

@ -0,0 +1,32 @@
format 223
classinstance 128172 class_ref 128044 // Serwisant
name "" xyz 50 14 2000 life_line_z 2000
classinstance 128300 class_ref 128014 // Automat
name "Automat" xyz 185 19 2005 life_line_z 2000
classinstance 128812 class_ref 128014 // Automat
name "AutomatController" xyz 378 17 2005 life_line_z 2000
note 129196 "Co przechodzi w stan gotowosci? Automat czy AutomatController?"
xyzwh 495 143 2000 253 55
durationcanvas 128428 classinstance_ref 128172 // :Serwisant
xyzwh 81 86 2010 11 40
end
durationcanvas 128556 classinstance_ref 128300 // Automat:Automat
xyzwh 242 87 2010 11 37
end
durationcanvas 128940 classinstance_ref 128812 // AutomatController:Automat
xyzwh 465 102 2010 11 25
end
msg 128684 synchronous
from durationcanvas_ref 128428
to durationcanvas_ref 128556
yz 87 2015 explicitmsg "1. zamknijAutomat()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 101 70
msg 129068 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 128940
yz 102 2020 explicitmsg "1.1. przejdzWStanGotowosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 260 87
end

View File

@ -4,7 +4,7 @@ classinstancecanvas 128013 classinstance_ref 128013 // Zaopatrzeniowiec
xyz 18 16 2005 life_line_z 2000
end
classinstancecanvas 128141 classinstance_ref 128269 // Automat
xyz 322 28 2005 life_line_z 2000
xyz 322 27 2005 life_line_z 2000
end
classinstancecanvas 129037 classinstance_ref 128514 // KontrolerAutomatu
xyz 536 27 2005 life_line_z 2000

90
models/134572.diagram Normal file
View File

@ -0,0 +1,90 @@
format 223
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz -6 4 2000 life_line_z 2000
classinstance 128172 class_ref 134828 // Laptop
name "" xyz 175 101 2005 life_line_z 2000
classinstance 128300 class_ref 134956 // ManagerWejsciaWyjscia
name "" xyz 212 8 2005 life_line_z 2000
classinstance 128428 class_ref 135084 // ModulLogowania
name "" xyz 520 5 2005 life_line_z 2000
classinstance 128556 class_ref 128172 // AutomatController
name "" xyz 708 4 2000 life_line_z 2000
note 131500 "Jak zapisac podlaczenie laptopa?"
xyzwh 31 471 2000 183 55
note 131628 "Czy kontroler moze obslugiwac przejscie w stan serwisowy?
"
xyzwh 580 365 2000 193 71
durationcanvas 128684 classinstance_ref 128044 // :Serwisant
xyzwh 25 58 2010 11 41
end
durationcanvas 128812 classinstance_ref 128300 // :ManagerWejsciaWyjscia
xyzwh 295 59 2010 11 70
end
durationcanvas 129324 classinstance_ref 128428 // :ModulLogowania
xyzwh 576 78 2010 11 25
end
durationcanvas 129580 classinstance_ref 128428 // :ModulLogowania
xyzwh 576 153 2010 11 191
overlappingdurationcanvas 130988
xyzwh 582 265 2020 11 25
end
end
durationcanvas 129708 classinstance_ref 128172 // :Laptop
xyzwh 199 151 2010 11 109
end
durationcanvas 129964 classinstance_ref 128044 // :Serwisant
xyzwh 25 166 2010 11 65
end
durationcanvas 131244 classinstance_ref 128556 // :AutomatController
xyzwh 769 323 2010 11 26
end
msg 128940 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128812
yz 59 2015 explicitmsg "1. podlaczLaptopa()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 73 42
msg 129452 synchronous
from durationcanvas_ref 128812
to durationcanvas_ref 129324
yz 78 2015 explicitmsg "1.1. przeslijSygnalONowymUrzadzeniu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 311 59
msg 129836 synchronous
from durationcanvas_ref 129580
to durationcanvas_ref 129708
yz 153 2015 explicitmsg "1.2. zarzadajHasla()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 346 136
msg 130092 synchronous
from durationcanvas_ref 129708
to durationcanvas_ref 129964
yz 166 2015 explicitmsg "1.2.1. zarzadajHasla()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 45 147
msg 130220 return
from durationcanvas_ref 129964
to durationcanvas_ref 129708
yz 217 2015 explicitmsg "1.3. wprowadzDaneLogowania(ID : int, haslo : string)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 37 200
msg 130860 return
from durationcanvas_ref 129708
to durationcanvas_ref 129580
yz 234 2015 explicitmsg "1.3.1 zalogujSie(ID : int, haslo : string)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 264 243
reflexivemsg 131116 synchronous
to durationcanvas_ref 130988
yz 265 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 431 278
msg 131372 synchronous
from durationcanvas_ref 129580
to durationcanvas_ref 131244
yz 325 2015 explicitmsg "1.5 przelaczWStanSerwisowy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 570 342
end

55
models/134700.diagram Normal file
View File

@ -0,0 +1,55 @@
format 223
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 17 4 2000 life_line_z 2000
classinstance 128172 class_ref 134828 // Laptop
name "" xyz 257 4 2000 life_line_z 2000
classinstance 128300 class_ref 135340 // Diagnoza
name "" xyz 428 4 2000 life_line_z 2000
classinstance 128428 class_ref 135212 // Raport
name "" xyz 702 83 2000 life_line_z 2000
note 129196 "Diagnoza czy SystemOperacyjny?"
xyzwh 470 34 2005 155 59
note 129836 "Moze bardziej jest to przeprowadzenie diagnozy niz \"wlaczenie narzedzi diagnostycznych?\""
xyzwh 58 464 2000 277 73
durationcanvas 128556 classinstance_ref 128044 // :Serwisant
xyzwh 48 69 2010 11 40
end
durationcanvas 128684 classinstance_ref 128172 // :Laptop
xyzwh 281 70 2010 11 67
end
durationcanvas 128940 classinstance_ref 128300 // :Diagnoza
xyzwh 461 82 2010 11 109
end
durationcanvas 129324 classinstance_ref 128428 // :Raport
xyzwh 726 133 2010 11 25
end
durationcanvas 129580 classinstance_ref 128172 // :Laptop
xyzwh 281 162 2010 11 25
end
msg 128812 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 128684
yz 70 2015 explicitmsg "1. wlaczNarzedziaDiagnostyczne()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 57 52
msg 129068 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128940
yz 82 2015 explicitmsg "1.1. rozpocznijDiagnoze"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 298 65
msg 129452 synchronous
from durationcanvas_ref 128940
to durationcanvas_ref 129324
yz 133 2015 explicitmsg "<<create>> 1.1.1 stworzRaportDiagnozy"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 467 117
msg 129708 synchronous
from durationcanvas_ref 128940
to durationcanvas_ref 129580
yz 162 2015 explicitmsg "1.2 ZwrocRaport()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "raport : Raport"
label_xy 271 188
end

32
models/134828.diagram Normal file
View File

@ -0,0 +1,32 @@
format 223
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 34 4 2000 life_line_z 2000
classinstance 128172 class_ref 134828 // Laptop
name "" xyz 260 7 2000 life_line_z 2000
classinstance 128684 class_ref 128300 // SystemOperacyjny
name "" xyz 403 4 2000 life_line_z 2000
note 129068 "czy nie jest to zbyt ogolne? Co mozna dodac?"
xyzwh 308 141 2000 153 85
durationcanvas 128300 classinstance_ref 128044 // :Serwisant
xyzwh 65 75 2010 11 40
end
durationcanvas 128428 classinstance_ref 128172 // :Laptop
xyzwh 284 76 2010 11 85
end
durationcanvas 128812 classinstance_ref 128684 // :SystemOperacyjny
xyzwh 467 98 2010 11 26
end
msg 128556 synchronous
from durationcanvas_ref 128300
to durationcanvas_ref 128428
yz 76 2015 explicitmsg "1. wlaczNarzedziaNaprawcze()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 76 58
msg 128940 synchronous
from durationcanvas_ref 128428
to durationcanvas_ref 128812
yz 98 2015 explicitmsg "1.1. Naprawa()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 333 81
end

55
models/134956.diagram Normal file
View File

@ -0,0 +1,55 @@
format 223
classinstance 128044 class_ref 128044 // Serwisant
name "" xyz 33 4 2000 life_line_z 2000
classinstance 128172 class_ref 134828 // Laptop
name "" xyz 323 8 2000 life_line_z 2000
classinstance 128300 class_ref 128300 // SystemOperacyjny
name "" xyz 473 4 2000 life_line_z 2000
classinstance 128428 class_ref 128172 // AutomatController
name "" xyz 705 5 2000 life_line_z 2000
note 129708 "Czy ten restart jest zbedny?
"
xyzwh 379 121 2000 151 53
note 129836 "Klasyczne pytanie o to co przechodzi w stan gotowosci
"
xyzwh 584 205 2000 157 89
durationcanvas 128556 classinstance_ref 128044 // :Serwisant
xyzwh 64 69 2010 11 41
end
durationcanvas 128684 classinstance_ref 128172 // :Laptop
xyzwh 347 70 2010 11 82
end
durationcanvas 128940 classinstance_ref 128300 // :SystemOperacyjny
xyzwh 537 89 2010 11 127
overlappingdurationcanvas 129196
xyzwh 543 137 2020 11 25
end
end
durationcanvas 129452 classinstance_ref 128428 // :AutomatController
xyzwh 766 173 2010 11 35
end
msg 128812 synchronous
from durationcanvas_ref 128556
to durationcanvas_ref 128684
yz 70 2015 explicitmsg "1. wybierzPoleceniePonownegoUruchomienia()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 59 53
msg 129068 synchronous
from durationcanvas_ref 128684
to durationcanvas_ref 128940
yz 89 2015 explicitmsg "1.1. ponownieUruchom()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 367 72
reflexivemsg 129324 synchronous
to durationcanvas_ref 129196
yz 137 2025 explicitmsg "1.2 restartFunkcji()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 552 118
msg 129580 synchronous
from durationcanvas_ref 128940
to durationcanvas_ref 129452
yz 190 2025 explicitmsg "1.3. przejdzWStanGotowosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 557 173
end

36
models/141186.diagram Normal file
View File

@ -0,0 +1,36 @@
format 223
classcanvas 128386 class_ref 164994 // Automat
classdiagramsettings member_max_width 0 end
xyz 48 145 2000
end
classcanvas 128514 class_ref 165122 // ManagerTransakcji
classdiagramsettings member_max_width 0 end
xyz 221 143 2000
end
classcanvas 129282 class_ref 164226 // ModulPlatnosciGotowkowej
classdiagramsettings member_max_width 0 end
xyz 563 338 2000
end
classcanvas 129538 class_ref 171906 // Sprzedaz
classdiagramsettings member_max_width 0 end
xyz 630 141 2005
end
relationcanvas 128898 relation_ref 163458 // uzywa
decenter_end 510
from ref 128386 z 2001 label "uzywa" italic max_width 255 xyz 147 147.5 3000 to ref 128514
no_role_a no_role_b
multiplicity_a_pos 202 172 3000 multiplicity_b_pos 126 173 3000
end
relationcanvas 129666 relation_ref 163714 // tworzy
decenter_begin 558
from ref 128514 z 2006 label "tworzy" italic max_width 255 xyz 476.5 146.5 3000 to ref 129538
role_a_pos 558 140 3000 no_role_b
multiplicity_a_pos 613 170 3000 multiplicity_b_pos 377 174 3000
end
relationcanvas 130306 relation_ref 163842 // wykorzystuje
from ref 129538 z 2006 label "wykorzystuje" italic max_width 255 xyz 625 243 3000 to ref 129282
no_role_a no_role_b
multiplicity_a_pos 649 315 3000 multiplicity_b_pos 652 191 3000
end
end

51
models/147970.diagram Normal file
View File

@ -0,0 +1,51 @@
format 223
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 28 103 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 326 108 2000
end
classinstance 128898 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 167 375 2000
classinstance 129282 class_ref 178562 // ManagerPlatnosci
name "" xyz 377 213 2006
classinstance 130946 class_ref 178434 // ManagerPlatnosciKarta
name "" xyz 500 397 2000
linkcanvas 128514
from ref 128002 z 2001 to ref 128130
dirscanvas 130306 z 1000 linkcanvas_ref 128514
forward_label "1 wybranaFormaPatnosci(numerFormyPlatnosci:Int)" xyz 29 89 3000
linkcanvas 129410
from ref 128898 z 2007 to ref 129282
dirscanvas 130690 z 1000 linkcanvas_ref 129410
backward_label "3 zrealizujPlatnosc(cena:Money)" xyz 273 325 3000
linkcanvas 130434
from ref 128130 z 2007 to ref 129282
dirscanvas 130562 z 1000 linkcanvas_ref 130434
forward_label "2 ustawFormePlatnosci(formaPlatnosci:Enum)" xyz 459 166 3000
linkcanvas 131074
from ref 129282 z 2007 to ref 130946
dirscanvas 131202 z 1000 linkcanvas_ref 131074
forward_label "4 zrealizujPlatnosci(cena:Money)" xyz 437 286 3000
msgs
explicitmsg "wybranaFormaPatnosci(numerFormyPlatnosci:Int)"
forward ranks 1 "1" dirscanvas_ref 130306
msgs
explicitmsg "ustawFormePlatnosci(formaPlatnosci:Enum)"
forward ranks 2 "1.1" dirscanvas_ref 130562
msgs
explicitmsg "zrealizujPlatnosc(cena:Money)"
backward ranks 3 "1.1.1" dirscanvas_ref 130690
no_msg
explicitmsg "zrealizujPlatnosci(cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 131202
no_msg
msgsend
msgsend
msgsend
end

84
models/148098.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 3.6 2000 life_line_z 2000
durationcanvas 128770 classinstance_ref 128130 // :Klient
xyzwh 87 59.7 2010 11 40
end
durationcanvas 128898 classinstance_ref 128642 // KontrolerAutomatu:ZakupProduktu
xyzwh 260 75.6 2010 11 121
end
durationcanvas 129282 classinstance_ref 129154 // :ManagerPlatnosciGotowkowej
xyzwh 533 86.3 2010 11 120
overlappingdurationcanvas 129666
xyzwh 539 137 2020 11 25
end
end
durationcanvas 130050 classinstance_ref 129922 // :ManagerPlatnosci
xyzwh 815 157.6 2010 11 92
end
durationcanvas 130434 classinstance_ref 130306 // :ManagerSprzedazy
xyzwh 1083 211.2 2010 11 61
end
durationcanvas 130818 classinstance_ref 130690 // :Sprzedaz
xyzwh 1617 244.2 2010 11 25
end
msg 129026 synchronous
from durationcanvas_ref 128770
to durationcanvas_ref 128898
yz 80 2015 explicitmsg "wprowadzonoMonety(wartosc:Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 61 58
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 174 2015 explicitmsg "reszta:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 357 157
reflexivemsg 129794 synchronous
to durationcanvas_ref 129666
yz 137 2025 explicitmsg "obliczReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "cena:Money, kredytKlienta:Money"
label_xy 498 107
msg 130178 synchronous
from durationcanvas_ref 129282
to durationcanvas_ref 130050
yz 194 2015 explicitmsg "ustawReszte()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "reszta:Money"
label_xy 581 177
msg 130562 synchronous
from durationcanvas_ref 130050
to durationcanvas_ref 130434
yz 233 2015 explicitmsg "ustawInformacjeOPlatnosci()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "reszta: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, reszta:Money"
label_xy 1139 236
end

59
models/154626.diagram Normal file
View File

@ -0,0 +1,59 @@
format 223
classinstancecanvas 128002 classinstance_ref 129154 //
xyz 73 116 2000
end
classinstancecanvas 128130 classinstance_ref 128514 // KontrolerAutomatu
xyz 336 124 2000
end
classinstance 128770 class_ref 165122 // ManagerProduktow
name "" xyz 381 264 2000
classinstance 129794 class_ref 185218 // ManagerSprzedazy
name "" xyz 204 390 2000
classinstance 130178 class_ref 178562 // ManagerPlatnosci
name "" xyz 565 391 2000
linkcanvas 128258
from ref 128002 z 2001 to ref 128130
dirscanvas 128386 z 1000 linkcanvas_ref 128258
forward_label "1 wybranyProdukt(produktId:Int)" xyz 125 104 3000
linkcanvas 128898 decenter_begin 662 decenter_end 779
from ref 128130 z 2001 to ref 128770
dirscanvas 129026 z 1000 linkcanvas_ref 128898
forward_label "2 wybranyProdukt(produktId:Int)" xyz 508 200 3000
linkcanvas 129154
from ref 128770 z 2001 to ref 128130
dirscanvas 129282 z 1000 linkcanvas_ref 129154
forward_label "3 cena:Money" xyz 342 199 3000
linkcanvas 129922
from ref 128770 z 2001 to ref 129794
dirscanvas 130050 z 1000 linkcanvas_ref 129922
forward_label "4 ustawProdukt(nazwa:String, cena:Money)" xyz 241 361 3000
linkcanvas 130306
from ref 128770 z 2001 to ref 130178
dirscanvas 130434 z 1000 linkcanvas_ref 130306
forward_label "5 aktywuj(cena:Money)" xyz 486 307 3000
msgs
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 1 "1" dirscanvas_ref 128386
msgs
explicitmsg "wybranyProdukt(produktId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 129026
msgs
explicitmsg "cena:Money"
forward ranks 3 "1.1.1" dirscanvas_ref 129282
no_msg
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 4 "1.1.2" dirscanvas_ref 130050
no_msg
explicitmsg "aktywuj(cena:Money)"
forward ranks 5 "1.1.3" dirscanvas_ref 130434
no_msg
msgsend
msgsend
msgsend
end

84
models/154754.diagram Normal file
View File

@ -0,0 +1,84 @@
format 223
classinstancecanvas 128130 classinstance_ref 129154 //
xyz 71.6 4.8 2000 life_line_z 2000
end
classinstancecanvas 128642 classinstance_ref 128514 // KontrolerAutomatu
xyz 150.2 12.2 2000 life_line_z 2000
end
classinstance 129154 class_ref 164226 // ManagerPlatnosciGotowkowej
name "" xyz 433.6 12.2 2000 life_line_z 2000
classinstance 129922 class_ref 178562 // ManagerPlatnosci
name "" xyz 756.4 8 2000 life_line_z 2000
classinstance 130306 class_ref 185218 // ManagerSprzedazy
name "" xyz 1019.8 13 2000 life_line_z 2000
classinstance 130690 class_ref 171906 // Sprzedaz
name "" xyz 1585.2 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 261 75 2010 11 121
end
durationcanvas 129282 classinstance_ref 129154 // :ManagerPlatnosciGotowkowej
xyzwh 533 85 2010 11 120
overlappingdurationcanvas 131074
xyzwh 539 134 2020 11 25
end
end
durationcanvas 130050 classinstance_ref 129922 // :ManagerPlatnosci
xyzwh 816 158 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(wartosc:Money)"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 61 58
msg 129410 synchronous
from durationcanvas_ref 128898
to durationcanvas_ref 129282
yz 113 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 96
msg 129538 return
from durationcanvas_ref 129282
to durationcanvas_ref 128898
yz 161 2015 explicitmsg "wartosc:Money"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 357 144
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 "ustawInformacjeOPlatnosci()"
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, zwroconaWartosc:Money"
label_xy 1139 236
reflexivemsg 131202 synchronous
to durationcanvas_ref 131074
yz 134 2025 explicitmsg "zwrocWprowadzone()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
args "wartosc:Money"
label_xy 438 117
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

View File

@ -1,15 +1,18 @@
window_sizes 1920 1017 472 1443 890 74
window_sizes 1920 1017 302 1613 890 74
diagrams
active sequencediagram_ref 134658 // 2-1-wprowadzenieNumeruProduktu
1443 890 100 A3 0 0
classdiagram_ref 128014 // domain-model
1316 815 100 A1 708 705
active sequencediagram_ref 161154 // 2-4-zaprzestanieWprowadzaniaMonet
976 704 100 A2 0 723
end
show_stereotypes
selected classinstance_ref 128770 //
selected sequencediagram_ref 161154 // 2-4-zaprzestanieWprowadzaniaMonet
open
class_ref 128142 // Klient
sequencediagram_ref 134658 // 2-1-wprowadzenieNumeruProduktu
classinstance_ref 128514 // KontrolerAutomatu
class_ref 165122 // ManagerProduktow
class_ref 164226 // ManagerPlatnosciGotowkowej
class_ref 171906 // Sprzedaz
class_ref 178434 // ManagerPlatnosciKarta
class_ref 178562 // ManagerPlatnosci
class_ref 185218 // ManagerSprzedazy
end
end

20
models/44.session Normal file
View File

@ -0,0 +1,20 @@
window_sizes 1800 910 450 1345 753 104
diagrams
sequencediagram_ref 134700 // 8-2 wlaczenieNarzedziDiagnostycznych
1076 602 100 A4 0 0
sequencediagram_ref 134572 // 8-1 podlaczenieLaptopaDoAutomatu
1076 602 100 A4 0 0
sequencediagram_ref 134828 // 8-3 rozpoczecieNaprawy
1076 602 100 A4 0 0
sequencediagram_ref 128044 // 8-4 zamkniecieAutomatu
1076 602 100 A4 0 0
active sequencediagram_ref 134956 // 8-5 restartAutomatu
1076 602 100 A4 0 0
end
show_stereotypes
selected class_ref 128172 // AutomatController
open
classview_ref 128002 // design
end
end

View File

@ -1,7 +1,12 @@
format 223
"models"
<<<<<<< HEAD
revision 20
modified_by 10 "Miko³aj"
=======
revision 18
modified_by 2 "48516"
>>>>>>> 775091200df92e988932203e79753a357b5bc5cc
@ -1677,12 +1682,7 @@ format 223
activitydiagramsettings
end
sequencediagram 134658 "2-1-wprowadzenieNumeruProduktu"
sequencediagramsettings end
overlapping_bars size A3
end
class 164994 "Automat"
class 164994 "ZakupProduktu"
visibility package
cpp_decl ""
java_decl ""
@ -1692,17 +1692,30 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 173186 // (uzywa)
relation 163458 ---> name "uzywa"
a role_name "" multiplicity "1" private
classrelation_ref 173186 // (uzywa)
b multiplicity "1" parent class_ref 165122 // ManagerProduktow
end
classrelation 173442 // <generalisation>
relation 163586 ---|>
a public
classrelation_ref 173442 // <generalisation>
b parent class_ref 165122 // ManagerProduktow
end
end
classinstance 128514 "KontrolerAutomatu"
type class_ref 164994 // Automat
type class_ref 164994 // ZakupProduktu
attributes
end
relations
end
end
class 165122 "ManagerTransakcji"
class 165122 "ManagerProduktow"
visibility package
cpp_decl ""
java_decl ""
@ -1712,17 +1725,34 @@ format 223
explicit_switch_type ""
mysql_decl ""
classrelation 173570 // sprzedaz (tworzy)
relation 163714 ---> name "tworzy"
a role_name "sprzedaz" multiplicity "*" public
classrelation_ref 173570 // sprzedaz (tworzy)
b multiplicity "1" parent class_ref 171906 // Sprzedaz
end
attribute 144386 "produkty"
private explicit_type "Map<Int, Produkt>"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
classinstance 128642 ""
type class_ref 165122 // ManagerTransakcji
type class_ref 165122 // ManagerProduktow
attributes
end
relations
end
end
class 164226 "ModulPlatnosciGotowkowej"
class 164226 "ManagerPlatnosciGotowkowej"
visibility package
cpp_decl ""
java_decl ""
@ -1732,17 +1762,38 @@ format 223
explicit_switch_type ""
mysql_decl ""
attribute 151938 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 152194 "kredytKlienta"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
classinstance 128770 ""
type class_ref 164226 // ModulPlatnosciGotowkowej
type class_ref 164226 // ManagerPlatnosciGotowkowej
attributes
end
relations
end
end
class 165378 "_"
class 165378 "."
visibility package
cpp_decl ""
java_decl ""
@ -1754,7 +1805,7 @@ format 223
end
classinstance 129154 "_"
classinstance 129154 ""
stereotype "actor"
type class_ref 128142 // Klient
attributes
@ -1819,6 +1870,7 @@ format 223
overlapping_bars size A3
end
<<<<<<< HEAD
sequencediagram 128266 "9-1-wybranieOpcji\"GenerowanieRaportu\""
sequencediagramsettings end
size A3
@ -1826,6 +1878,15 @@ format 223
class 128010 "Zaopatrzeniowec"
visibility package stereotype "actor"
=======
classdiagram 141186 "design-model"
classdiagramsettings draw_all_relations no member_max_width 0 end
size A4
end
class 171906 "Sprzedaz"
visibility package
>>>>>>> 775091200df92e988932203e79753a357b5bc5cc
cpp_decl ""
java_decl ""
php_decl ""
@ -1834,6 +1895,7 @@ format 223
explicit_switch_type ""
mysql_decl ""
<<<<<<< HEAD
end
classinstance 128138 "Raport"
@ -1853,6 +1915,65 @@ format 223
end
class 134666 "KontrolerAutomat"
=======
classrelation 173826 // (wykorzystuje)
relation 163842 ---> name "wykorzystuje"
a role_name "" multiplicity "1" private
classrelation_ref 173826 // (wykorzystuje)
b multiplicity "*" parent class_ref 164226 // ManagerPlatnosciGotowkowej
end
attribute 144514 "dataRozpoczecia"
private explicit_type "Datetime"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 144642 "nazwaProduktu"
private explicit_type ":String"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 144770 "kwota"
private explicit_type "Kwota"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 152322 "reszta"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
collaborationdiagram 147970 "2-2-wybranieFormyPlatnosci"
collaborationdiagramsettings end
size A4
end
class 178434 "ManagerPlatnosciKarta"
visibility package
cpp_decl ""
java_decl ""
@ -1862,6 +1983,30 @@ format 223
explicit_switch_type ""
mysql_decl ""
attribute 152066 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
class 178562 "ManagerPlatnosci"
>>>>>>> 775091200df92e988932203e79753a357b5bc5cc
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
<<<<<<< HEAD
end
sequencediagram 141322 "9-2-wyborDatyIProduktow"
@ -1872,6 +2017,110 @@ format 223
sequencediagram 134794 "9-3-modufikacjaDatyIProduktwo"
sequencediagramsettings end
size A3
=======
attribute 144258 "formyPlatnosci"
private explicit_type "Enum"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
sequencediagram 148098 "2-3-wprowadzenieMonet"
sequencediagramsettings end
overlapping_bars size A2
end
class 178690 "Produkt"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
attribute 144898 "id"
private explicit_type "Int"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 145026 "nazwa"
private explicit_type "String"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 145154 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
collaborationdiagram 154626 "2-1-wprowadzenieNumeruProduktuNew"
collaborationdiagramsettings end
size A4
end
class 185218 "ManagerSprzedazy"
visibility package
cpp_decl ""
java_decl ""
php_decl ""
python_2_2 python_decl ""
idl_decl ""
explicit_switch_type ""
mysql_decl ""
attribute 151682 "nazwaProduktu"
private explicit_type "String"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
attribute 151810 "cena"
private explicit_type "Money"
cpp_decl ""
java_decl ""
php_decl ""
python_decl ""
idl_decl ""
mysql_decl ""
MysqlColumn
end
end
sequencediagram 161154 "2-4-zaprzestanieWprowadzaniaMonet"
sequencediagramsettings end
overlapping_bars size A2
>>>>>>> 775091200df92e988932203e79753a357b5bc5cc
end
end
end

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

View File

@ -24,13 +24,11 @@ Use case 4: Płatność kartą
Use case 8: Naprawa automatu w przypadku awarii systemu
-----------------
1. podłączenie laptopa i podanie hasła
2. włączenie narzędzi diagnostycznych
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. zakończenie naprawy
5. zamkniecie automatu
6. ponowne uruchomienie automatu
7. przeprowadzenie testowej operacji zakupu
4. zamkniecie automatu
5. ponowne uruchomienie automatu
Use case 9: Generowanie raportu sprzedaży
-----------------