1 2 3 4 5 6 7 8 9 10 11 12
package PictureTaking { part def Exposure; action def Focus { out xrsl: Exposure; } action def Shoot { in xsf: Exposure; } action takePicture { action focus: Focus[1]; flow of Exposure from focus.xrsl to shoot.xsf; action shoot: Shoot[1]; } }