diagram interakcji use-case 2

This commit is contained in:
s444426 2021-02-02 19:05:41 +01:00
parent 6c5d0f8898
commit 1e73dd3661
5 changed files with 181 additions and 17 deletions

68
models/128026.diagram Normal file
View File

@ -0,0 +1,68 @@
format 223
classinstance 128026 class_ref 128044 // Klient
name "" xyz 30 4.2 2000 life_line_z 2000
classinstance 128154 class_ref 151340 // AutomatKontroler
name "" xyz 258 3.2 2000 life_line_z 2000
classinstance 128282 class_ref 128940 // Magazyn
name "" xyz 526.6 3.2 2000 life_line_z 2000
classinstance 128410 class_ref 129196 // ZewnetrznySystemObslugi
name "" xyz 631.4 3.2 2000 life_line_z 2000
classinstance 129818 class_ref 128300 // PracownikObslugi
name "" xyz 934 10.2 2000 life_line_z 2000
durationcanvas 128538 classinstance_ref 128026 // :Klient
xyzwh 44 105.4 2010 11 144
overlappingdurationcanvas 130330
xyzwh 50 210 2020 11 25
end
end
durationcanvas 128666 classinstance_ref 128154 // :AutomatKontroler
xyzwh 312 105 2010 11 230
end
durationcanvas 128922 classinstance_ref 128282 // :Magazyn
xyzwh 555 122.2 2010 11 82
end
durationcanvas 129306 classinstance_ref 128410 // :ZewnetrznySystemObslugi
xyzwh 715 320.8 2010 11 40
end
durationcanvas 129946 classinstance_ref 129818 // :PracownikObslugi
xyzwh 986 337 2010 11 25
end
msg 128794 synchronous
from durationcanvas_ref 128538
to durationcanvas_ref 128666
yz 106 2015 msg operation_ref 128044 // "wybierzNumerProduktu(numer:int) : void()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 64 84
msg 129050 synchronous
from durationcanvas_ref 128666
to durationcanvas_ref 128922
yz 124 3010 msg operation_ref 129452 // "pobierzProdukt(in produktId : int)"
show_full_operations_definition yes show_class_of_operation default drawing_language default show_context_mode default
label_xy 352 108
msg 129178 return
from durationcanvas_ref 128922
to durationcanvas_ref 128666
yz 190 3010 explicitmsg "brakProduktu()"
stereotype "<<exception>>" xyz 399 203 3000
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 392 173
msg 129434 synchronous
from durationcanvas_ref 128666
to durationcanvas_ref 129306
yz 321 3020 msg operation_ref 129580 // "zglosBrakProduktu(in produktId : int)"
show_full_operations_definition yes show_class_of_operation default drawing_language default show_context_mode default
label_xy 414 305
msg 129690 synchronous
from durationcanvas_ref 128666
to durationcanvas_ref 130330
yz 212 3010 explicitmsg "powiadomOBrakuProduktu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 102 195
msg 130074 synchronous
from durationcanvas_ref 129306
to durationcanvas_ref 129946
yz 340 3015 explicitmsg "zglosBrakProduktu(in produktId : int)"
show_full_operations_definition yes show_class_of_operation default drawing_language default show_context_mode default
label_xy 751 320
end

69
models/128154.diagram Normal file
View File

@ -0,0 +1,69 @@
format 223
classinstance 128026 class_ref 128300 // PracownikObslugi
name "" xyz 19 19 2000 life_line_z 2000
classinstance 128154 class_ref 151340 // AutomatKontroler
name "" xyz 277 12 2000 life_line_z 2000
classinstance 128282 class_ref 128940 // Magazyn
name "" xyz 558 11 2000 life_line_z 2000
durationcanvas 128410 classinstance_ref 128026 // :PracownikObslugi
xyzwh 69 124 2010 11 343
end
durationcanvas 128538 classinstance_ref 128154 // :AutomatKontroler
xyzwh 330 123 2010 11 25
end
durationcanvas 128794 classinstance_ref 128282 // :Magazyn
xyzwh 587 203 2010 11 25
end
durationcanvas 129050 classinstance_ref 128154 // :AutomatKontroler
xyzwh 330 284 2010 11 111
end
durationcanvas 129306 classinstance_ref 128282 // :Magazyn
xyzwh 587 296 2010 11 82
end
durationcanvas 129818 classinstance_ref 128154 // :AutomatKontroler
xyzwh 330 450 2010 11 25
end
msg 128666 synchronous
from durationcanvas_ref 128410
to durationcanvas_ref 128538
yz 124 2015 msg operation_ref 129708 // "uruchomTrybKonfiguracji()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 130 108
msg 128922 synchronous
from durationcanvas_ref 128410
to durationcanvas_ref 128794
yz 203 2015 explicitmsg "uzupelnijBraki()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 289 187
msg 129178 synchronous
from durationcanvas_ref 128410
to durationcanvas_ref 129050
yz 284 2015 explicitmsg "aktualizujStanMagazynu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 130 268
msg 129434 synchronous
from durationcanvas_ref 129050
to durationcanvas_ref 129306
yz 298 2015 msg operation_ref 130092 // "aktualizujStanMagazynu(in produktId : int [0..1])"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 389 282
msg 129562 return
from durationcanvas_ref 129306
to durationcanvas_ref 129050
yz 363 2015 explicitmsg "stanMagazynu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 418 348
msg 129690 return
from durationcanvas_ref 129050
to durationcanvas_ref 128410
yz 378 2015 explicitmsg "stanMagazynu()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 159 362
msg 129946 synchronous
from durationcanvas_ref 128410
to durationcanvas_ref 129818
yz 456 2015 msg operation_ref 129836 // "uruchomTrybPracy()"
show_full_operations_definition default show_class_of_operation default drawing_language default show_context_mode default
label_xy 147 440
end

View File

@ -47,15 +47,15 @@ end
relationcanvas 128556 relation_ref 128556 // zawiera>
from ref 128428 z 2007 label "zawiera>" italic max_width 255 xyz 1093 43 2007 to ref 128172
no_role_a no_role_b
multiplicity_a_pos 964 68 3000 multiplicity_b_pos 1307 79 3000
multiplicity_a_pos 962 67 3000 multiplicity_b_pos 1313 79 3000
end
relationcanvas 128940 relation_ref 128684 // realizuje >
from ref 128172 z 3006 to point 840.6 86.4
line 129196 z 3006 to point 843 89.8
line 132012 z 3006 label "realizuje >" italic max_width 255 xyz 997 109 3006 to point 1190.6 179.8
from ref 128172 z 3006 to point 840 86
line 129196 z 3006 to point 843 89
line 132012 z 3006 label "realizuje >" italic max_width 255 xyz 997 109 3006 to point 1190 179
line 132140 z 3006 to ref 128812
no_role_a no_role_b
multiplicity_a_pos 1297 211 3000 multiplicity_b_pos 877 119 3000
multiplicity_a_pos 1299 210 3000 multiplicity_b_pos 875 117 3000
end
relationcanvas 129964 relation_ref 151212 // tworzy>
from ref 128044 z 2001 label "tworzy>" italic max_width 255 xyz 501 45 2001 to ref 128172
@ -63,15 +63,15 @@ relationcanvas 129964 relation_ref 151212 // tworzy>
no_multiplicity_a no_multiplicity_b
end
relationcanvas 130092 relation_ref 151340 // <realizuje
from ref 128812 z 3006 label "<realizuje" italic max_width 255 xyz 1192 231 3006 to point 1297.2 223
line 131756 z 3006 to point 1208 259.8
from ref 128812 z 3006 label "<realizuje" italic max_width 255 xyz 1192 231 3006 to point 1297 223
line 131756 z 3006 to point 1208 259
line 131884 z 3006 to ref 129708
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 130220 relation_ref 151468 // realizuje>
from ref 128812 z 3006 to point 1417.2 263
line 132268 z 3006 label "realizuje>" italic max_width 255 xyz 1471.5 275 3006 to ref 129580
from ref 128812 z 3006 to point 1417 263
line 132268 z 3006 label "realizuje>" italic max_width 255 xyz 1471 275 3006 to ref 129580
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
@ -81,23 +81,23 @@ relationcanvas 130348 relation_ref 151596 // korzysta>
no_multiplicity_a no_multiplicity_b
end
relationcanvas 130476 relation_ref 151724 // korzysta>
from ref 129580 z 2006 label "korzysta>" italic max_width 255 xyz 1593.5 385 2006 to ref 129324
from ref 129580 z 2006 label "korzysta>" italic max_width 255 xyz 1593 385 2006 to ref 129324
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 130860 relation_ref 129196 // posiada>
from ref 130732 z 2013 label "posiada>" italic max_width 255 xyz 1124 121 2013 to ref 128428
no_role_a no_role_b
multiplicity_a_pos 1292 103 3000 multiplicity_b_pos 1046 174 3000
multiplicity_a_pos 1300 117 3000 multiplicity_b_pos 1102 176 3000
end
relationcanvas 130988 relation_ref 151980 // zawiera>
decenter_end 481
from ref 128044 z 2013 label "zawiera>" italic max_width 255 xyz 605 143.5 2013 to ref 130732
from ref 128044 z 2013 label "zawiera>" italic max_width 255 xyz 605 143 2013 to ref 130732
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end
relationcanvas 131372 relation_ref 152236 // <jest obslugiwany
from ref 128044 z 2001 label "<jest obslugiwany" italic max_width 255 xyz 258 199.5 2001 to ref 131116
from ref 128044 z 2001 label "<jest obslugiwany" italic max_width 255 xyz 258 199 2001 to ref 131116
no_role_a no_role_b
no_multiplicity_a no_multiplicity_b
end

17
models/26.session Normal file
View File

@ -0,0 +1,17 @@
window_sizes 958 991 239 713 809 128
diagrams
classdiagram_ref 154156 // design-model
1075 575 100 A0 60 0
sequencediagram_ref 128026 // 2-1-brakProduktu
1075 575 80 Tabloid 0 0
active sequencediagram_ref 128154 // 2-2-uzupelnienieBrakow
713 809 100 A4 0 0
end
show_stereotypes
selected class_ref 128940 // Magazyn
open
class_ref 128044 // Klient
classview_ref 134572 // design
end
end

View File

@ -1,7 +1,7 @@
format 223
"models"
revision 12
modified_by 17 "sarkow1"
revision 13
modified_by 26 "48731"
@ -70,7 +70,7 @@ format 223
end
class 128044 "Klient"
visibility package
visibility package stereotype "actor"
cpp_decl ""
java_decl ""
php_decl ""
@ -160,7 +160,7 @@ format 223
end
class 128300 "PracownikObslugi"
visibility package
visibility package stereotype "actor"
cpp_decl ""
java_decl ""
php_decl ""
@ -1509,5 +1509,15 @@ format 223
classdiagramsettings draw_all_relations no member_max_width 0 end
size A0
end
sequencediagram 128026 "2-1-brakProduktu"
sequencediagramsettings end
overlapping_bars size Tabloid
end
sequencediagram 128154 "2-2-uzupelnienieBrakow"
sequencediagramsettings end
overlapping_bars size A4
end
end
end