Automat_spozywczy/models/154626.diagram
2021-02-02 22:57:28 +01:00

50 lines
1.6 KiB
Plaintext

format 224
classinstance 128258 class_ref 165122 // ManagerProduktow
name "" xyz 361 258 2000
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 369 119 2000
linkcanvas 129154 decenter_end 500
from ref 128258 z 2001 to ref 128514
dirscanvas 129922 z 1000 linkcanvas_ref 129154
forward_label "3 ustawProdukt(nazwa:String, cena:Money)" xyz 449 332 3000
linkcanvas 130562
from ref 130050 z 2001 to ref 130434
dirscanvas 130690 z 1000 linkcanvas_ref 130562
forward_label "1 wybranoProdukt(produktId:Int)" xyz 138 100 3000
linkcanvas 130818
from ref 130434 z 2001 to ref 128258
dirscanvas 130946 z 1000 linkcanvas_ref 130818
forward_label "2 cena := wybierzProdukt(produktId:Int)" xyz 450 195 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
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 130946
no_msg
msgsend
explicitmsg "ustawProdukt(nazwa:String, cena:Money)"
forward ranks 3 "2" dirscanvas_ref 129922
msgs
explicitmsg "powodzeniePlatnosci := przyjmijPlatnosc(cena:Money)"
forward ranks 4 "2.1" dirscanvas_ref 131714
no_msg
msgsend
msgsend
end