~fredericp/zaluum/wip-ide

« back to all changes in this revision

Viewing changes to examples/demo-mixer/src/mixer.box

  • Committer: Frederic Perez Ordeig
  • Date: 2009-12-17 11:22:39 UTC
  • mfrom: (200.1.22 zaluum)
  • Revision ID: frederic@zaluum.com-20091217112239-qycwncx3vzyx5ai3
merged
refactored clone
fixed instantiation port ordering

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
                <org.zaluum.model.Port>
12
12
                  <default>
13
13
                    <direct>false</direct>
 
14
                    <externalPosition>0</externalPosition>
 
15
                    <externalSide>false</externalSide>
14
16
                    <in>false</in>
15
17
                    <externalSourceWires/>
16
18
                    <externalTargetWires/>
23
25
                              <org.zaluum.model.LineBendpoint>
24
26
                                <weight>0.5</weight>
25
27
                                <d1>
26
 
                                  <dx>-54</dx>
27
 
                                  <dy>72</dy>
 
28
                                  <dx>217</dx>
 
29
                                  <dy>-29</dy>
28
30
                                </d1>
29
31
                                <d2>
30
 
                                  <dx>72</dx>
31
 
                                  <dy>-60</dy>
 
32
                                  <dx>-60</dx>
 
33
                                  <dy>24</dy>
32
34
                                </d2>
33
35
                              </org.zaluum.model.LineBendpoint>
34
36
                              <org.zaluum.model.LineBendpoint>
35
37
                                <weight>0.5</weight>
36
38
                                <d1>
37
 
                                  <dx>-126</dx>
38
 
                                  <dy>72</dy>
 
39
                                  <dx>217</dx>
 
40
                                  <dy>-53</dy>
39
41
                                </d1>
40
42
                                <d2>
41
 
                                  <dx>0</dx>
42
 
                                  <dy>-60</dy>
 
43
                                  <dx>-60</dx>
 
44
                                  <dy>0</dy>
43
45
                                </d2>
44
46
                              </org.zaluum.model.LineBendpoint>
45
47
                            </bendpoints>
53
55
                              <org.zaluum.model.Port>
54
56
                                <default>
55
57
                                  <direct>false</direct>
 
58
                                  <externalPosition>24</externalPosition>
 
59
                                  <externalSide>true</externalSide>
56
60
                                  <in>false</in>
57
61
                                  <externalSourceWires>
58
62
                                    <org.zaluum.model.Wire reference="../../../../../../.."/>
66
70
                                      <default>
67
71
                                        <bounds>
68
72
                                          <topLeft>
69
 
                                            <x>211</x>
70
 
                                            <y>139</y>
 
73
                                            <x>307</x>
 
74
                                            <y>79</y>
71
75
                                          </topLeft>
72
76
                                          <bottomRight>
73
 
                                            <x>354</x>
74
 
                                            <y>246</y>
 
77
                                            <x>460</x>
 
78
                                            <y>196</y>
75
79
                                          </bottomRight>
76
80
                                        </bounds>
77
81
                                        <name>fsm</name>
82
86
                                            <org.zaluum.model.Port>
83
87
                                              <default>
84
88
                                                <direct>false</direct>
 
89
                                                <externalPosition>24</externalPosition>
 
90
                                                <externalSide>false</externalSide>
85
91
                                                <in>true</in>
86
92
                                                <externalSourceWires/>
87
93
                                                <externalTargetWires>
88
94
                                                  <org.zaluum.model.Wire serialization="custom">
89
95
                                                    <org.zaluum.model.Line>
90
96
                                                      <default>
91
 
                                                        <bendpoints>
92
 
                                                          <org.zaluum.model.LineBendpoint>
93
 
                                                            <weight>0.5</weight>
94
 
                                                            <d1>
95
 
                                                              <dx>0</dx>
96
 
                                                              <dy>24</dy>
97
 
                                                            </d1>
98
 
                                                            <d2>
99
 
                                                              <dx>-114</dx>
100
 
                                                              <dy>-115</dy>
101
 
                                                            </d2>
102
 
                                                          </org.zaluum.model.LineBendpoint>
103
 
                                                          <org.zaluum.model.LineBendpoint>
104
 
                                                            <weight>0.5</weight>
105
 
                                                            <d1>
106
 
                                                              <dx>60</dx>
107
 
                                                              <dy>24</dy>
108
 
                                                            </d1>
109
 
                                                            <d2>
110
 
                                                              <dx>-54</dx>
111
 
                                                              <dy>-115</dy>
112
 
                                                            </d2>
113
 
                                                          </org.zaluum.model.LineBendpoint>
114
 
                                                        </bendpoints>
 
97
                                                        <bendpoints/>
115
98
                                                      </default>
116
99
                                                    </org.zaluum.model.Line>
117
100
                                                    <org.zaluum.model.Wire>
122
105
                                                          <org.zaluum.model.Port>
123
106
                                                            <default>
124
107
                                                              <direct>false</direct>
 
108
                                                              <externalPosition>0</externalPosition>
 
109
                                                              <externalSide>false</externalSide>
125
110
                                                              <in>true</in>
126
111
                                                              <externalSourceWires/>
127
112
                                                              <externalTargetWires/>
132
117
                                                              <name>start</name>
133
118
                                                              <openBox class="org.zaluum.model.ComposedBox" reference="../../../../../../../../../../../../../../../../../../../../../../../../../../../.."/>
134
119
                                                              <position>
135
 
                                                                <x>153</x>
136
 
                                                                <y>69</y>
 
120
                                                                <x>165</x>
 
121
                                                                <y>83</y>
137
122
                                                              </position>
138
123
                                                              <typeName>ONOFF</typeName>
139
124
                                                            </default>
160
145
                                            <org.zaluum.model.Port>
161
146
                                              <default>
162
147
                                                <direct>false</direct>
 
148
                                                <externalPosition>36</externalPosition>
 
149
                                                <externalSide>true</externalSide>
163
150
                                                <in>false</in>
164
151
                                                <externalSourceWires>
165
152
                                                  <org.zaluum.model.Wire serialization="custom">
166
153
                                                    <org.zaluum.model.Line>
167
154
                                                      <default>
168
 
                                                        <bendpoints>
169
 
                                                          <org.zaluum.model.LineBendpoint>
170
 
                                                            <weight>0.5</weight>
171
 
                                                            <d1>
172
 
                                                              <dx>-42</dx>
173
 
                                                              <dy>84</dy>
174
 
                                                            </d1>
175
 
                                                            <d2>
176
 
                                                              <dx>48</dx>
177
 
                                                              <dy>-48</dy>
178
 
                                                            </d2>
179
 
                                                          </org.zaluum.model.LineBendpoint>
180
 
                                                          <org.zaluum.model.LineBendpoint>
181
 
                                                            <weight>0.5</weight>
182
 
                                                            <d1>
183
 
                                                              <dx>-90</dx>
184
 
                                                              <dy>84</dy>
185
 
                                                            </d1>
186
 
                                                            <d2>
187
 
                                                              <dx>0</dx>
188
 
                                                              <dy>-48</dy>
189
 
                                                            </d2>
190
 
                                                          </org.zaluum.model.LineBendpoint>
191
 
                                                        </bendpoints>
 
155
                                                        <bendpoints/>
192
156
                                                      </default>
193
157
                                                    </org.zaluum.model.Line>
194
158
                                                    <org.zaluum.model.Wire>
200
164
                                                          <org.zaluum.model.Port>
201
165
                                                            <default>
202
166
                                                              <direct>false</direct>
 
167
                                                              <externalPosition>0</externalPosition>
 
168
                                                              <externalSide>false</externalSide>
203
169
                                                              <in>false</in>
204
170
                                                              <externalSourceWires/>
205
171
                                                              <externalTargetWires/>
210
176
                                                              <name>upUnload</name>
211
177
                                                              <openBox class="org.zaluum.model.ComposedBox" reference="../../../../../../../../../../../../../../../../../../../../../../../../../../../.."/>
212
178
                                                              <position>
213
 
                                                                <x>162</x>
214
 
                                                                <y>312</y>
 
179
                                                                <x>636</x>
 
180
                                                                <y>108</y>
215
181
                                                              </position>
216
182
                                                              <typeName>ONOFF</typeName>
217
183
                                                            </default>
238
204
                                            <org.zaluum.model.Port>
239
205
                                              <default>
240
206
                                                <direct>false</direct>
 
207
                                                <externalPosition>48</externalPosition>
 
208
                                                <externalSide>true</externalSide>
241
209
                                                <in>false</in>
242
210
                                                <externalSourceWires>
243
211
                                                  <org.zaluum.model.Wire serialization="custom">
244
212
                                                    <org.zaluum.model.Line>
245
213
                                                      <default>
246
 
                                                        <bendpoints/>
 
214
                                                        <bendpoints>
 
215
                                                          <org.zaluum.model.LineBendpoint>
 
216
                                                            <weight>0.5</weight>
 
217
                                                            <d1>
 
218
                                                              <dx>217</dx>
 
219
                                                              <dy>-5</dy>
 
220
                                                            </d1>
 
221
                                                            <d2>
 
222
                                                              <dx>-60</dx>
 
223
                                                              <dy>-24</dy>
 
224
                                                            </d2>
 
225
                                                          </org.zaluum.model.LineBendpoint>
 
226
                                                          <org.zaluum.model.LineBendpoint>
 
227
                                                            <weight>0.5</weight>
 
228
                                                            <d1>
 
229
                                                              <dx>217</dx>
 
230
                                                              <dy>19</dy>
 
231
                                                            </d1>
 
232
                                                            <d2>
 
233
                                                              <dx>-60</dx>
 
234
                                                              <dy>0</dy>
 
235
                                                            </d2>
 
236
                                                          </org.zaluum.model.LineBendpoint>
 
237
                                                        </bendpoints>
247
238
                                                      </default>
248
239
                                                    </org.zaluum.model.Line>
249
240
                                                    <org.zaluum.model.Wire>
255
246
                                                          <org.zaluum.model.Port>
256
247
                                                            <default>
257
248
                                                              <direct>false</direct>
 
249
                                                              <externalPosition>0</externalPosition>
 
250
                                                              <externalSide>false</externalSide>
258
251
                                                              <in>false</in>
259
252
                                                              <externalSourceWires/>
260
253
                                                              <externalTargetWires/>
265
258
                                                              <name>motor</name>
266
259
                                                              <openBox class="org.zaluum.model.ComposedBox" reference="../../../../../../../../../../../../../../../../../../../../../../../../../../../.."/>
267
260
                                                              <position>
268
 
                                                                <x>234</x>
269
 
                                                                <y>312</y>
 
261
                                                                <x>645</x>
 
262
                                                                <y>144</y>
270
263
                                                              </position>
271
264
                                                              <typeName>ONOFF</typeName>
272
265
                                                            </default>
293
286
                                            <org.zaluum.model.Port>
294
287
                                              <default>
295
288
                                                <direct>false</direct>
 
289
                                                <externalPosition>36</externalPosition>
 
290
                                                <externalSide>false</externalSide>
296
291
                                                <in>true</in>
297
292
                                                <externalSourceWires/>
298
293
                                                <externalTargetWires>
299
294
                                                  <org.zaluum.model.Wire serialization="custom">
300
295
                                                    <org.zaluum.model.Line>
301
296
                                                      <default>
302
 
                                                        <bendpoints/>
 
297
                                                        <bendpoints>
 
298
                                                          <org.zaluum.model.LineBendpoint>
 
299
                                                            <weight>0.5</weight>
 
300
                                                            <d1>
 
301
                                                              <dx>84</dx>
 
302
                                                              <dy>0</dy>
 
303
                                                            </d1>
 
304
                                                            <d2>
 
305
                                                              <dx>-119</dx>
 
306
                                                              <dy>7</dy>
 
307
                                                            </d2>
 
308
                                                          </org.zaluum.model.LineBendpoint>
 
309
                                                          <org.zaluum.model.LineBendpoint>
 
310
                                                            <weight>0.5</weight>
 
311
                                                            <d1>
 
312
                                                              <dx>84</dx>
 
313
                                                              <dy>-24</dy>
 
314
                                                            </d1>
 
315
                                                            <d2>
 
316
                                                              <dx>-119</dx>
 
317
                                                              <dy>-17</dy>
 
318
                                                            </d2>
 
319
                                                          </org.zaluum.model.LineBendpoint>
 
320
                                                        </bendpoints>
303
321
                                                      </default>
304
322
                                                    </org.zaluum.model.Line>
305
323
                                                    <org.zaluum.model.Wire>
310
328
                                                          <org.zaluum.model.Port>
311
329
                                                            <default>
312
330
                                                              <direct>false</direct>
 
331
                                                              <externalPosition>0</externalPosition>
 
332
                                                              <externalSide>false</externalSide>
313
333
                                                              <in>true</in>
314
334
                                                              <externalSourceWires/>
315
335
                                                              <externalTargetWires/>
320
340
                                                              <name>allin</name>
321
341
                                                              <openBox class="org.zaluum.model.ComposedBox" reference="../../../../../../../../../../../../../../../../../../../../../../../../../../../.."/>
322
342
                                                              <position>
323
 
                                                                <x>228</x>
324
 
                                                                <y>69</y>
 
343
                                                                <x>165</x>
 
344
                                                                <y>119</y>
325
345
                                                              </position>
326
346
                                                              <typeName>ONOFF</typeName>
327
347
                                                            </default>
348
368
                                            <org.zaluum.model.Port>
349
369
                                              <default>
350
370
                                                <direct>false</direct>
 
371
                                                <externalPosition>48</externalPosition>
 
372
                                                <externalSide>false</externalSide>
351
373
                                                <in>true</in>
352
374
                                                <externalSourceWires/>
353
375
                                                <externalTargetWires>
358
380
                                                          <org.zaluum.model.LineBendpoint>
359
381
                                                            <weight>0.5</weight>
360
382
                                                            <d1>
361
 
                                                              <dx>-18</dx>
362
 
                                                              <dy>47</dy>
363
 
                                                            </d1>
364
 
                                                            <d2>
365
 
                                                              <dx>42</dx>
366
 
                                                              <dy>168</dy>
367
 
                                                            </d2>
368
 
                                                          </org.zaluum.model.LineBendpoint>
369
 
                                                          <org.zaluum.model.LineBendpoint>
370
 
                                                            <weight>0.5</weight>
371
 
                                                            <d1>
372
 
                                                              <dx>42</dx>
373
 
                                                              <dy>47</dy>
374
 
                                                            </d1>
375
 
                                                            <d2>
376
 
                                                              <dx>102</dx>
377
 
                                                              <dy>168</dy>
378
 
                                                            </d2>
379
 
                                                          </org.zaluum.model.LineBendpoint>
380
 
                                                          <org.zaluum.model.LineBendpoint>
381
 
                                                            <weight>0.5</weight>
382
 
                                                            <d1>
383
 
                                                              <dx>42</dx>
384
 
                                                              <dy>-193</dy>
385
 
                                                            </d1>
386
 
                                                            <d2>
387
 
                                                              <dx>102</dx>
388
 
                                                              <dy>-72</dy>
389
 
                                                            </d2>
390
 
                                                          </org.zaluum.model.LineBendpoint>
391
 
                                                          <org.zaluum.model.LineBendpoint>
392
 
                                                            <weight>0.5</weight>
393
 
                                                            <d1>
394
 
                                                              <dx>-90</dx>
395
 
                                                              <dy>-193</dy>
396
 
                                                            </d1>
397
 
                                                            <d2>
398
 
                                                              <dx>-30</dx>
399
 
                                                              <dy>-72</dy>
 
383
                                                              <dx>66</dx>
 
384
                                                              <dy>0</dy>
 
385
                                                            </d1>
 
386
                                                            <d2>
 
387
                                                              <dx>253</dx>
 
388
                                                              <dy>55</dy>
 
389
                                                            </d2>
 
390
                                                          </org.zaluum.model.LineBendpoint>
 
391
                                                          <org.zaluum.model.LineBendpoint>
 
392
                                                            <weight>0.5</weight>
 
393
                                                            <d1>
 
394
                                                              <dx>66</dx>
 
395
                                                              <dy>108</dy>
 
396
                                                            </d1>
 
397
                                                            <d2>
 
398
                                                              <dx>253</dx>
 
399
                                                              <dy>163</dy>
 
400
                                                            </d2>
 
401
                                                          </org.zaluum.model.LineBendpoint>
 
402
                                                          <org.zaluum.model.LineBendpoint>
 
403
                                                            <weight>0.5</weight>
 
404
                                                            <d1>
 
405
                                                              <dx>-114</dx>
 
406
                                                              <dy>108</dy>
 
407
                                                            </d1>
 
408
                                                            <d2>
 
409
                                                              <dx>73</dx>
 
410
                                                              <dy>163</dy>
 
411
                                                            </d2>
 
412
                                                          </org.zaluum.model.LineBendpoint>
 
413
                                                          <org.zaluum.model.LineBendpoint>
 
414
                                                            <weight>0.5</weight>
 
415
                                                            <d1>
 
416
                                                              <dx>-294</dx>
 
417
                                                              <dy>108</dy>
 
418
                                                            </d1>
 
419
                                                            <d2>
 
420
                                                              <dx>-107</dx>
 
421
                                                              <dy>163</dy>
 
422
                                                            </d2>
 
423
                                                          </org.zaluum.model.LineBendpoint>
 
424
                                                          <org.zaluum.model.LineBendpoint>
 
425
                                                            <weight>0.5</weight>
 
426
                                                            <d1>
 
427
                                                              <dx>-294</dx>
 
428
                                                              <dy>-60</dy>
 
429
                                                            </d1>
 
430
                                                            <d2>
 
431
                                                              <dx>-107</dx>
 
432
                                                              <dy>-5</dy>
400
433
                                                            </d2>
401
434
                                                          </org.zaluum.model.LineBendpoint>
402
435
                                                        </bendpoints>
410
443
                                                          <org.zaluum.model.Port>
411
444
                                                            <default>
412
445
                                                              <direct>false</direct>
 
446
                                                              <externalPosition>24</externalPosition>
 
447
                                                              <externalSide>true</externalSide>
413
448
                                                              <in>false</in>
414
449
                                                              <externalSourceWires>
415
450
                                                                <org.zaluum.model.Wire reference="../../../../../../.."/>
423
458
                                                                  <default>
424
459
                                                                    <bounds>
425
460
                                                                      <topLeft>
426
 
                                                                        <x>307</x>
427
 
                                                                        <y>283</y>
 
461
                                                                        <x>523</x>
 
462
                                                                        <y>163</y>
428
463
                                                                      </topLeft>
429
464
                                                                      <bottomRight>
430
 
                                                                        <x>378</x>
431
 
                                                                        <y>343</y>
 
465
                                                                        <x>618</x>
 
466
                                                                        <y>222</y>
432
467
                                                                      </bottomRight>
433
468
                                                                    </bounds>
434
469
                                                                    <name>tmix</name>
438
473
                                                                        <org.zaluum.model.Port>
439
474
                                                                          <default>
440
475
                                                                            <direct>true</direct>
 
476
                                                                            <externalPosition>24</externalPosition>
 
477
                                                                            <externalSide>false</externalSide>
441
478
                                                                            <in>true</in>
442
479
                                                                            <externalSourceWires/>
443
480
                                                                            <externalTargetWires>
448
485
                                                                                      <org.zaluum.model.LineBendpoint>
449
486
                                                                                        <weight>0.5</weight>
450
487
                                                                                        <d1>
451
 
                                                                                          <dx>-18</dx>
452
 
                                                                                          <dy>84</dy>
453
 
                                                                                        </d1>
454
 
                                                                                        <d2>
455
 
                                                                                          <dx>-91</dx>
456
 
                                                                                          <dy>-50</dy>
457
 
                                                                                        </d2>
458
 
                                                                                      </org.zaluum.model.LineBendpoint>
459
 
                                                                                      <org.zaluum.model.LineBendpoint>
460
 
                                                                                        <weight>0.5</weight>
461
 
                                                                                        <d1>
462
 
                                                                                          <dx>42</dx>
463
 
                                                                                          <dy>84</dy>
464
 
                                                                                        </d1>
465
 
                                                                                        <d2>
466
 
                                                                                          <dx>-31</dx>
467
 
                                                                                          <dy>-50</dy>
 
488
                                                                                          <dx>97</dx>
 
489
                                                                                          <dy>7</dy>
 
490
                                                                                        </d1>
 
491
                                                                                        <d2>
 
492
                                                                                          <dx>-90</dx>
 
493
                                                                                          <dy>30</dy>
 
494
                                                                                        </d2>
 
495
                                                                                      </org.zaluum.model.LineBendpoint>
 
496
                                                                                      <org.zaluum.model.LineBendpoint>
 
497
                                                                                        <weight>0.5</weight>
 
498
                                                                                        <d1>
 
499
                                                                                          <dx>121</dx>
 
500
                                                                                          <dy>7</dy>
 
501
                                                                                        </d1>
 
502
                                                                                        <d2>
 
503
                                                                                          <dx>-66</dx>
 
504
                                                                                          <dy>30</dy>
 
505
                                                                                        </d2>
 
506
                                                                                      </org.zaluum.model.LineBendpoint>
 
507
                                                                                      <org.zaluum.model.LineBendpoint>
 
508
                                                                                        <weight>0.5</weight>
 
509
                                                                                        <d1>
 
510
                                                                                          <dx>121</dx>
 
511
                                                                                          <dy>55</dy>
 
512
                                                                                        </d1>
 
513
                                                                                        <d2>
 
514
                                                                                          <dx>-66</dx>
 
515
                                                                                          <dy>0</dy>
468
516
                                                                                        </d2>
469
517
                                                                                      </org.zaluum.model.LineBendpoint>
470
518
                                                                                    </bendpoints>
478
526
                                                                                      <org.zaluum.model.Port>
479
527
                                                                                        <default>
480
528
                                                                                          <direct>false</direct>
 
529
                                                                                          <externalPosition>60</externalPosition>
 
530
                                                                                          <externalSide>true</externalSide>
481
531
                                                                                          <in>false</in>
482
532
                                                                                          <externalSourceWires>
483
533
                                                                                            <org.zaluum.model.Wire reference="../../../../../../.."/>
525
575
                                                                </org.zaluum.model.basicbox.TimeoutBox>
526
576
                                                              </openBox>
527
577
                                                              <position>
528
 
                                                                <x>10</x>
 
578
                                                                <x>0</x>
529
579
                                                                <y>0</y>
530
580
                                                              </position>
531
581
                                                              <typeName>TimeoutStateType</typeName>
554
604
                                            <org.zaluum.model.Port>
555
605
                                              <default>
556
606
                                                <direct>false</direct>
 
607
                                                <externalPosition>60</externalPosition>
 
608
                                                <externalSide>false</externalSide>
557
609
                                                <in>true</in>
558
610
                                                <externalSourceWires/>
559
611
                                                <externalTargetWires>
564
616
                                                          <org.zaluum.model.LineBendpoint>
565
617
                                                            <weight>0.5</weight>
566
618
                                                            <d1>
567
 
                                                              <dx>-18</dx>
568
 
                                                              <dy>47</dy>
569
 
                                                            </d1>
570
 
                                                            <d2>
571
 
                                                              <dx>138</dx>
572
 
                                                              <dy>168</dy>
573
 
                                                            </d2>
574
 
                                                          </org.zaluum.model.LineBendpoint>
575
 
                                                          <org.zaluum.model.LineBendpoint>
576
 
                                                            <weight>0.5</weight>
577
 
                                                            <d1>
578
 
                                                              <dx>42</dx>
579
 
                                                              <dy>47</dy>
580
 
                                                            </d1>
581
 
                                                            <d2>
582
 
                                                              <dx>198</dx>
583
 
                                                              <dy>168</dy>
584
 
                                                            </d2>
585
 
                                                          </org.zaluum.model.LineBendpoint>
586
 
                                                          <org.zaluum.model.LineBendpoint>
587
 
                                                            <weight>0.5</weight>
588
 
                                                            <d1>
589
 
                                                              <dx>42</dx>
590
 
                                                              <dy>-205</dy>
591
 
                                                            </d1>
592
 
                                                            <d2>
593
 
                                                              <dx>198</dx>
594
 
                                                              <dy>-84</dy>
595
 
                                                            </d2>
596
 
                                                          </org.zaluum.model.LineBendpoint>
597
 
                                                          <org.zaluum.model.LineBendpoint>
598
 
                                                            <weight>0.5</weight>
599
 
                                                            <d1>
600
 
                                                              <dx>-174</dx>
601
 
                                                              <dy>-205</dy>
602
 
                                                            </d1>
603
 
                                                            <d2>
604
 
                                                              <dx>-18</dx>
605
 
                                                              <dy>-84</dy>
 
619
                                                              <dx>54</dx>
 
620
                                                              <dy>0</dy>
 
621
                                                            </d1>
 
622
                                                            <d2>
 
623
                                                              <dx>241</dx>
 
624
                                                              <dy>103</dy>
 
625
                                                            </d2>
 
626
                                                          </org.zaluum.model.LineBendpoint>
 
627
                                                          <org.zaluum.model.LineBendpoint>
 
628
                                                            <weight>0.5</weight>
 
629
                                                            <d1>
 
630
                                                              <dx>54</dx>
 
631
                                                              <dy>48</dy>
 
632
                                                            </d1>
 
633
                                                            <d2>
 
634
                                                              <dx>241</dx>
 
635
                                                              <dy>151</dy>
 
636
                                                            </d2>
 
637
                                                          </org.zaluum.model.LineBendpoint>
 
638
                                                          <org.zaluum.model.LineBendpoint>
 
639
                                                            <weight>0.5</weight>
 
640
                                                            <d1>
 
641
                                                              <dx>-282</dx>
 
642
                                                              <dy>48</dy>
 
643
                                                            </d1>
 
644
                                                            <d2>
 
645
                                                              <dx>-95</dx>
 
646
                                                              <dy>151</dy>
 
647
                                                            </d2>
 
648
                                                          </org.zaluum.model.LineBendpoint>
 
649
                                                          <org.zaluum.model.LineBendpoint>
 
650
                                                            <weight>0.5</weight>
 
651
                                                            <d1>
 
652
                                                              <dx>-282</dx>
 
653
                                                              <dy>-96</dy>
 
654
                                                            </d1>
 
655
                                                            <d2>
 
656
                                                              <dx>-95</dx>
 
657
                                                              <dy>7</dy>
606
658
                                                            </d2>
607
659
                                                          </org.zaluum.model.LineBendpoint>
608
660
                                                        </bendpoints>
616
668
                                                          <org.zaluum.model.Port>
617
669
                                                            <default>
618
670
                                                              <direct>false</direct>
 
671
                                                              <externalPosition>24</externalPosition>
 
672
                                                              <externalSide>true</externalSide>
619
673
                                                              <in>false</in>
620
674
                                                              <externalSourceWires>
621
675
                                                                <org.zaluum.model.Wire reference="../../../../../../.."/>
629
683
                                                                  <default>
630
684
                                                                    <bounds>
631
685
                                                                      <topLeft>
632
 
                                                                        <x>403</x>
633
 
                                                                        <y>283</y>
 
686
                                                                        <x>523</x>
 
687
                                                                        <y>211</y>
634
688
                                                                      </topLeft>
635
689
                                                                      <bottomRight>
636
 
                                                                        <x>474</x>
637
 
                                                                        <y>343</y>
 
690
                                                                        <x>618</x>
 
691
                                                                        <y>270</y>
638
692
                                                                      </bottomRight>
639
693
                                                                    </bounds>
640
694
                                                                    <name>tunload</name>
644
698
                                                                        <org.zaluum.model.Port>
645
699
                                                                          <default>
646
700
                                                                            <direct>true</direct>
 
701
                                                                            <externalPosition>24</externalPosition>
 
702
                                                                            <externalSide>false</externalSide>
647
703
                                                                            <in>true</in>
648
704
                                                                            <externalSourceWires/>
649
705
                                                                            <externalTargetWires>
654
710
                                                                                      <org.zaluum.model.LineBendpoint>
655
711
                                                                                        <weight>0.5</weight>
656
712
                                                                                        <d1>
657
 
                                                                                          <dx>-6</dx>
658
 
                                                                                          <dy>72</dy>
659
 
                                                                                        </d1>
660
 
                                                                                        <d2>
661
 
                                                                                          <dx>-198</dx>
662
 
                                                                                          <dy>-61</dy>
663
 
                                                                                        </d2>
664
 
                                                                                      </org.zaluum.model.LineBendpoint>
665
 
                                                                                      <org.zaluum.model.LineBendpoint>
666
 
                                                                                        <weight>0.5</weight>
667
 
                                                                                        <d1>
668
 
                                                                                          <dx>138</dx>
669
 
                                                                                          <dy>72</dy>
670
 
                                                                                        </d1>
671
 
                                                                                        <d2>
672
 
                                                                                          <dx>-18</dx>
673
 
                                                                                          <dy>-49</dy>
 
713
                                                                                          <dx>85</dx>
 
714
                                                                                          <dy>19</dy>
 
715
                                                                                        </d1>
 
716
                                                                                        <d2>
 
717
                                                                                          <dx>-102</dx>
 
718
                                                                                          <dy>-30</dy>
 
719
                                                                                        </d2>
 
720
                                                                                      </org.zaluum.model.LineBendpoint>
 
721
                                                                                      <org.zaluum.model.LineBendpoint>
 
722
                                                                                        <weight>0.5</weight>
 
723
                                                                                        <d1>
 
724
                                                                                          <dx>109</dx>
 
725
                                                                                          <dy>19</dy>
 
726
                                                                                        </d1>
 
727
                                                                                        <d2>
 
728
                                                                                          <dx>-78</dx>
 
729
                                                                                          <dy>-60</dy>
 
730
                                                                                        </d2>
 
731
                                                                                      </org.zaluum.model.LineBendpoint>
 
732
                                                                                      <org.zaluum.model.LineBendpoint>
 
733
                                                                                        <weight>0.5</weight>
 
734
                                                                                        <d1>
 
735
                                                                                          <dx>109</dx>
 
736
                                                                                          <dy>103</dy>
 
737
                                                                                        </d1>
 
738
                                                                                        <d2>
 
739
                                                                                          <dx>-78</dx>
 
740
                                                                                          <dy>0</dy>
674
741
                                                                                        </d2>
675
742
                                                                                      </org.zaluum.model.LineBendpoint>
676
743
                                                                                    </bendpoints>
684
751
                                                                                      <org.zaluum.model.Port>
685
752
                                                                                        <default>
686
753
                                                                                          <direct>false</direct>
 
754
                                                                                          <externalPosition>72</externalPosition>
 
755
                                                                                          <externalSide>true</externalSide>
687
756
                                                                                          <in>false</in>
688
757
                                                                                          <externalSourceWires>
689
758
                                                                                            <org.zaluum.model.Wire reference="../../../../../../.."/>
731
800
                                                                </org.zaluum.model.basicbox.TimeoutBox>
732
801
                                                              </openBox>
733
802
                                                              <position>
734
 
                                                                <x>10</x>
 
803
                                                                <x>0</x>
735
804
                                                                <y>0</y>
736
805
                                                              </position>
737
806
                                                              <typeName>TimeoutStateType</typeName>
773
842
                                                  <org.zaluum.model.Transition serialization="custom">
774
843
                                                    <org.zaluum.model.Line>
775
844
                                                      <default>
776
 
                                                        <bendpoints>
777
 
                                                          <org.zaluum.model.LineBendpoint>
778
 
                                                            <weight>0.5</weight>
779
 
                                                            <d1>
780
 
                                                              <dx>144</dx>
781
 
                                                              <dy>0</dy>
782
 
                                                            </d1>
783
 
                                                            <d2>
784
 
                                                              <dx>0</dx>
785
 
                                                              <dy>-105</dy>
786
 
                                                            </d2>
787
 
                                                          </org.zaluum.model.LineBendpoint>
788
 
                                                        </bendpoints>
 
845
                                                        <bendpoints/>
789
846
                                                      </default>
790
847
                                                    </org.zaluum.model.Line>
791
848
                                                    <org.zaluum.model.Transition>
803
860
                                                                <org.zaluum.model.Transition serialization="custom">
804
861
                                                                  <org.zaluum.model.Line>
805
862
                                                                    <default>
806
 
                                                                      <bendpoints>
807
 
                                                                        <org.zaluum.model.LineBendpoint>
808
 
                                                                          <weight>0.5</weight>
809
 
                                                                          <d1>
810
 
                                                                            <dx>0</dx>
811
 
                                                                            <dy>123</dy>
812
 
                                                                          </d1>
813
 
                                                                          <d2>
814
 
                                                                            <dx>156</dx>
815
 
                                                                            <dy>0</dy>
816
 
                                                                          </d2>
817
 
                                                                        </org.zaluum.model.LineBendpoint>
818
 
                                                                      </bendpoints>
 
863
                                                                      <bendpoints/>
819
864
                                                                    </default>
820
865
                                                                  </org.zaluum.model.Line>
821
866
                                                                  <org.zaluum.model.Transition>
833
878
                                                                              <org.zaluum.model.Transition serialization="custom">
834
879
                                                                                <org.zaluum.model.Line>
835
880
                                                                                  <default>
836
 
                                                                                    <bendpoints>
837
 
                                                                                      <org.zaluum.model.LineBendpoint>
838
 
                                                                                        <weight>0.5</weight>
839
 
                                                                                        <d1>
840
 
                                                                                          <dx>-156</dx>
841
 
                                                                                          <dy>0</dy>
842
 
                                                                                        </d1>
843
 
                                                                                        <d2>
844
 
                                                                                          <dx>0</dx>
845
 
                                                                                          <dy>132</dy>
846
 
                                                                                        </d2>
847
 
                                                                                      </org.zaluum.model.LineBendpoint>
848
 
                                                                                    </bendpoints>
 
881
                                                                                    <bendpoints/>
849
882
                                                                                  </default>
850
883
                                                                                </org.zaluum.model.Line>
851
884
                                                                                <org.zaluum.model.Transition>
863
896
                                                                                            <org.zaluum.model.Transition serialization="custom">
864
897
                                                                                              <org.zaluum.model.Line>
865
898
                                                                                                <default>
866
 
                                                                                                  <bendpoints>
867
 
                                                                                                    <org.zaluum.model.LineBendpoint>
868
 
                                                                                                      <weight>0.5</weight>
869
 
                                                                                                      <d1>
870
 
                                                                                                        <dx>0</dx>
871
 
                                                                                                        <dy>-96</dy>
872
 
                                                                                                      </d1>
873
 
                                                                                                      <d2>
874
 
                                                                                                        <dx>-168</dx>
875
 
                                                                                                        <dy>-5</dy>
876
 
                                                                                                      </d2>
877
 
                                                                                                    </org.zaluum.model.LineBendpoint>
878
 
                                                                                                  </bendpoints>
 
899
                                                                                                  <bendpoints/>
879
900
                                                                                                </default>
880
901
                                                                                              </org.zaluum.model.Line>
881
902
                                                                                              <org.zaluum.model.Transition>
943
964
                                              </default>
944
965
                                            </org.zaluum.model.State>
945
966
                                          </org.zaluum.model.State>
946
 
                                          <org.zaluum.model.State reference="../org.zaluum.model.State/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to"/>
947
967
                                          <org.zaluum.model.State reference="../org.zaluum.model.State/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to"/>
948
968
                                          <org.zaluum.model.State reference="../org.zaluum.model.State/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to"/>
 
969
                                          <org.zaluum.model.State reference="../org.zaluum.model.State/org.zaluum.model.State/default/fromMe/org.zaluum.model.Transition/org.zaluum.model.Transition/default/to"/>
949
970
                                        </states>
950
971
                                      </default>
951
972
                                    </org.zaluum.model.FSMBox>
966
987
                    <name>unload</name>
967
988
                    <openBox class="org.zaluum.model.ComposedBox" reference="../../../../../../.."/>
968
989
                    <position>
969
 
                      <x>135</x>
970
 
                      <y>312</y>
 
990
                      <x>642</x>
 
991
                      <y>72</y>
971
992
                    </position>
972
993
                    <typeName>ONOFF</typeName>
973
994
                  </default>
983
1004
        <org.zaluum.model.ComposedBox>
984
1005
          <default>
985
1006
            <children>
 
1007
              <org.zaluum.model.basicbox.TimeoutBox reference="../../../../org.zaluum.model.Box/default/ports/org.zaluum.model.Port/org.zaluum.model.Port/default/internalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox/org.zaluum.model.Box/default/ports/org.zaluum.model.Port[6]/org.zaluum.model.Port/default/externalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox"/>
 
1008
              <org.zaluum.model.FSMBox reference="../../../../org.zaluum.model.Box/default/ports/org.zaluum.model.Port/org.zaluum.model.Port/default/internalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox"/>
986
1009
              <org.zaluum.model.basicbox.TimeoutBox reference="../../../../org.zaluum.model.Box/default/ports/org.zaluum.model.Port/org.zaluum.model.Port/default/internalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox/org.zaluum.model.Box/default/ports/org.zaluum.model.Port[8]/org.zaluum.model.Port/default/externalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox"/>
987
 
              <org.zaluum.model.FSMBox reference="../../../../org.zaluum.model.Box/default/ports/org.zaluum.model.Port/org.zaluum.model.Port/default/internalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox"/>
988
 
              <org.zaluum.model.basicbox.TimeoutBox reference="../../../../org.zaluum.model.Box/default/ports/org.zaluum.model.Port/org.zaluum.model.Port/default/internalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox/org.zaluum.model.Box/default/ports/org.zaluum.model.Port[6]/org.zaluum.model.Port/default/externalTargetWires/org.zaluum.model.Wire/org.zaluum.model.Wire/default/source/org.zaluum.model.Port/default/openBox"/>
989
1010
            </children>
990
1011
          </default>
991
1012
        </org.zaluum.model.ComposedBox>