Automat_spozywczy/models/154626.diagram
2021-02-03 11:41:04 +01:00

50 lines
1.6 KiB
Plaintext

format 224
classinstance 128386 class_ref 178562 // ManagerPlatnosci
name "" xyz 364 540 2000
classinstance 128514 class_ref 185218 // ManagerSprzedazy
name "" xyz 359 395 2000
classinstance 130050 class_ref 191746 // Klient
name "" xyz 68 113 2000
classinstance 130434 class_ref 128394 // AutomatKontroler
name "" xyz 365 118 2000
classinstance 131842 class_ref 136462 // KatalogProduktow
name "" xyz 363 258 2000
linkcanvas 130562
from ref 130050 z 2001 to ref 130434
dirscanvas 130690 z 1000 linkcanvas_ref 130562
forward_label "1 wybranoProdukt(produktId:Int)" xyz 136 99 3000
linkcanvas 131586
from ref 128514 z 2001 to ref 128386
dirscanvas 131714 z 1000 linkcanvas_ref 131586
forward_label "4 powodzeniePlatnosci := przyjmijPlatnosc(cena:Money)" xyz 446 473 3000
linkcanvas 132738
from ref 131842 z 2001 to ref 128514
dirscanvas 133250 z 1000 linkcanvas_ref 132738
forward_label "3 ustawProdukt(nazwa:String, cena:Money)" xyz 448 332 3000
linkcanvas 132866
from ref 130434 z 2001 to ref 131842
dirscanvas 132994 z 1000 linkcanvas_ref 132866
forward_label "2 cena := wybierzProdukt(produktId:Int)" xyz 447 194 3000
msgs
explicitmsg "wybranoProdukt(produktId:Int)"
forward ranks 1 "1" dirscanvas_ref 130690
msgs
explicitmsg "cena := wybierzProdukt(produktId:Int)"
forward ranks 2 "1.1" dirscanvas_ref 132994
msgs
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 3 "1.1.1" dirscanvas_ref 133250
no_msg
msgsend
msgsend
explicitmsg "powodzeniePlatnosci := przyjmijPlatnosc(cena:Money)"
forward ranks 4 "2" dirscanvas_ref 131714
no_msg
msgsend
end