cpee 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +5 -5
  2. data/cpee.gemspec +1 -1
  3. data/lib/cpee/controller.rb +7 -16
  4. data/lib/cpee/implementation.rb +1 -1
  5. data/server/handlerwrappers/default.rb +12 -1
  6. data/server/instances/1/properties.xml +122 -34
  7. data/server/instances/10/properties.xml +127 -141
  8. data/server/instances/11/properties.xml +179 -162
  9. data/server/instances/12/properties.xml +87 -163
  10. data/server/instances/13/properties.xml +2002 -131
  11. data/server/instances/14/properties.xml +2044 -9
  12. data/server/instances/15/properties.xml +2039 -8
  13. data/server/instances/16/properties.xml +2069 -8
  14. data/server/instances/17/properties.xml +2065 -11
  15. data/server/instances/18/properties.xml +2109 -10
  16. data/server/instances/19/properties.xml +90 -5
  17. data/server/instances/2/properties.xml +135 -10
  18. data/server/instances/20/properties.xml +9 -169
  19. data/server/instances/21/properties.xml +82 -122
  20. data/server/instances/22/properties.xml +2042 -53
  21. data/server/instances/23/properties.xml +68 -75
  22. data/server/instances/24/properties.xml +2033 -82
  23. data/server/instances/25/properties.xml +37 -121
  24. data/server/instances/26/properties.xml +9 -9
  25. data/server/instances/27/properties.xml +2044 -48
  26. data/server/instances/28/properties.xml +2058 -83
  27. data/server/instances/29/properties.xml +2072 -83
  28. data/server/instances/3/properties.xml +211 -76
  29. data/server/instances/30/properties.xml +112 -293
  30. data/server/instances/31/properties.xml +9 -332
  31. data/server/instances/32/properties.xml +65 -582
  32. data/server/instances/33/properties.xml +99 -113
  33. data/server/instances/34/properties.xml +183 -0
  34. data/server/instances/35/properties.xml +183 -0
  35. data/server/instances/36/properties.xml +185 -0
  36. data/server/instances/37/properties.xml +183 -0
  37. data/server/instances/38/properties.xml +183 -0
  38. data/server/instances/39/properties.xml +183 -0
  39. data/server/instances/4/properties.xml +9 -92
  40. data/server/instances/40/properties.xml +183 -0
  41. data/server/instances/41/properties.xml +183 -0
  42. data/server/instances/42/properties.xml +183 -0
  43. data/server/instances/43/properties.xml +183 -0
  44. data/server/instances/44/properties.xml +183 -0
  45. data/server/instances/45/properties.xml +185 -0
  46. data/server/instances/{670 → 46}/properties.xml +1 -1
  47. data/server/instances/47/properties.xml +185 -0
  48. data/server/instances/48/properties.xml +185 -0
  49. data/server/instances/49/properties.xml +185 -0
  50. data/server/instances/5/properties.xml +1505 -49
  51. data/server/instances/50/properties.xml +183 -0
  52. data/server/instances/51/properties.xml +183 -0
  53. data/server/instances/52/properties.xml +2129 -0
  54. data/server/instances/53/properties.xml +2129 -0
  55. data/server/instances/54/properties.xml +319 -0
  56. data/server/instances/55/properties.xml +2114 -0
  57. data/server/instances/56/properties.xml +2114 -0
  58. data/server/instances/57/properties.xml +2119 -0
  59. data/server/instances/58/properties.xml +2119 -0
  60. data/server/instances/59/properties.xml +2119 -0
  61. data/server/instances/6/properties.xml +11 -186
  62. data/server/instances/60/properties.xml +2119 -0
  63. data/server/instances/61/properties.xml +2114 -0
  64. data/server/instances/62/properties.xml +2116 -0
  65. data/server/instances/63/properties.xml +2116 -0
  66. data/server/instances/64/properties.xml +2116 -0
  67. data/server/instances/65/properties.xml +76 -0
  68. data/server/instances/66/properties.xml +97 -0
  69. data/server/instances/7/properties.xml +1691 -82
  70. data/server/instances/8/properties.xml +1738 -53
  71. data/server/instances/9/properties.xml +680 -95
  72. data/server/resources/base.xml +78 -0
  73. data/server/resources/test.rb +19 -0
  74. data/server/resources/test.xml +33 -0
  75. data/server/server.pid +1 -0
  76. data/server/test.rb +3 -0
  77. metadata +41 -41
  78. data/log/logs/1/test +0 -1
  79. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +0 -1
  80. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +0 -1
  81. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/subscription.xml +0 -23
  82. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +0 -1
  83. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +0 -1
  84. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +0 -6
  85. data/server/instances/313/notifications/crisp/consumer-secret +0 -1
  86. data/server/instances/313/notifications/crisp/producer-secret +0 -1
  87. data/server/instances/313/notifications/crisp/subscription.xml +0 -7
  88. data/server/instances/313/notifications/logging/consumer-secret +0 -1
  89. data/server/instances/313/notifications/logging/producer-secret +0 -1
  90. data/server/instances/313/notifications/logging/subscription.xml +0 -7
  91. data/server/instances/313/notifications/logging_yaml/consumer-secret +0 -1
  92. data/server/instances/313/notifications/logging_yaml/producer-secret +0 -1
  93. data/server/instances/313/notifications/logging_yaml/subscription.xml +0 -7
  94. data/server/instances/313/properties.xml +0 -524
  95. data/server/instances/662/notifications/crisp/consumer-secret +0 -1
  96. data/server/instances/662/notifications/crisp/producer-secret +0 -1
  97. data/server/instances/662/notifications/crisp/subscription.xml +0 -7
  98. data/server/instances/662/notifications/logging/consumer-secret +0 -1
  99. data/server/instances/662/notifications/logging/producer-secret +0 -1
  100. data/server/instances/662/notifications/logging/subscription.xml +0 -7
  101. data/server/instances/662/notifications/logging_yaml/consumer-secret +0 -1
  102. data/server/instances/662/notifications/logging_yaml/producer-secret +0 -1
  103. data/server/instances/662/notifications/logging_yaml/subscription.xml +0 -7
  104. data/server/instances/662/properties.xml +0 -427
  105. data/server/instances/663/properties.xml +0 -31
  106. data/server/instances/664/properties.xml +0 -425
  107. data/server/instances/665/properties.xml +0 -425
  108. data/server/instances/666/properties.xml +0 -427
  109. data/server/instances/667/properties.xml +0 -427
  110. data/server/instances/668/properties.xml +0 -425
  111. data/server/instances/669/properties.xml +0 -425
  112. data/server/instances/671/properties.xml +0 -158
  113. data/server/instances/672/properties.xml +0 -199
  114. data/server/instances/673/properties.xml +0 -52
@@ -0,0 +1,183 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>46ea9532-a68b-40b5-8798-88f12765f9a2</uuid>
4
+ <info>Plain Instance</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>finished</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>manipulate :a1, { :label =&gt; "tester" }, &lt;&lt;-END
16
+ puts "hallo"
17
+ END
18
+ choose :exclusive do
19
+ alternative test{false} do
20
+ call :a4, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
21
+ puts "brrr"
22
+ END
23
+ terminate
24
+ end
25
+ alternative test{true} do
26
+ call :a3, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
27
+ stop :a5
28
+ end
29
+ end
30
+ call :a2, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
31
+ </dsl>
32
+ <dslx>
33
+ <description xmlns="http://cpee.org/ns/description/1.0">
34
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
35
+ <choose mode="exclusive">
36
+ <alternative condition="false">
37
+ <call id="a4" endpoint="timeout">
38
+ <parameters>
39
+ <label/>
40
+ <method>:post</method>
41
+ <arguments/>
42
+ </parameters>
43
+ <finalize output="result">puts "brrr"</finalize>
44
+ <update output="result"/>
45
+ <_timing>
46
+ <_timing_min/>
47
+ <_timing_max/>
48
+ <_timing_avg/>
49
+ </_timing>
50
+ <_notes>
51
+ <_notes_general/>
52
+ <_notes_output/>
53
+ <_attachments/>
54
+ </_notes>
55
+ </call>
56
+ <terminate/>
57
+ </alternative>
58
+ <alternative condition="true">
59
+ <call id="a3" endpoint="timeout">
60
+ <parameters>
61
+ <label/>
62
+ <method>:post</method>
63
+ <arguments/>
64
+ </parameters>
65
+ <finalize output="result"/>
66
+ <update output="result"/>
67
+ <_timing>
68
+ <_timing_min/>
69
+ <_timing_max/>
70
+ <_timing_avg/>
71
+ </_timing>
72
+ <_notes>
73
+ <_notes_general/>
74
+ <_notes_output/>
75
+ <_attachments/>
76
+ </_notes>
77
+ </call>
78
+ <stop id="a5"/>
79
+ </alternative>
80
+ <otherwise/>
81
+ </choose>
82
+ <call id="a2" endpoint="timeout">
83
+ <parameters>
84
+ <label/>
85
+ <method>:post</method>
86
+ <arguments/>
87
+ </parameters>
88
+ <finalize output="result"/>
89
+ <update output="result"/>
90
+ <_timing>
91
+ <_timing_min/>
92
+ <_timing_max/>
93
+ <_timing_avg/>
94
+ </_timing>
95
+ <_notes>
96
+ <_notes_general/>
97
+ <_notes_output/>
98
+ <_attachments/>
99
+ </_notes>
100
+ </call>
101
+ </description>
102
+ </dslx>
103
+ <status>
104
+ <id>0</id>
105
+ <message>undefined</message>
106
+ </status>
107
+ <description>
108
+ <description xmlns="http://cpee.org/ns/description/1.0">
109
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
110
+ <choose mode="exclusive">
111
+ <alternative condition="false">
112
+ <call id="a4" endpoint="timeout">
113
+ <parameters>
114
+ <label/>
115
+ <method>:post</method>
116
+ <arguments/>
117
+ </parameters>
118
+ <finalize output="result">puts "brrr"</finalize>
119
+ <update output="result"/>
120
+ <_timing>
121
+ <_timing_min/>
122
+ <_timing_max/>
123
+ <_timing_avg/>
124
+ </_timing>
125
+ <_notes>
126
+ <_notes_general/>
127
+ <_notes_output/>
128
+ <_attachments/>
129
+ </_notes>
130
+ </call>
131
+ <terminate/>
132
+ </alternative>
133
+ <alternative condition="true">
134
+ <call id="a3" endpoint="timeout">
135
+ <parameters>
136
+ <label/>
137
+ <method>:post</method>
138
+ <arguments/>
139
+ </parameters>
140
+ <finalize output="result"/>
141
+ <update output="result"/>
142
+ <_timing>
143
+ <_timing_min/>
144
+ <_timing_max/>
145
+ <_timing_avg/>
146
+ </_timing>
147
+ <_notes>
148
+ <_notes_general/>
149
+ <_notes_output/>
150
+ <_attachments/>
151
+ </_notes>
152
+ </call>
153
+ <stop id="a5"/>
154
+ </alternative>
155
+ <otherwise/>
156
+ </choose>
157
+ <call id="a2" endpoint="timeout">
158
+ <parameters>
159
+ <label/>
160
+ <method>:post</method>
161
+ <arguments/>
162
+ </parameters>
163
+ <finalize output="result"/>
164
+ <update output="result"/>
165
+ <_timing>
166
+ <_timing_min/>
167
+ <_timing_max/>
168
+ <_timing_avg/>
169
+ </_timing>
170
+ <_notes>
171
+ <_notes_general/>
172
+ <_notes_output/>
173
+ <_attachments/>
174
+ </_notes>
175
+ </call>
176
+ </description>
177
+ </description>
178
+ <transformation>
179
+ <description type="copy"/>
180
+ <dataelements type="none"/>
181
+ <endpoints type="none"/>
182
+ </transformation>
183
+ </properties>
@@ -0,0 +1,183 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>33abeff3-582c-4827-b6fe-a39717cb7d98</uuid>
4
+ <info>Plain Instance</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>finished</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>manipulate :a1, { :label =&gt; "tester" }, &lt;&lt;-END
16
+ puts "hallo"
17
+ END
18
+ choose :exclusive do
19
+ alternative test{false} do
20
+ call :a4, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
21
+ puts "brrr"
22
+ END
23
+ terminate
24
+ end
25
+ alternative test{true} do
26
+ call :a3, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
27
+ stop :a5
28
+ end
29
+ end
30
+ call :a2, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
31
+ </dsl>
32
+ <dslx>
33
+ <description xmlns="http://cpee.org/ns/description/1.0">
34
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
35
+ <choose mode="exclusive">
36
+ <alternative condition="false">
37
+ <call id="a4" endpoint="timeout">
38
+ <parameters>
39
+ <label/>
40
+ <method>:post</method>
41
+ <arguments/>
42
+ </parameters>
43
+ <finalize output="result">puts "brrr"</finalize>
44
+ <update output="result"/>
45
+ <_timing>
46
+ <_timing_min/>
47
+ <_timing_max/>
48
+ <_timing_avg/>
49
+ </_timing>
50
+ <_notes>
51
+ <_notes_general/>
52
+ <_notes_output/>
53
+ <_attachments/>
54
+ </_notes>
55
+ </call>
56
+ <terminate/>
57
+ </alternative>
58
+ <alternative condition="true">
59
+ <call id="a3" endpoint="timeout">
60
+ <parameters>
61
+ <label/>
62
+ <method>:post</method>
63
+ <arguments/>
64
+ </parameters>
65
+ <finalize output="result"/>
66
+ <update output="result"/>
67
+ <_timing>
68
+ <_timing_min/>
69
+ <_timing_max/>
70
+ <_timing_avg/>
71
+ </_timing>
72
+ <_notes>
73
+ <_notes_general/>
74
+ <_notes_output/>
75
+ <_attachments/>
76
+ </_notes>
77
+ </call>
78
+ <stop id="a5"/>
79
+ </alternative>
80
+ <otherwise/>
81
+ </choose>
82
+ <call id="a2" endpoint="timeout">
83
+ <parameters>
84
+ <label/>
85
+ <method>:post</method>
86
+ <arguments/>
87
+ </parameters>
88
+ <finalize output="result"/>
89
+ <update output="result"/>
90
+ <_timing>
91
+ <_timing_min/>
92
+ <_timing_max/>
93
+ <_timing_avg/>
94
+ </_timing>
95
+ <_notes>
96
+ <_notes_general/>
97
+ <_notes_output/>
98
+ <_attachments/>
99
+ </_notes>
100
+ </call>
101
+ </description>
102
+ </dslx>
103
+ <status>
104
+ <id>0</id>
105
+ <message>undefined</message>
106
+ </status>
107
+ <description>
108
+ <description xmlns="http://cpee.org/ns/description/1.0">
109
+ <manipulate id="a1" label="tester">puts "hallo"</manipulate>
110
+ <choose mode="exclusive">
111
+ <alternative condition="false">
112
+ <call id="a4" endpoint="timeout">
113
+ <parameters>
114
+ <label/>
115
+ <method>:post</method>
116
+ <arguments/>
117
+ </parameters>
118
+ <finalize output="result">puts "brrr"</finalize>
119
+ <update output="result"/>
120
+ <_timing>
121
+ <_timing_min/>
122
+ <_timing_max/>
123
+ <_timing_avg/>
124
+ </_timing>
125
+ <_notes>
126
+ <_notes_general/>
127
+ <_notes_output/>
128
+ <_attachments/>
129
+ </_notes>
130
+ </call>
131
+ <terminate/>
132
+ </alternative>
133
+ <alternative condition="true">
134
+ <call id="a3" endpoint="timeout">
135
+ <parameters>
136
+ <label/>
137
+ <method>:post</method>
138
+ <arguments/>
139
+ </parameters>
140
+ <finalize output="result"/>
141
+ <update output="result"/>
142
+ <_timing>
143
+ <_timing_min/>
144
+ <_timing_max/>
145
+ <_timing_avg/>
146
+ </_timing>
147
+ <_notes>
148
+ <_notes_general/>
149
+ <_notes_output/>
150
+ <_attachments/>
151
+ </_notes>
152
+ </call>
153
+ <stop id="a5"/>
154
+ </alternative>
155
+ <otherwise/>
156
+ </choose>
157
+ <call id="a2" endpoint="timeout">
158
+ <parameters>
159
+ <label/>
160
+ <method>:post</method>
161
+ <arguments/>
162
+ </parameters>
163
+ <finalize output="result"/>
164
+ <update output="result"/>
165
+ <_timing>
166
+ <_timing_min/>
167
+ <_timing_max/>
168
+ <_timing_avg/>
169
+ </_timing>
170
+ <_notes>
171
+ <_notes_general/>
172
+ <_notes_output/>
173
+ <_attachments/>
174
+ </_notes>
175
+ </call>
176
+ </description>
177
+ </description>
178
+ <transformation>
179
+ <description type="copy"/>
180
+ <dataelements type="none"/>
181
+ <endpoints type="none"/>
182
+ </transformation>
183
+ </properties>
@@ -0,0 +1,2129 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>ed849a9f-80c7-495f-9dcb-4978e5ee8b8c</uuid>
4
+ <info>IHS1</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>labels</theme>
7
+ <customer>OEBB</customer>
8
+ <status>development</status>
9
+ </attributes>
10
+ <state>ready</state>
11
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
12
+ <positions/>
13
+ <dataelements>
14
+ <schaedigungen>["X","X","X"]</schaedigungen>
15
+ <taetigkeiten>["Eigenspannungspruefung","Drehen","Abpressen"]</taetigkeiten>
16
+ <lagerlaufleistung>2.1</lagerlaufleistung>
17
+ <tauschgruppe>{"lagerlaufleistung":1.5,"wucht_gramm_pro_meter":5,"bremsscheiben":true,"personenzug":true,"gueterzug":false}</tauschgruppe>
18
+ <lagerbauart>{"innenring":true,"deckel_mit_loch":false}</lagerbauart>
19
+ </dataelements>
20
+ <endpoints>
21
+ <timeout>http://localhost/customers/oebb/services/timeout.php</timeout>
22
+ <init>http://localhost/customers/oebb/services/oebb.php?_taetigkeiten=taetigkeiten.txt&amp;_schaedigungen=schaedigungen.txt&amp;_tauschgruppe=tauschgruppe.txt&amp;lagerlaufleistung=2.1&amp;_lagerbauart=lagerbauart.txt</init>
23
+ <fix>http://localhost/customers/oebb/services/oebb.php</fix>
24
+ <eigen>http://localhost/customers/oebb/services/oebb.php?_taetigkeiten=addeigen.txt</eigen>
25
+ <drehen>http://localhost/customers/oebb/services/oebb.php?_taetigkeiten=adddrehen.txt&amp;_geometriedaten=geometriedaten.txt&amp;_geometriedaten_neu=geometriedatenneu.txt</drehen>
26
+ <ut>http://localhost/customers/oebb/services/oebb.php?_taetigkeiten=ut.txt</ut>
27
+ <kerb>http://localhost/customers/oebb/services/oebb.php</kerb>
28
+ <lageraufbereitung>http://localhost/customers/oebb/services/timeout.php</lageraufbereitung>
29
+ <aufpressen>http://localhost/customers/oebb/services/oebb.php?presskraftdiagramm=schlecht&amp;wellenstatus=gut</aufpressen>
30
+ <abpressen>http://localhost/customers/oebb/services/oebb.php?status=lagersitz%20ok</abpressen>
31
+ <aufpressen_gut>http://localhost/customers/oebb/services/oebb.php?presskraftdiagramm=gut&amp;wellenstatus=gut</aufpressen_gut>
32
+ <buersten>http://localhost/customers/oebb/services/oebb.php?taetigkeiten=Sandstrahlen</buersten>
33
+ <ut>http://localhost/customers/oebb/services/oebb.php?radsatzwelle_status=gut</ut>
34
+ <innenringmontage>http://localhost/customers/oebb/services/oebb.php?innenring_status=ok</innenringmontage>
35
+ <ut_scheibe>http://localhost/customers/oebb/services/oebb.php?ut_scheibe_status=gut</ut_scheibe>
36
+ <wuchten>http://localhost/customers/oebb/services/oebb.php?wucht_gramm_pro_meter=5</wuchten>
37
+ </endpoints>
38
+ <dsl>call :a1, :init, parameters: { :label =&gt; "Identifikation 110", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :radsatznummer, :value =&gt; nil), ⭐(:name =&gt; :wellentyp, :value =&gt; nil), ⭐(:name =&gt; :lagerbauart, :value =&gt; nil), ⭐(:name =&gt; :tauschgruppe, :value =&gt; nil), ⭐(:name =&gt; :eigentuemer, :value =&gt; nil), ⭐(:name =&gt; :regelwerk, :value =&gt; nil), ⭐(:name =&gt; :auftragsnummer, :value =&gt; nil), ⭐(:name =&gt; :mindeststragie, :value =&gt; nil), ⭐(:name =&gt; :technische_weisungen, :value =&gt; nil), ⭐(:name =&gt; :schadcodes, :value =&gt; nil), ⭐(:name =&gt; :lagerlaufleistung, :value =&gt; "in jahre"), ⭐(:name =&gt; :lagerlaufleistung, :value =&gt; "stempel am lager in zukunft aus sam")] }, finalize: &lt;&lt;-END
39
+ # Liste der Schadcodes
40
+ data.schaedigungen = result['schaedigungen']
41
+ # Manganschweissen, Gelber Anstrich, technische_weisungen
42
+ data.taetigkeiten = result['taetigkeiten']
43
+ data.lagerlaufleistung = result["lagerlaufleistung"].to_f
44
+ data.tauschgruppe = result["tauschgruppe"]
45
+ data.lagerbauart = result["lagerbauart"]
46
+ END
47
+ choose :exclusive do
48
+ alternative test{data.lagerbauart["deckel_mit_loch"] == false} do
49
+ call :a2, :fix, parameters: { :label =&gt; "Lagerdeckeldemontage 130", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :deckel, :value =&gt; "true"), ⭐(:name =&gt; :lager, :value =&gt; "false"), ⭐(:name =&gt; :anbauteile, :value =&gt; "true")] }, finalize: &lt;&lt;-END
50
+ data.taetigkeiten &lt;&lt; "Montage Deckel"
51
+ END
52
+ end
53
+ otherwise do
54
+ call :a16, nil, parameters: { :label =&gt; "Lagerdemontage 130", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :deckel, :value =&gt; "true"), ⭐(:name =&gt; :lager, :value =&gt; "true"), ⭐(:name =&gt; :anbauteile, :value =&gt; "true"), ⭐(:name =&gt; :details, :value =&gt; nil)] }, finalize: &lt;&lt;-END
55
+ # ab IS1+IL aufwaerts
56
+ # data.details ist alles unten
57
+ data.wellenhersteller
58
+ data.wellenmaterial
59
+ data.schmelze
60
+ data.charge
61
+ data.wellenherstelldatum
62
+ data.erstfueger
63
+ data.erstfuegerdatum
64
+ data.wellennummer
65
+ data.lagerherstelldatum
66
+ data.lagerlaufleistung
67
+ data.lhm_korbnummer_rechts
68
+ data.lhm_korbnummer_links
69
+ # gibt der mitarbeiter ein, wird verglichen
70
+ END
71
+ choose :exclusive do
72
+ alternative test{data.radsatznummer != data.wellennummer} do
73
+ call :a4, nil, parameters: { :label =&gt; "Datenkonsistenz herstellen, eventuelle Barcode ausdrucken", :method =&gt; :post, :arguments =&gt; nil }
74
+ end
75
+ end
76
+ choose :exclusive do
77
+ alternative test{data.lagertyp == "kartuschenlager" &amp;&amp; data.lagerherstelldatum &lt; data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &lt; data.lagertyp.maximallaufleistung} do
78
+ call :a6, nil, parameters: { :label =&gt; "Externe Lageraufbereitung", :method =&gt; :post, :arguments =&gt; nil }
79
+ end
80
+ alternative test{data.lagertyp == "kartuschenlager" &amp;&amp; data.lagerherstelldatum &gt;= data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &gt; data.lagertyp.maximallaufleistung} do
81
+ call :a5, nil, parameters: { :label =&gt; "Lager Verschrotten", :method =&gt; :post, :arguments =&gt; nil }
82
+ end
83
+ otherwise do
84
+ manipulate :a42, &lt;&lt;-END
85
+ data.taetigkeiten &lt;&lt; 'Lageraufbereitung'
86
+ END
87
+ end
88
+ end
89
+ end
90
+ end
91
+ parallel :wait =&gt; -1 do
92
+ parallel_branch do ||
93
+ loop post_test{data.taetigkeiten.include? 'Eigenspannungspruefung'} do
94
+ call :a3, :eigen, parameters: { :label =&gt; "Eigenspannungspruefung 140", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :werkstoff, :value =&gt; nil), ⭐(:name =&gt; :bauform_scheibe, :value =&gt; nil), ⭐(:name =&gt; :pruefprogramm, :value =&gt; nil)] }, finalize: &lt;&lt;-END
95
+ data.eigenspannungswerte
96
+ # Radsatz regenerieren falls die Station das meldet
97
+ data.taetigkeiten &lt;&lt; "Radsatz regenerieren"
98
+ data.taetigkeiten.delete("Eigenspannungspruefung")
99
+ END
100
+ choose :exclusive do
101
+ alternative test{data.taetigkeiten.include? 'Radsatz regenerieren'} do
102
+ call :a20, :timeout, parameters: { :label =&gt; "Radsatz regenerieren", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }, finalize: &lt;&lt;-END
103
+ data.taetigkeiten.delete("Radsatz regenerieren")
104
+ END
105
+ end
106
+ end
107
+ end
108
+ choose :exclusive do
109
+ alternative test{data.taetigkeiten.include? 'Abpressen'} do
110
+ manipulate :a19
111
+ loop post_test{data.wuchten_status == 'schlecht'} do
112
+ loop post_test{data.wellenstatus == "beschaedigt"} do
113
+ call :a22, :abpressen, parameters: { :label =&gt; "Radscheibe abpressen 510/511", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
114
+ if result['status'] == "lagersitz kaputt"
115
+ # z.b. weil lagersitz im arsch
116
+ data.taetigkeiten.clear
117
+ end
118
+ data.taetigkeiten &lt;&lt; "Radsatzwelle drehen"
119
+ END
120
+ call :a23, :timeout, parameters: { :label =&gt; "Radsatzwelle drehen 520/521", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
121
+ call :a24, :timeout, parameters: { :label =&gt; "MT Welle unbescheibt prüfen 535", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
122
+ call :a25, :timeout, parameters: { :label =&gt; "Senkrechtbohrwerk 530/531", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }, update: &lt;&lt;-END
123
+ # ich hab radscheibe demontiert, alle
124
+ # die fuer die wellentype zulässig sind
125
+ # dürfen wieder rauf
126
+ # (verbrauchsmaterial liste)
127
+ # wellentype -&gt; zulässige materialnummer
128
+ # materialnummern können bremsscheibe, radscheibe oder
129
+ # radbremsscheibe sein. Mehrere zulässige.
130
+ END
131
+ call :a26, :aufpressen, parameters: { :label =&gt; "Radscheibe aufpressen 516/510", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
132
+ data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
133
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"
134
+ END
135
+ loop pre_test{data.presskraftdiagramm == "schlecht" &amp;&amp; data.wellenstatus != "beschaedigt"} do
136
+ call :a27, :abpressen, parameters: { :label =&gt; "Radscheibe abpressen 510/511", :method =&gt; :post, :arguments =&gt; nil }
137
+ call :a28, :aufpressen_gut, parameters: { :label =&gt; "Radscheibe aufpressen 516/510", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
138
+ data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
139
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"
140
+ END
141
+ end
142
+ manipulate :a29, &lt;&lt;-END
143
+ data.taetigkeiten.delete("Abpressen")
144
+ END
145
+ end
146
+ choose :exclusive do
147
+ alternative test{data.tauschgruppe["bremsscheiben"]} do
148
+ call :a8, :drehen, parameters: { :label =&gt; "Rad und Bremsscheibe messen 320", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :wellentyp, :value =&gt; nil)] }, finalize: &lt;&lt;-END
149
+ data.geometriedaten_radsatz = result['geometriedaten']
150
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false
151
+ END
152
+ end
153
+ otherwise do
154
+ call :a9, :drehen, parameters: { :label =&gt; "Radscheibe messen 321", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :wellentyp, :value =&gt; nil)] }, finalize: &lt;&lt;-END
155
+ data.geometriedaten_radsatz = result['geometriedaten']
156
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false
157
+ END
158
+ end
159
+ end
160
+ choose :exclusive do
161
+ alternative test{data.geometriedata_radsatz_neu == false} do
162
+ call :a30, :worklist_b, parameters: { :label =&gt; "Lesen der Barcodes der gebrauchten Scheiben", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
163
+ # lesen anhand barcode
164
+ data.eigenspannunswerte = result.eigenspannungswerte
165
+ data.taetigkeiten &lt;&lt; "UT Scheibe"
166
+ END
167
+ end
168
+ end
169
+ choose :exclusive do
170
+ alternative test{data.tauschgruppe["personenzug"] || (data.tauschgruppe["gueterzug"] &amp;&amp; data.tauschgruppe["bremsscheiben"])} do
171
+ call :a21, :wuchten, parameters: { :label =&gt; "Wuchten 550", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
172
+ # sicher gramm pro meter, nachgeschaut
173
+ data.wucht_gramm_pro_meter = result["wucht_gramm_pro_meter"]
174
+ if data.wucht_gramm_pro_meter != data.tauschgruppe["wucht_gramm_pro_meter"]
175
+ data.wucht_status == 'schlecht'
176
+ else
177
+ data.wucht_status == 'gut'
178
+ end
179
+ END
180
+ end
181
+ end
182
+ end
183
+ end
184
+ end
185
+ choose :exclusive do
186
+ alternative test{data.lagerlaufleistung &gt; data.tauschgruppe["lagerlaufleistung"] || data.schaedigungen.include?("defekter innenring") || data.taetigkeiten.include?("Demontage Innenringe")} do
187
+ choose :exclusive do
188
+ alternative test{data.lagerbauart["innenring"]} do
189
+ call :a32, :timeout, parameters: { :label =&gt; "Demontage Innenringe 420", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
190
+ end
191
+ otherwise do
192
+ manipulate :a43, { :label =&gt; "Innenringstatus OK (weils keinen gibt)" }, &lt;&lt;-END
193
+ data.innenring_status = "ok"
194
+ END
195
+ end
196
+ end
197
+ call :a31, :buersten, parameters: { :label =&gt; "Radsatzwelle Bürsten 490", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }, finalize: &lt;&lt;-END
198
+ # eventuell sandstrahlen
199
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
200
+ END
201
+ choose :exclusive do
202
+ alternative test{data.taetigkeiten.include? 'Sandstrahlen'} do
203
+ call :a33, :timeout, parameters: { :label =&gt; "Sandstrahlen 480", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
204
+ end
205
+ end
206
+ call :a34, :ut, parameters: { :label =&gt; "UT Radsatzwelle 430", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
207
+ data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht
208
+ END
209
+ loop post_test{data.innenring_status != 'ok'} do
210
+ loop post_test{data.radsatzwelle_status == 'schlecht'} do
211
+ call :a38, :timeout, parameters: { :label =&gt; "Radsatzwelle drehen HS4 595", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
212
+ call :a37, :ut, parameters: { :label =&gt; "UT Radsatzwelle 430", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
213
+ data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht
214
+ END
215
+ end
216
+ choose :exclusive do
217
+ alternative test{data.lagerbauart["innenring"]} do
218
+ call :a36, :innenringmontage, parameters: { :label =&gt; "Innenringmontage 190", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
219
+ data.innenring_status = result["innenring_status"] # ok, beschaedigung, untermass
220
+ END
221
+ end
222
+ end
223
+ end
224
+ call :a41, :timeout, parameters: { :label =&gt; "MT Allg. Prüfung 170", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
225
+ call :a18, :ut_scheibe, parameters: { :label =&gt; "UT Scheibe 630", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
226
+ if result["ut_scheibe_status"] != 'gut'
227
+ data.taetigkeiten &lt;&lt; 'Drehen'
228
+ end
229
+ END
230
+ end
231
+ end
232
+ loop post_test{data.taetigkeiten.include? 'Drehen'} do
233
+ choose :exclusive do
234
+ alternative test{data.tauschgruppe["bremsscheiben"]} do
235
+ call :a39, :drehen, parameters: { :label =&gt; "Rad und Bremsscheibe drehen 320", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :wellentyp, :value =&gt; nil)] }, finalize: &lt;&lt;-END
236
+ data.geometriedaten_radsatz = result['geometriedaten']
237
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false # eventuell abpressen
238
+ if result["taetigkeiten"]
239
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
240
+ end
241
+ END
242
+ end
243
+ otherwise do
244
+ call :a40, :drehen, parameters: { :label =&gt; "Radscheibe drehen 321", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :wellentyp, :value =&gt; nil)] }, finalize: &lt;&lt;-END
245
+ data.geometriedaten_radsatz = result['geometriedaten']
246
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false
247
+ END
248
+ end
249
+ end
250
+ choose :exclusive do
251
+ alternative test{data.taetigkeiten.include? 'Kerbschleifen'} do
252
+ call :a17, :kerb, parameters: { :label =&gt; "Kerbschleifen 240", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
253
+ data.taetigkeiten.delete("Kerbschleifen")
254
+ # eventuell abpressen
255
+ if result["taetigkeiten"]
256
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
257
+ end
258
+ END
259
+ end
260
+ end
261
+ call :a10, :ut, parameters: { :label =&gt; "UT Scheibe 630", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
262
+ data.taetigkeiten.delete("UT Scheibe")
263
+ if result['radsatzwelle_status'] == 'gut'
264
+ data.taetigkeiten.delete("Drehen")
265
+ end
266
+ # if endpoints.ut != "http://localhost/customers/oebb/services/oebb.php"
267
+ # data.taetigkeiten = data.taetigkeiten + result['taetigkeiten']
268
+ # end
269
+ # endpoints.ut = "http://localhost/customers/oebb/services/oebb.php"
270
+ END
271
+ end
272
+ end
273
+ parallel_branch do ||
274
+ call :a7, :lageraufbereitung, parameters: { :label =&gt; "Lageraufbereitung 680", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; "2")] }
275
+ end
276
+ end
277
+ call :a11, :fix, parameters: { :label =&gt; "Lagermontage 640", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :lagerbauart, :value =&gt; nil)] }, finalize: &lt;&lt;-END
278
+ data.taetigkeiten.delete("Montage Deckel")
279
+ END
280
+ call :a12, :fix, parameters: { :label =&gt; "Austrittskontrolle 650", :method =&gt; :post, :arguments =&gt; nil }
281
+ call :a13, :fix, parameters: { :label =&gt; "Lackierung 675", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :strategie, :value =&gt; nil)] }
282
+ call :a14, :fix, parameters: { :label =&gt; "Versandfertig 690", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :technische_weisungen, :value =&gt; nil), ⭐(:name =&gt; :regelwerk, :value =&gt; nil)] }
283
+ call :a15, :fix, parameters: { :label =&gt; "Qualitaetsfreigabe 710", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :regelwerk, :value =&gt; nil), ⭐(:name =&gt; :technische_weisungen, :value =&gt; nil)] }
284
+ choose :exclusive do
285
+ alternative test{data.taetigkeiten.include? "Anbauteile montieren"} do
286
+ call :a35, nil, parameters: { :label =&gt; "Anbauteilmontage 670", :method =&gt; :post, :arguments =&gt; nil }
287
+ end
288
+ end
289
+ </dsl>
290
+ <dslx>
291
+ <description xmlns="http://cpee.org/ns/description/1.0">
292
+ <call id="a1" endpoint="init">
293
+ <parameters>
294
+ <label>Identifikation 110</label>
295
+ <method>:post</method>
296
+ <arguments>
297
+ <radsatznummer/>
298
+ <wellentyp/>
299
+ <lagerbauart/>
300
+ <tauschgruppe/>
301
+ <eigentuemer/>
302
+ <regelwerk/>
303
+ <auftragsnummer/>
304
+ <mindeststragie/>
305
+ <technische_weisungen/>
306
+ <schadcodes/>
307
+ <lagerlaufleistung>in jahre</lagerlaufleistung>
308
+ <lagerlaufleistung>stempel am lager in zukunft aus sam</lagerlaufleistung>
309
+ </arguments>
310
+ </parameters>
311
+ <finalize output="result"># Liste der Schadcodes
312
+ data.schaedigungen = result['schaedigungen']
313
+
314
+ # Manganschweissen, Gelber Anstrich, technische_weisungen
315
+ data.taetigkeiten = result['taetigkeiten']
316
+
317
+ data.lagerlaufleistung = result["lagerlaufleistung"].to_f
318
+ data.tauschgruppe = result["tauschgruppe"]
319
+ data.lagerbauart = result["lagerbauart"]</finalize>
320
+ <update output="result"/>
321
+ <_timing>
322
+ <_timing_min/>
323
+ <_timing_max/>
324
+ <_timing_avg/>
325
+ </_timing>
326
+ <_notes>
327
+ <_notes_general/>
328
+ <_notes_output/>
329
+ <_attachments/>
330
+ </_notes>
331
+ </call>
332
+ <choose mode="exclusive">
333
+ <alternative condition="data.lagerbauart[&quot;deckel_mit_loch&quot;] == false">
334
+ <call id="a2" endpoint="fix">
335
+ <parameters>
336
+ <label>Lagerdeckeldemontage 130</label>
337
+ <method>:post</method>
338
+ <arguments>
339
+ <deckel>true</deckel>
340
+ <lager>false</lager>
341
+ <anbauteile>true</anbauteile>
342
+ </arguments>
343
+ </parameters>
344
+ <finalize output="result">data.taetigkeiten &lt;&lt; "Montage Deckel"</finalize>
345
+ <update output="result"/>
346
+ <_timing>
347
+ <_timing_min/>
348
+ <_timing_max/>
349
+ <_timing_avg/>
350
+ </_timing>
351
+ <_notes>
352
+ <_notes_general/>
353
+ <_notes_output/>
354
+ <_attachments/>
355
+ </_notes>
356
+ </call>
357
+ </alternative>
358
+ <otherwise>
359
+ <call id="a16" endpoint="">
360
+ <parameters>
361
+ <label>Lagerdemontage 130</label>
362
+ <method>:post</method>
363
+ <arguments>
364
+ <deckel>true</deckel>
365
+ <lager>true</lager>
366
+ <anbauteile>true</anbauteile>
367
+ <details/>
368
+ </arguments>
369
+ </parameters>
370
+ <finalize output="result"># ab IS1+IL aufwaerts
371
+ # data.details ist alles unten
372
+
373
+ data.wellenhersteller
374
+ data.wellenmaterial
375
+ data.schmelze
376
+ data.charge
377
+ data.wellenherstelldatum
378
+ data.erstfueger
379
+ data.erstfuegerdatum
380
+ data.wellennummer
381
+ data.lagerherstelldatum
382
+ data.lagerlaufleistung
383
+ data.lhm_korbnummer_rechts
384
+ data.lhm_korbnummer_links
385
+
386
+ # gibt der mitarbeiter ein, wird verglichen</finalize>
387
+ <update output="result"/>
388
+ </call>
389
+ <choose mode="exclusive">
390
+ <alternative condition="data.radsatznummer != data.wellennummer">
391
+ <call id="a4" endpoint="">
392
+ <parameters>
393
+ <label>Datenkonsistenz herstellen, eventuelle Barcode ausdrucken</label>
394
+ <method>:post</method>
395
+ <arguments/>
396
+ </parameters>
397
+ <finalize output="result"/>
398
+ <update output="result"/>
399
+ </call>
400
+ </alternative>
401
+ <otherwise/>
402
+ </choose>
403
+ <choose mode="exclusive">
404
+ <alternative condition="data.lagertyp == &quot;kartuschenlager&quot; &amp;&amp; data.lagerherstelldatum &lt; data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &lt; data.lagertyp.maximallaufleistung">
405
+ <call id="a6" endpoint="">
406
+ <parameters>
407
+ <label>Externe Lageraufbereitung</label>
408
+ <method>:post</method>
409
+ <arguments/>
410
+ </parameters>
411
+ </call>
412
+ </alternative>
413
+ <alternative condition="data.lagertyp == &quot;kartuschenlager&quot; &amp;&amp; data.lagerherstelldatum &gt;= data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &gt; data.lagertyp.maximallaufleistung">
414
+ <call id="a5" endpoint="">
415
+ <parameters>
416
+ <label>Lager Verschrotten</label>
417
+ <method>:post</method>
418
+ <arguments/>
419
+ </parameters>
420
+ </call>
421
+ </alternative>
422
+ <otherwise>
423
+ <manipulate id="a42">data.taetigkeiten &lt;&lt; 'Lageraufbereitung'</manipulate>
424
+ </otherwise>
425
+ </choose>
426
+ </otherwise>
427
+ </choose>
428
+ <parallel wait="-1">
429
+ <parallel_branch pass="" local="">
430
+ <loop mode="post_test" condition="data.taetigkeiten.include? 'Eigenspannungspruefung'">
431
+ <call id="a3" endpoint="eigen">
432
+ <parameters>
433
+ <label>Eigenspannungspruefung 140</label>
434
+ <method>:post</method>
435
+ <arguments>
436
+ <werkstoff/>
437
+ <bauform_scheibe/>
438
+ <pruefprogramm/>
439
+ </arguments>
440
+ </parameters>
441
+ <finalize output="result">data.eigenspannungswerte
442
+ # Radsatz regenerieren falls die Station das meldet
443
+ data.taetigkeiten &lt;&lt; "Radsatz regenerieren"
444
+ data.taetigkeiten.delete("Eigenspannungspruefung")</finalize>
445
+ <update output="result"/>
446
+ <_notes>
447
+ <_notes_general/>
448
+ </_notes>
449
+ </call>
450
+ <choose mode="exclusive">
451
+ <alternative condition="data.taetigkeiten.include? 'Radsatz regenerieren'">
452
+ <call id="a20" endpoint="timeout">
453
+ <parameters>
454
+ <label>Radsatz regenerieren</label>
455
+ <method>:post</method>
456
+ <arguments>
457
+ <timeout>2</timeout>
458
+ </arguments>
459
+ </parameters>
460
+ <finalize output="result">data.taetigkeiten.delete("Radsatz regenerieren")</finalize>
461
+ <update output="result"/>
462
+ <_timing>
463
+ <_timing_min/>
464
+ <_timing_max/>
465
+ <_timing_avg/>
466
+ </_timing>
467
+ <_notes>
468
+ <_notes_general/>
469
+ <_notes_output/>
470
+ <_attachments/>
471
+ </_notes>
472
+ </call>
473
+ </alternative>
474
+ <otherwise/>
475
+ </choose>
476
+ </loop>
477
+ <choose mode="exclusive">
478
+ <alternative condition="data.taetigkeiten.include? 'Abpressen'">
479
+ <manipulate id="a19"/>
480
+ <loop mode="post_test" condition="data.wuchten_status == 'schlecht'">
481
+ <loop mode="post_test" condition="data.wellenstatus == &quot;beschaedigt&quot;">
482
+ <call id="a22" endpoint="abpressen">
483
+ <parameters>
484
+ <label>Radscheibe abpressen 510/511</label>
485
+ <method>:post</method>
486
+ <arguments/>
487
+ </parameters>
488
+ <finalize output="result">if result['status'] == "lagersitz kaputt"
489
+ # z.b. weil lagersitz im arsch
490
+ data.taetigkeiten.clear
491
+ end
492
+
493
+ data.taetigkeiten &lt;&lt; "Radsatzwelle drehen"</finalize>
494
+ <update output="result"/>
495
+ <_timing>
496
+ <_timing_min/>
497
+ <_timing_max/>
498
+ <_timing_avg/>
499
+ </_timing>
500
+ <_notes>
501
+ <_notes_general/>
502
+ <_notes_output/>
503
+ <_attachments/>
504
+ </_notes>
505
+ </call>
506
+ <call id="a23" endpoint="timeout">
507
+ <parameters>
508
+ <label>Radsatzwelle drehen 520/521</label>
509
+ <method>:post</method>
510
+ <arguments>
511
+ <timeout>2</timeout>
512
+ </arguments>
513
+ </parameters>
514
+ <finalize output="result"/>
515
+ <update output="result"/>
516
+ <_timing>
517
+ <_timing_min/>
518
+ <_timing_max/>
519
+ <_timing_avg/>
520
+ </_timing>
521
+ <_notes>
522
+ <_notes_general/>
523
+ <_notes_output/>
524
+ <_attachments/>
525
+ </_notes>
526
+ </call>
527
+ <call id="a24" endpoint="timeout">
528
+ <parameters>
529
+ <label>MT Welle unbescheibt prüfen 535</label>
530
+ <method>:post</method>
531
+ <arguments>
532
+ <timeout>2</timeout>
533
+ </arguments>
534
+ </parameters>
535
+ <finalize output="result"/>
536
+ <update output="result"/>
537
+ <_timing>
538
+ <_timing_min/>
539
+ <_timing_max/>
540
+ <_timing_avg/>
541
+ </_timing>
542
+ <_notes>
543
+ <_notes_general>Wenn status schlecht, zum drehen
544
+ Wenn mindestdruchmesser erreicht, schrott</_notes_general>
545
+ <_notes_output/>
546
+ <_attachments/>
547
+ </_notes>
548
+ </call>
549
+ <call id="a25" endpoint="timeout">
550
+ <parameters>
551
+ <label>Senkrechtbohrwerk 530/531</label>
552
+ <method>:post</method>
553
+ <arguments>
554
+ <timeout>2</timeout>
555
+ </arguments>
556
+ </parameters>
557
+ <finalize output="result"/>
558
+ <update output="result"># ich hab radscheibe demontiert, alle
559
+ # die fuer die wellentype zulässig sind
560
+ # dürfen wieder rauf
561
+ # (verbrauchsmaterial liste)
562
+ # wellentype -&gt; zulässige materialnummer
563
+ # materialnummern können bremsscheibe, radscheibe oder
564
+ # radbremsscheibe sein. Mehrere zulässige.</update>
565
+ <_timing>
566
+ <_timing_min/>
567
+ <_timing_max/>
568
+ <_timing_avg/>
569
+ </_timing>
570
+ <_notes>
571
+ <_notes_general/>
572
+ <_notes_output/>
573
+ <_attachments/>
574
+ </_notes>
575
+ </call>
576
+ <call id="a26" endpoint="aufpressen">
577
+ <parameters>
578
+ <label>Radscheibe aufpressen 516/510</label>
579
+ <method>:post</method>
580
+ <arguments/>
581
+ </parameters>
582
+ <finalize output="result">data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
583
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"</finalize>
584
+ <update output="result"/>
585
+ <_timing>
586
+ <_timing_min/>
587
+ <_timing_max/>
588
+ <_timing_avg/>
589
+ </_timing>
590
+ <_notes>
591
+ <_notes_general/>
592
+ <_notes_output/>
593
+ <_attachments/>
594
+ </_notes>
595
+ </call>
596
+ <loop mode="pre_test" condition="data.presskraftdiagramm == &quot;schlecht&quot; &amp;&amp; data.wellenstatus != &quot;beschaedigt&quot;">
597
+ <call id="a27" endpoint="abpressen">
598
+ <parameters>
599
+ <label>Radscheibe abpressen 510/511</label>
600
+ <method>:post</method>
601
+ <arguments/>
602
+ </parameters>
603
+ <finalize output="result"/>
604
+ <update output="result"/>
605
+ <_timing>
606
+ <_timing_min/>
607
+ <_timing_max/>
608
+ <_timing_avg/>
609
+ </_timing>
610
+ <_notes>
611
+ <_notes_general/>
612
+ <_notes_output/>
613
+ <_attachments/>
614
+ </_notes>
615
+ </call>
616
+ <call id="a28" endpoint="aufpressen_gut">
617
+ <parameters>
618
+ <label>Radscheibe aufpressen 516/510</label>
619
+ <method>:post</method>
620
+ <arguments/>
621
+ </parameters>
622
+ <finalize output="result">data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
623
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"</finalize>
624
+ <update output="result"/>
625
+ <_timing>
626
+ <_timing_min/>
627
+ <_timing_max/>
628
+ <_timing_avg/>
629
+ </_timing>
630
+ <_notes>
631
+ <_notes_general/>
632
+ <_notes_output/>
633
+ <_attachments/>
634
+ </_notes>
635
+ </call>
636
+ </loop>
637
+ <manipulate id="a29">data.taetigkeiten.delete("Abpressen")</manipulate>
638
+ </loop>
639
+ <choose mode="exclusive">
640
+ <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]">
641
+ <call id="a8" endpoint="drehen">
642
+ <parameters>
643
+ <label>Rad und Bremsscheibe messen 320</label>
644
+ <method>:post</method>
645
+ <arguments>
646
+ <wellentyp/>
647
+ </arguments>
648
+ </parameters>
649
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
650
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
651
+ <update output="result"/>
652
+ <_timing>
653
+ <_timing_min/>
654
+ <_timing_max/>
655
+ <_timing_avg/>
656
+ </_timing>
657
+ <_notes>
658
+ <_notes_general/>
659
+ <_notes_output/>
660
+ <_attachments/>
661
+ </_notes>
662
+ </call>
663
+ </alternative>
664
+ <otherwise>
665
+ <call id="a9" endpoint="drehen">
666
+ <parameters>
667
+ <label>Radscheibe messen 321</label>
668
+ <method>:post</method>
669
+ <arguments>
670
+ <wellentyp/>
671
+ </arguments>
672
+ </parameters>
673
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
674
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
675
+ <update output="result"/>
676
+ <_timing>
677
+ <_timing_min/>
678
+ <_timing_max/>
679
+ <_timing_avg/>
680
+ </_timing>
681
+ <_notes>
682
+ <_notes_general/>
683
+ <_notes_output/>
684
+ <_attachments/>
685
+ </_notes>
686
+ </call>
687
+ </otherwise>
688
+ </choose>
689
+ <choose mode="exclusive">
690
+ <alternative condition="data.geometriedata_radsatz_neu == false">
691
+ <call id="a30" endpoint="worklist_b">
692
+ <parameters>
693
+ <label>Lesen der Barcodes der gebrauchten Scheiben</label>
694
+ <method>:post</method>
695
+ <arguments/>
696
+ </parameters>
697
+ <finalize output="result"># lesen anhand barcode
698
+ data.eigenspannunswerte = result.eigenspannungswerte
699
+ data.taetigkeiten &lt;&lt; "UT Scheibe"</finalize>
700
+ <update output="result"/>
701
+ <_notes>
702
+ <_notes_general/>
703
+ </_notes>
704
+ </call>
705
+ </alternative>
706
+ <otherwise/>
707
+ </choose>
708
+ <choose mode="exclusive">
709
+ <alternative condition="data.tauschgruppe[&quot;personenzug&quot;] || (data.tauschgruppe[&quot;gueterzug&quot;] &amp;&amp; data.tauschgruppe[&quot;bremsscheiben&quot;])">
710
+ <call id="a21" endpoint="wuchten">
711
+ <parameters>
712
+ <label>Wuchten 550</label>
713
+ <method>:post</method>
714
+ <arguments/>
715
+ </parameters>
716
+ <finalize output="result"># sicher gramm pro meter, nachgeschaut
717
+ data.wucht_gramm_pro_meter = result["wucht_gramm_pro_meter"]
718
+
719
+ if data.wucht_gramm_pro_meter != data.tauschgruppe["wucht_gramm_pro_meter"]
720
+ data.wucht_status == 'schlecht'
721
+ else
722
+ data.wucht_status == 'gut'
723
+ end</finalize>
724
+ <update output="result"/>
725
+ <_timing>
726
+ <_timing_min/>
727
+ <_timing_max/>
728
+ <_timing_avg/>
729
+ </_timing>
730
+ <_notes>
731
+ <_notes_general/>
732
+ <_notes_output/>
733
+ <_attachments/>
734
+ </_notes>
735
+ </call>
736
+ </alternative>
737
+ <otherwise/>
738
+ </choose>
739
+ </loop>
740
+ </alternative>
741
+ <otherwise/>
742
+ </choose>
743
+ <choose mode="exclusive">
744
+ <alternative condition="data.lagerlaufleistung &gt; data.tauschgruppe[&quot;lagerlaufleistung&quot;] || data.schaedigungen.include?(&quot;defekter innenring&quot;) || data.taetigkeiten.include?(&quot;Demontage Innenringe&quot;)">
745
+ <choose mode="exclusive">
746
+ <alternative condition="data.lagerbauart[&quot;innenring&quot;]">
747
+ <call id="a32" endpoint="timeout">
748
+ <parameters>
749
+ <label>Demontage Innenringe 420</label>
750
+ <method>:post</method>
751
+ <arguments>
752
+ <timeout>2</timeout>
753
+ </arguments>
754
+ </parameters>
755
+ <finalize output="result"/>
756
+ <update output="result"/>
757
+ <_timing>
758
+ <_timing_min/>
759
+ <_timing_max/>
760
+ <_timing_avg/>
761
+ </_timing>
762
+ <_notes>
763
+ <_notes_general/>
764
+ <_notes_output/>
765
+ <_attachments/>
766
+ </_notes>
767
+ </call>
768
+ </alternative>
769
+ <otherwise>
770
+ <manipulate id="a43" label="Innenringstatus OK (weils keinen gibt)">data.innenring_status = "ok"</manipulate>
771
+ </otherwise>
772
+ </choose>
773
+ <call id="a31" endpoint="buersten">
774
+ <parameters>
775
+ <label>Radsatzwelle Bürsten 490</label>
776
+ <method>:post</method>
777
+ <arguments>
778
+ <timeout>2</timeout>
779
+ </arguments>
780
+ </parameters>
781
+ <finalize output="result"># eventuell sandstrahlen
782
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]</finalize>
783
+ <update output="result"/>
784
+ <_timing>
785
+ <_timing_min/>
786
+ <_timing_max/>
787
+ <_timing_avg/>
788
+ </_timing>
789
+ <_notes>
790
+ <_notes_general/>
791
+ <_notes_output/>
792
+ <_attachments/>
793
+ </_notes>
794
+ </call>
795
+ <choose mode="exclusive">
796
+ <alternative condition="data.taetigkeiten.include? 'Sandstrahlen'">
797
+ <call id="a33" endpoint="timeout">
798
+ <parameters>
799
+ <label>Sandstrahlen 480</label>
800
+ <method>:post</method>
801
+ <arguments>
802
+ <timeout>2</timeout>
803
+ </arguments>
804
+ </parameters>
805
+ <finalize output="result"/>
806
+ <update output="result"/>
807
+ <_timing>
808
+ <_timing_min/>
809
+ <_timing_max/>
810
+ <_timing_avg/>
811
+ </_timing>
812
+ <_notes>
813
+ <_notes_general/>
814
+ <_notes_output/>
815
+ <_attachments/>
816
+ </_notes>
817
+ </call>
818
+ </alternative>
819
+ <otherwise/>
820
+ </choose>
821
+ <call id="a34" endpoint="ut">
822
+ <parameters>
823
+ <label>UT Radsatzwelle 430</label>
824
+ <method>:post</method>
825
+ <arguments/>
826
+ </parameters>
827
+ <finalize output="result">data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht</finalize>
828
+ <update output="result"/>
829
+ <_timing>
830
+ <_timing_min/>
831
+ <_timing_max/>
832
+ <_timing_avg/>
833
+ </_timing>
834
+ <_notes>
835
+ <_notes_general/>
836
+ <_notes_output/>
837
+ <_attachments/>
838
+ </_notes>
839
+ </call>
840
+ <loop mode="post_test" condition="data.innenring_status != 'ok'">
841
+ <loop mode="post_test" condition="data.radsatzwelle_status == 'schlecht'">
842
+ <call id="a38" endpoint="timeout">
843
+ <parameters>
844
+ <label>Radsatzwelle drehen HS4 595</label>
845
+ <method>:post</method>
846
+ <arguments>
847
+ <timeout>2</timeout>
848
+ </arguments>
849
+ </parameters>
850
+ <finalize output="result"/>
851
+ <update output="result"/>
852
+ <_timing>
853
+ <_timing_min/>
854
+ <_timing_max/>
855
+ <_timing_avg/>
856
+ </_timing>
857
+ <_notes>
858
+ <_notes_general/>
859
+ <_notes_output/>
860
+ <_attachments/>
861
+ </_notes>
862
+ </call>
863
+ <call id="a37" endpoint="ut">
864
+ <parameters>
865
+ <label>UT Radsatzwelle 430</label>
866
+ <method>:post</method>
867
+ <arguments/>
868
+ </parameters>
869
+ <finalize output="result">data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht</finalize>
870
+ <update output="result"/>
871
+ <_timing>
872
+ <_timing_min/>
873
+ <_timing_max/>
874
+ <_timing_avg/>
875
+ </_timing>
876
+ <_notes>
877
+ <_notes_general/>
878
+ <_notes_output/>
879
+ <_attachments/>
880
+ </_notes>
881
+ </call>
882
+ </loop>
883
+ <choose mode="exclusive">
884
+ <alternative condition="data.lagerbauart[&quot;innenring&quot;]">
885
+ <call id="a36" endpoint="innenringmontage">
886
+ <parameters>
887
+ <label>Innenringmontage 190</label>
888
+ <method>:post</method>
889
+ <arguments/>
890
+ </parameters>
891
+ <finalize output="result">data.innenring_status = result["innenring_status"] # ok, beschaedigung, untermass</finalize>
892
+ <update output="result"/>
893
+ <_timing>
894
+ <_timing_min/>
895
+ <_timing_max/>
896
+ <_timing_avg/>
897
+ </_timing>
898
+ <_notes>
899
+ <_notes_general/>
900
+ <_notes_output/>
901
+ <_attachments/>
902
+ </_notes>
903
+ </call>
904
+ </alternative>
905
+ <otherwise/>
906
+ </choose>
907
+ </loop>
908
+ <call id="a41" endpoint="timeout">
909
+ <parameters>
910
+ <label>MT Allg. Prüfung 170</label>
911
+ <method>:post</method>
912
+ <arguments>
913
+ <timeout>2</timeout>
914
+ </arguments>
915
+ </parameters>
916
+ <finalize output="result"/>
917
+ <update output="result"/>
918
+ <_timing>
919
+ <_timing_min/>
920
+ <_timing_max/>
921
+ <_timing_avg/>
922
+ </_timing>
923
+ <_notes>
924
+ <_notes_general/>
925
+ <_notes_output/>
926
+ <_attachments/>
927
+ </_notes>
928
+ </call>
929
+ <call id="a18" endpoint="ut_scheibe">
930
+ <parameters>
931
+ <label>UT Scheibe 630</label>
932
+ <method>:post</method>
933
+ <arguments/>
934
+ </parameters>
935
+ <finalize output="result">if result["ut_scheibe_status"] != 'gut'
936
+ data.taetigkeiten &lt;&lt; 'Drehen'
937
+ end</finalize>
938
+ <update output="result"/>
939
+ <_timing>
940
+ <_timing_min/>
941
+ <_timing_max/>
942
+ <_timing_avg/>
943
+ </_timing>
944
+ <_notes>
945
+ <_notes_general/>
946
+ <_notes_output/>
947
+ <_attachments/>
948
+ </_notes>
949
+ </call>
950
+ </alternative>
951
+ <otherwise/>
952
+ </choose>
953
+ <loop mode="post_test" condition="data.taetigkeiten.include? 'Drehen'">
954
+ <choose mode="exclusive">
955
+ <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]">
956
+ <call id="a39" endpoint="drehen">
957
+ <parameters>
958
+ <label>Rad und Bremsscheibe drehen 320</label>
959
+ <method>:post</method>
960
+ <arguments>
961
+ <wellentyp/>
962
+ </arguments>
963
+ </parameters>
964
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
965
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false # eventuell abpressen
966
+ if result["taetigkeiten"]
967
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
968
+ end</finalize>
969
+ <update output="result"/>
970
+ <_timing>
971
+ <_timing_min/>
972
+ <_timing_max/>
973
+ <_timing_avg/>
974
+ </_timing>
975
+ <_notes>
976
+ <_notes_general/>
977
+ <_notes_output/>
978
+ <_attachments/>
979
+ </_notes>
980
+ </call>
981
+ </alternative>
982
+ <otherwise>
983
+ <call id="a40" endpoint="drehen">
984
+ <parameters>
985
+ <label>Radscheibe drehen 321</label>
986
+ <method>:post</method>
987
+ <arguments>
988
+ <wellentyp/>
989
+ </arguments>
990
+ </parameters>
991
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
992
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
993
+ <update output="result"/>
994
+ <_timing>
995
+ <_timing_min/>
996
+ <_timing_max/>
997
+ <_timing_avg/>
998
+ </_timing>
999
+ <_notes>
1000
+ <_notes_general/>
1001
+ <_notes_output/>
1002
+ <_attachments/>
1003
+ </_notes>
1004
+ </call>
1005
+ </otherwise>
1006
+ </choose>
1007
+ <choose mode="exclusive">
1008
+ <alternative condition="data.taetigkeiten.include? 'Kerbschleifen'">
1009
+ <call id="a17" endpoint="kerb">
1010
+ <parameters>
1011
+ <label>Kerbschleifen 240</label>
1012
+ <method>:post</method>
1013
+ <arguments/>
1014
+ </parameters>
1015
+ <finalize output="result">data.taetigkeiten.delete("Kerbschleifen")
1016
+
1017
+ # eventuell abpressen
1018
+ if result["taetigkeiten"]
1019
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
1020
+ end</finalize>
1021
+ <update output="result"/>
1022
+ <_timing>
1023
+ <_timing_min/>
1024
+ <_timing_max/>
1025
+ <_timing_avg/>
1026
+ </_timing>
1027
+ <_notes>
1028
+ <_notes_general/>
1029
+ <_notes_output/>
1030
+ <_attachments/>
1031
+ </_notes>
1032
+ </call>
1033
+ </alternative>
1034
+ <otherwise/>
1035
+ </choose>
1036
+ <call id="a10" endpoint="ut">
1037
+ <parameters>
1038
+ <label>UT Scheibe 630</label>
1039
+ <method>:post</method>
1040
+ <arguments/>
1041
+ </parameters>
1042
+ <finalize output="result">data.taetigkeiten.delete("UT Scheibe")
1043
+ if result['radsatzwelle_status'] == 'gut'
1044
+ data.taetigkeiten.delete("Drehen")
1045
+ end
1046
+ # if endpoints.ut != "http://localhost/customers/oebb/services/oebb.php"
1047
+ # data.taetigkeiten = data.taetigkeiten + result['taetigkeiten']
1048
+ # end
1049
+ # endpoints.ut = "http://localhost/customers/oebb/services/oebb.php"</finalize>
1050
+ <update output="result"/>
1051
+ <_timing>
1052
+ <_timing_min/>
1053
+ <_timing_max/>
1054
+ <_timing_avg/>
1055
+ </_timing>
1056
+ <_notes>
1057
+ <_notes_general/>
1058
+ <_notes_output/>
1059
+ <_attachments/>
1060
+ </_notes>
1061
+ </call>
1062
+ </loop>
1063
+ </parallel_branch>
1064
+ <parallel_branch pass="" local="">
1065
+ <call id="a7" endpoint="lageraufbereitung">
1066
+ <parameters>
1067
+ <label>Lageraufbereitung 680</label>
1068
+ <method>:post</method>
1069
+ <arguments>
1070
+ <timeout>2</timeout>
1071
+ </arguments>
1072
+ </parameters>
1073
+ <finalize output="result"/>
1074
+ <update output="result"/>
1075
+ <_timing>
1076
+ <_timing_min/>
1077
+ <_timing_max/>
1078
+ <_timing_avg/>
1079
+ </_timing>
1080
+ <_notes>
1081
+ <_notes_general/>
1082
+ <_notes_output/>
1083
+ <_attachments/>
1084
+ </_notes>
1085
+ </call>
1086
+ </parallel_branch>
1087
+ </parallel>
1088
+ <call id="a11" endpoint="fix">
1089
+ <parameters>
1090
+ <label>Lagermontage 640</label>
1091
+ <method>:post</method>
1092
+ <arguments>
1093
+ <lagerbauart/>
1094
+ </arguments>
1095
+ </parameters>
1096
+ <finalize output="result">data.taetigkeiten.delete("Montage Deckel")</finalize>
1097
+ <update output="result"/>
1098
+ <_notes>
1099
+ <_notes_general/>
1100
+ </_notes>
1101
+ </call>
1102
+ <call id="a12" endpoint="fix">
1103
+ <parameters>
1104
+ <label>Austrittskontrolle 650</label>
1105
+ <method>:post</method>
1106
+ <arguments/>
1107
+ </parameters>
1108
+ <finalize output="result"/>
1109
+ <update output="result"/>
1110
+ <_timing>
1111
+ <_timing_min/>
1112
+ <_timing_max/>
1113
+ <_timing_avg/>
1114
+ </_timing>
1115
+ <_notes>
1116
+ <_notes_general/>
1117
+ <_notes_output/>
1118
+ <_attachments/>
1119
+ </_notes>
1120
+ </call>
1121
+ <call id="a13" endpoint="fix">
1122
+ <parameters>
1123
+ <label>Lackierung 675</label>
1124
+ <method>:post</method>
1125
+ <arguments>
1126
+ <strategie/>
1127
+ </arguments>
1128
+ </parameters>
1129
+ <finalize output="result"/>
1130
+ <update output="result"/>
1131
+ <_timing>
1132
+ <_timing_min/>
1133
+ <_timing_max/>
1134
+ <_timing_avg/>
1135
+ </_timing>
1136
+ <_notes>
1137
+ <_notes_general/>
1138
+ <_notes_output/>
1139
+ <_attachments/>
1140
+ </_notes>
1141
+ </call>
1142
+ <call id="a14" endpoint="fix">
1143
+ <parameters>
1144
+ <label>Versandfertig 690</label>
1145
+ <method>:post</method>
1146
+ <arguments>
1147
+ <technische_weisungen/>
1148
+ <regelwerk/>
1149
+ </arguments>
1150
+ </parameters>
1151
+ <finalize output="result"/>
1152
+ <update output="result"/>
1153
+ <_timing>
1154
+ <_timing_min/>
1155
+ <_timing_max/>
1156
+ <_timing_avg/>
1157
+ </_timing>
1158
+ <_notes>
1159
+ <_notes_general/>
1160
+ <_notes_output/>
1161
+ <_attachments/>
1162
+ </_notes>
1163
+ </call>
1164
+ <call id="a15" endpoint="fix">
1165
+ <parameters>
1166
+ <label>Qualitaetsfreigabe 710</label>
1167
+ <method>:post</method>
1168
+ <arguments>
1169
+ <regelwerk/>
1170
+ <technische_weisungen/>
1171
+ </arguments>
1172
+ </parameters>
1173
+ <finalize output="result"/>
1174
+ <update output="result"/>
1175
+ <_timing>
1176
+ <_timing_min/>
1177
+ <_timing_max/>
1178
+ <_timing_avg/>
1179
+ </_timing>
1180
+ <_notes>
1181
+ <_notes_general/>
1182
+ <_notes_output/>
1183
+ <_attachments/>
1184
+ </_notes>
1185
+ </call>
1186
+ <choose mode="exclusive">
1187
+ <alternative condition="data.taetigkeiten.include? &quot;Anbauteile montieren&quot;">
1188
+ <call id="a35" endpoint="">
1189
+ <parameters>
1190
+ <label>Anbauteilmontage 670</label>
1191
+ <method>:post</method>
1192
+ <arguments/>
1193
+ </parameters>
1194
+ <finalize output="result"/>
1195
+ <update output="result"/>
1196
+ <_notes>
1197
+ <_notes_general/>
1198
+ </_notes>
1199
+ </call>
1200
+ </alternative>
1201
+ <otherwise/>
1202
+ </choose>
1203
+ </description>
1204
+ </dslx>
1205
+ <status>
1206
+ <id>0</id>
1207
+ <message>undefined</message>
1208
+ </status>
1209
+ <description>
1210
+ <description xmlns="http://cpee.org/ns/description/1.0">
1211
+ <call id="a1" endpoint="init">
1212
+ <parameters>
1213
+ <label>Identifikation 110</label>
1214
+ <method>:post</method>
1215
+ <arguments>
1216
+ <radsatznummer/>
1217
+ <wellentyp/>
1218
+ <lagerbauart/>
1219
+ <tauschgruppe/>
1220
+ <eigentuemer/>
1221
+ <regelwerk/>
1222
+ <auftragsnummer/>
1223
+ <mindeststragie/>
1224
+ <technische_weisungen/>
1225
+ <schadcodes/>
1226
+ <lagerlaufleistung>in jahre</lagerlaufleistung>
1227
+ <lagerlaufleistung>stempel am lager in zukunft aus sam</lagerlaufleistung>
1228
+ </arguments>
1229
+ </parameters>
1230
+ <finalize output="result"># Liste der Schadcodes
1231
+ data.schaedigungen = result['schaedigungen']
1232
+
1233
+ # Manganschweissen, Gelber Anstrich, technische_weisungen
1234
+ data.taetigkeiten = result['taetigkeiten']
1235
+
1236
+ data.lagerlaufleistung = result["lagerlaufleistung"].to_f
1237
+ data.tauschgruppe = result["tauschgruppe"]
1238
+ data.lagerbauart = result["lagerbauart"]</finalize>
1239
+ <update output="result"/>
1240
+ <_timing>
1241
+ <_timing_min/>
1242
+ <_timing_max/>
1243
+ <_timing_avg/>
1244
+ </_timing>
1245
+ <_notes>
1246
+ <_notes_general/>
1247
+ <_notes_output/>
1248
+ <_attachments/>
1249
+ </_notes>
1250
+ </call>
1251
+ <choose mode="exclusive">
1252
+ <alternative condition="data.lagerbauart[&quot;deckel_mit_loch&quot;] == false">
1253
+ <call id="a2" endpoint="fix">
1254
+ <parameters>
1255
+ <label>Lagerdeckeldemontage 130</label>
1256
+ <method>:post</method>
1257
+ <arguments>
1258
+ <deckel>true</deckel>
1259
+ <lager>false</lager>
1260
+ <anbauteile>true</anbauteile>
1261
+ </arguments>
1262
+ </parameters>
1263
+ <finalize output="result">data.taetigkeiten &lt;&lt; "Montage Deckel"</finalize>
1264
+ <update output="result"/>
1265
+ <_timing>
1266
+ <_timing_min/>
1267
+ <_timing_max/>
1268
+ <_timing_avg/>
1269
+ </_timing>
1270
+ <_notes>
1271
+ <_notes_general/>
1272
+ <_notes_output/>
1273
+ <_attachments/>
1274
+ </_notes>
1275
+ </call>
1276
+ </alternative>
1277
+ <otherwise>
1278
+ <call id="a16" endpoint="">
1279
+ <parameters>
1280
+ <label>Lagerdemontage 130</label>
1281
+ <method>:post</method>
1282
+ <arguments>
1283
+ <deckel>true</deckel>
1284
+ <lager>true</lager>
1285
+ <anbauteile>true</anbauteile>
1286
+ <details/>
1287
+ </arguments>
1288
+ </parameters>
1289
+ <finalize output="result"># ab IS1+IL aufwaerts
1290
+ # data.details ist alles unten
1291
+
1292
+ data.wellenhersteller
1293
+ data.wellenmaterial
1294
+ data.schmelze
1295
+ data.charge
1296
+ data.wellenherstelldatum
1297
+ data.erstfueger
1298
+ data.erstfuegerdatum
1299
+ data.wellennummer
1300
+ data.lagerherstelldatum
1301
+ data.lagerlaufleistung
1302
+ data.lhm_korbnummer_rechts
1303
+ data.lhm_korbnummer_links
1304
+
1305
+ # gibt der mitarbeiter ein, wird verglichen</finalize>
1306
+ <update output="result"/>
1307
+ </call>
1308
+ <choose mode="exclusive">
1309
+ <alternative condition="data.radsatznummer != data.wellennummer">
1310
+ <call id="a4" endpoint="">
1311
+ <parameters>
1312
+ <label>Datenkonsistenz herstellen, eventuelle Barcode ausdrucken</label>
1313
+ <method>:post</method>
1314
+ <arguments/>
1315
+ </parameters>
1316
+ <finalize output="result"/>
1317
+ <update output="result"/>
1318
+ </call>
1319
+ </alternative>
1320
+ <otherwise/>
1321
+ </choose>
1322
+ <choose mode="exclusive">
1323
+ <alternative condition="data.lagertyp == &quot;kartuschenlager&quot; &amp;&amp; data.lagerherstelldatum &lt; data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &lt; data.lagertyp.maximallaufleistung">
1324
+ <call id="a6" endpoint="">
1325
+ <parameters>
1326
+ <label>Externe Lageraufbereitung</label>
1327
+ <method>:post</method>
1328
+ <arguments/>
1329
+ </parameters>
1330
+ </call>
1331
+ </alternative>
1332
+ <alternative condition="data.lagertyp == &quot;kartuschenlager&quot; &amp;&amp; data.lagerherstelldatum &gt;= data.lagertyp.maximaldatum &amp;&amp; data.lagerlaufleistung &gt; data.lagertyp.maximallaufleistung">
1333
+ <call id="a5" endpoint="">
1334
+ <parameters>
1335
+ <label>Lager Verschrotten</label>
1336
+ <method>:post</method>
1337
+ <arguments/>
1338
+ </parameters>
1339
+ </call>
1340
+ </alternative>
1341
+ <otherwise>
1342
+ <manipulate id="a42">data.taetigkeiten &lt;&lt; 'Lageraufbereitung'</manipulate>
1343
+ </otherwise>
1344
+ </choose>
1345
+ </otherwise>
1346
+ </choose>
1347
+ <parallel wait="-1">
1348
+ <parallel_branch pass="" local="">
1349
+ <loop mode="post_test" condition="data.taetigkeiten.include? 'Eigenspannungspruefung'">
1350
+ <call id="a3" endpoint="eigen">
1351
+ <parameters>
1352
+ <label>Eigenspannungspruefung 140</label>
1353
+ <method>:post</method>
1354
+ <arguments>
1355
+ <werkstoff/>
1356
+ <bauform_scheibe/>
1357
+ <pruefprogramm/>
1358
+ </arguments>
1359
+ </parameters>
1360
+ <finalize output="result">data.eigenspannungswerte
1361
+ # Radsatz regenerieren falls die Station das meldet
1362
+ data.taetigkeiten &lt;&lt; "Radsatz regenerieren"
1363
+ data.taetigkeiten.delete("Eigenspannungspruefung")</finalize>
1364
+ <update output="result"/>
1365
+ <_notes>
1366
+ <_notes_general/>
1367
+ </_notes>
1368
+ </call>
1369
+ <choose mode="exclusive">
1370
+ <alternative condition="data.taetigkeiten.include? 'Radsatz regenerieren'">
1371
+ <call id="a20" endpoint="timeout">
1372
+ <parameters>
1373
+ <label>Radsatz regenerieren</label>
1374
+ <method>:post</method>
1375
+ <arguments>
1376
+ <timeout>2</timeout>
1377
+ </arguments>
1378
+ </parameters>
1379
+ <finalize output="result">data.taetigkeiten.delete("Radsatz regenerieren")</finalize>
1380
+ <update output="result"/>
1381
+ <_timing>
1382
+ <_timing_min/>
1383
+ <_timing_max/>
1384
+ <_timing_avg/>
1385
+ </_timing>
1386
+ <_notes>
1387
+ <_notes_general/>
1388
+ <_notes_output/>
1389
+ <_attachments/>
1390
+ </_notes>
1391
+ </call>
1392
+ </alternative>
1393
+ <otherwise/>
1394
+ </choose>
1395
+ </loop>
1396
+ <choose mode="exclusive">
1397
+ <alternative condition="data.taetigkeiten.include? 'Abpressen'">
1398
+ <manipulate id="a19"/>
1399
+ <loop mode="post_test" condition="data.wuchten_status == 'schlecht'">
1400
+ <loop mode="post_test" condition="data.wellenstatus == &quot;beschaedigt&quot;">
1401
+ <call id="a22" endpoint="abpressen">
1402
+ <parameters>
1403
+ <label>Radscheibe abpressen 510/511</label>
1404
+ <method>:post</method>
1405
+ <arguments/>
1406
+ </parameters>
1407
+ <finalize output="result">if result['status'] == "lagersitz kaputt"
1408
+ # z.b. weil lagersitz im arsch
1409
+ data.taetigkeiten.clear
1410
+ end
1411
+
1412
+ data.taetigkeiten &lt;&lt; "Radsatzwelle drehen"</finalize>
1413
+ <update output="result"/>
1414
+ <_timing>
1415
+ <_timing_min/>
1416
+ <_timing_max/>
1417
+ <_timing_avg/>
1418
+ </_timing>
1419
+ <_notes>
1420
+ <_notes_general/>
1421
+ <_notes_output/>
1422
+ <_attachments/>
1423
+ </_notes>
1424
+ </call>
1425
+ <call id="a23" endpoint="timeout">
1426
+ <parameters>
1427
+ <label>Radsatzwelle drehen 520/521</label>
1428
+ <method>:post</method>
1429
+ <arguments>
1430
+ <timeout>2</timeout>
1431
+ </arguments>
1432
+ </parameters>
1433
+ <finalize output="result"/>
1434
+ <update output="result"/>
1435
+ <_timing>
1436
+ <_timing_min/>
1437
+ <_timing_max/>
1438
+ <_timing_avg/>
1439
+ </_timing>
1440
+ <_notes>
1441
+ <_notes_general/>
1442
+ <_notes_output/>
1443
+ <_attachments/>
1444
+ </_notes>
1445
+ </call>
1446
+ <call id="a24" endpoint="timeout">
1447
+ <parameters>
1448
+ <label>MT Welle unbescheibt prüfen 535</label>
1449
+ <method>:post</method>
1450
+ <arguments>
1451
+ <timeout>2</timeout>
1452
+ </arguments>
1453
+ </parameters>
1454
+ <finalize output="result"/>
1455
+ <update output="result"/>
1456
+ <_timing>
1457
+ <_timing_min/>
1458
+ <_timing_max/>
1459
+ <_timing_avg/>
1460
+ </_timing>
1461
+ <_notes>
1462
+ <_notes_general>Wenn status schlecht, zum drehen
1463
+ Wenn mindestdruchmesser erreicht, schrott</_notes_general>
1464
+ <_notes_output/>
1465
+ <_attachments/>
1466
+ </_notes>
1467
+ </call>
1468
+ <call id="a25" endpoint="timeout">
1469
+ <parameters>
1470
+ <label>Senkrechtbohrwerk 530/531</label>
1471
+ <method>:post</method>
1472
+ <arguments>
1473
+ <timeout>2</timeout>
1474
+ </arguments>
1475
+ </parameters>
1476
+ <finalize output="result"/>
1477
+ <update output="result"># ich hab radscheibe demontiert, alle
1478
+ # die fuer die wellentype zulässig sind
1479
+ # dürfen wieder rauf
1480
+ # (verbrauchsmaterial liste)
1481
+ # wellentype -&gt; zulässige materialnummer
1482
+ # materialnummern können bremsscheibe, radscheibe oder
1483
+ # radbremsscheibe sein. Mehrere zulässige.</update>
1484
+ <_timing>
1485
+ <_timing_min/>
1486
+ <_timing_max/>
1487
+ <_timing_avg/>
1488
+ </_timing>
1489
+ <_notes>
1490
+ <_notes_general/>
1491
+ <_notes_output/>
1492
+ <_attachments/>
1493
+ </_notes>
1494
+ </call>
1495
+ <call id="a26" endpoint="aufpressen">
1496
+ <parameters>
1497
+ <label>Radscheibe aufpressen 516/510</label>
1498
+ <method>:post</method>
1499
+ <arguments/>
1500
+ </parameters>
1501
+ <finalize output="result">data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
1502
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"</finalize>
1503
+ <update output="result"/>
1504
+ <_timing>
1505
+ <_timing_min/>
1506
+ <_timing_max/>
1507
+ <_timing_avg/>
1508
+ </_timing>
1509
+ <_notes>
1510
+ <_notes_general/>
1511
+ <_notes_output/>
1512
+ <_attachments/>
1513
+ </_notes>
1514
+ </call>
1515
+ <loop mode="pre_test" condition="data.presskraftdiagramm == &quot;schlecht&quot; &amp;&amp; data.wellenstatus != &quot;beschaedigt&quot;">
1516
+ <call id="a27" endpoint="abpressen">
1517
+ <parameters>
1518
+ <label>Radscheibe abpressen 510/511</label>
1519
+ <method>:post</method>
1520
+ <arguments/>
1521
+ </parameters>
1522
+ <finalize output="result"/>
1523
+ <update output="result"/>
1524
+ <_timing>
1525
+ <_timing_min/>
1526
+ <_timing_max/>
1527
+ <_timing_avg/>
1528
+ </_timing>
1529
+ <_notes>
1530
+ <_notes_general/>
1531
+ <_notes_output/>
1532
+ <_attachments/>
1533
+ </_notes>
1534
+ </call>
1535
+ <call id="a28" endpoint="aufpressen_gut">
1536
+ <parameters>
1537
+ <label>Radscheibe aufpressen 516/510</label>
1538
+ <method>:post</method>
1539
+ <arguments/>
1540
+ </parameters>
1541
+ <finalize output="result">data.presskraftdiagramm = result["presskraftdiagramm"] # "gut" oder "schlecht"
1542
+ data.wellenstatus = result["wellenstatus"] # "gut" oder "beschaedigt"</finalize>
1543
+ <update output="result"/>
1544
+ <_timing>
1545
+ <_timing_min/>
1546
+ <_timing_max/>
1547
+ <_timing_avg/>
1548
+ </_timing>
1549
+ <_notes>
1550
+ <_notes_general/>
1551
+ <_notes_output/>
1552
+ <_attachments/>
1553
+ </_notes>
1554
+ </call>
1555
+ </loop>
1556
+ <manipulate id="a29">data.taetigkeiten.delete("Abpressen")</manipulate>
1557
+ </loop>
1558
+ <choose mode="exclusive">
1559
+ <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]">
1560
+ <call id="a8" endpoint="drehen">
1561
+ <parameters>
1562
+ <label>Rad und Bremsscheibe messen 320</label>
1563
+ <method>:post</method>
1564
+ <arguments>
1565
+ <wellentyp/>
1566
+ </arguments>
1567
+ </parameters>
1568
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
1569
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
1570
+ <update output="result"/>
1571
+ <_timing>
1572
+ <_timing_min/>
1573
+ <_timing_max/>
1574
+ <_timing_avg/>
1575
+ </_timing>
1576
+ <_notes>
1577
+ <_notes_general/>
1578
+ <_notes_output/>
1579
+ <_attachments/>
1580
+ </_notes>
1581
+ </call>
1582
+ </alternative>
1583
+ <otherwise>
1584
+ <call id="a9" endpoint="drehen">
1585
+ <parameters>
1586
+ <label>Radscheibe messen 321</label>
1587
+ <method>:post</method>
1588
+ <arguments>
1589
+ <wellentyp/>
1590
+ </arguments>
1591
+ </parameters>
1592
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
1593
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
1594
+ <update output="result"/>
1595
+ <_timing>
1596
+ <_timing_min/>
1597
+ <_timing_max/>
1598
+ <_timing_avg/>
1599
+ </_timing>
1600
+ <_notes>
1601
+ <_notes_general/>
1602
+ <_notes_output/>
1603
+ <_attachments/>
1604
+ </_notes>
1605
+ </call>
1606
+ </otherwise>
1607
+ </choose>
1608
+ <choose mode="exclusive">
1609
+ <alternative condition="data.geometriedata_radsatz_neu == false">
1610
+ <call id="a30" endpoint="worklist_b">
1611
+ <parameters>
1612
+ <label>Lesen der Barcodes der gebrauchten Scheiben</label>
1613
+ <method>:post</method>
1614
+ <arguments/>
1615
+ </parameters>
1616
+ <finalize output="result"># lesen anhand barcode
1617
+ data.eigenspannunswerte = result.eigenspannungswerte
1618
+ data.taetigkeiten &lt;&lt; "UT Scheibe"</finalize>
1619
+ <update output="result"/>
1620
+ <_notes>
1621
+ <_notes_general/>
1622
+ </_notes>
1623
+ </call>
1624
+ </alternative>
1625
+ <otherwise/>
1626
+ </choose>
1627
+ <choose mode="exclusive">
1628
+ <alternative condition="data.tauschgruppe[&quot;personenzug&quot;] || (data.tauschgruppe[&quot;gueterzug&quot;] &amp;&amp; data.tauschgruppe[&quot;bremsscheiben&quot;])">
1629
+ <call id="a21" endpoint="wuchten">
1630
+ <parameters>
1631
+ <label>Wuchten 550</label>
1632
+ <method>:post</method>
1633
+ <arguments/>
1634
+ </parameters>
1635
+ <finalize output="result"># sicher gramm pro meter, nachgeschaut
1636
+ data.wucht_gramm_pro_meter = result["wucht_gramm_pro_meter"]
1637
+
1638
+ if data.wucht_gramm_pro_meter != data.tauschgruppe["wucht_gramm_pro_meter"]
1639
+ data.wucht_status == 'schlecht'
1640
+ else
1641
+ data.wucht_status == 'gut'
1642
+ end</finalize>
1643
+ <update output="result"/>
1644
+ <_timing>
1645
+ <_timing_min/>
1646
+ <_timing_max/>
1647
+ <_timing_avg/>
1648
+ </_timing>
1649
+ <_notes>
1650
+ <_notes_general/>
1651
+ <_notes_output/>
1652
+ <_attachments/>
1653
+ </_notes>
1654
+ </call>
1655
+ </alternative>
1656
+ <otherwise/>
1657
+ </choose>
1658
+ </loop>
1659
+ </alternative>
1660
+ <otherwise/>
1661
+ </choose>
1662
+ <choose mode="exclusive">
1663
+ <alternative condition="data.lagerlaufleistung &gt; data.tauschgruppe[&quot;lagerlaufleistung&quot;] || data.schaedigungen.include?(&quot;defekter innenring&quot;) || data.taetigkeiten.include?(&quot;Demontage Innenringe&quot;)">
1664
+ <choose mode="exclusive">
1665
+ <alternative condition="data.lagerbauart[&quot;innenring&quot;]">
1666
+ <call id="a32" endpoint="timeout">
1667
+ <parameters>
1668
+ <label>Demontage Innenringe 420</label>
1669
+ <method>:post</method>
1670
+ <arguments>
1671
+ <timeout>2</timeout>
1672
+ </arguments>
1673
+ </parameters>
1674
+ <finalize output="result"/>
1675
+ <update output="result"/>
1676
+ <_timing>
1677
+ <_timing_min/>
1678
+ <_timing_max/>
1679
+ <_timing_avg/>
1680
+ </_timing>
1681
+ <_notes>
1682
+ <_notes_general/>
1683
+ <_notes_output/>
1684
+ <_attachments/>
1685
+ </_notes>
1686
+ </call>
1687
+ </alternative>
1688
+ <otherwise>
1689
+ <manipulate id="a43" label="Innenringstatus OK (weils keinen gibt)">data.innenring_status = "ok"</manipulate>
1690
+ </otherwise>
1691
+ </choose>
1692
+ <call id="a31" endpoint="buersten">
1693
+ <parameters>
1694
+ <label>Radsatzwelle Bürsten 490</label>
1695
+ <method>:post</method>
1696
+ <arguments>
1697
+ <timeout>2</timeout>
1698
+ </arguments>
1699
+ </parameters>
1700
+ <finalize output="result"># eventuell sandstrahlen
1701
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]</finalize>
1702
+ <update output="result"/>
1703
+ <_timing>
1704
+ <_timing_min/>
1705
+ <_timing_max/>
1706
+ <_timing_avg/>
1707
+ </_timing>
1708
+ <_notes>
1709
+ <_notes_general/>
1710
+ <_notes_output/>
1711
+ <_attachments/>
1712
+ </_notes>
1713
+ </call>
1714
+ <choose mode="exclusive">
1715
+ <alternative condition="data.taetigkeiten.include? 'Sandstrahlen'">
1716
+ <call id="a33" endpoint="timeout">
1717
+ <parameters>
1718
+ <label>Sandstrahlen 480</label>
1719
+ <method>:post</method>
1720
+ <arguments>
1721
+ <timeout>2</timeout>
1722
+ </arguments>
1723
+ </parameters>
1724
+ <finalize output="result"/>
1725
+ <update output="result"/>
1726
+ <_timing>
1727
+ <_timing_min/>
1728
+ <_timing_max/>
1729
+ <_timing_avg/>
1730
+ </_timing>
1731
+ <_notes>
1732
+ <_notes_general/>
1733
+ <_notes_output/>
1734
+ <_attachments/>
1735
+ </_notes>
1736
+ </call>
1737
+ </alternative>
1738
+ <otherwise/>
1739
+ </choose>
1740
+ <call id="a34" endpoint="ut">
1741
+ <parameters>
1742
+ <label>UT Radsatzwelle 430</label>
1743
+ <method>:post</method>
1744
+ <arguments/>
1745
+ </parameters>
1746
+ <finalize output="result">data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht</finalize>
1747
+ <update output="result"/>
1748
+ <_timing>
1749
+ <_timing_min/>
1750
+ <_timing_max/>
1751
+ <_timing_avg/>
1752
+ </_timing>
1753
+ <_notes>
1754
+ <_notes_general/>
1755
+ <_notes_output/>
1756
+ <_attachments/>
1757
+ </_notes>
1758
+ </call>
1759
+ <loop mode="post_test" condition="data.innenring_status != 'ok'">
1760
+ <loop mode="post_test" condition="data.radsatzwelle_status == 'schlecht'">
1761
+ <call id="a38" endpoint="timeout">
1762
+ <parameters>
1763
+ <label>Radsatzwelle drehen HS4 595</label>
1764
+ <method>:post</method>
1765
+ <arguments>
1766
+ <timeout>2</timeout>
1767
+ </arguments>
1768
+ </parameters>
1769
+ <finalize output="result"/>
1770
+ <update output="result"/>
1771
+ <_timing>
1772
+ <_timing_min/>
1773
+ <_timing_max/>
1774
+ <_timing_avg/>
1775
+ </_timing>
1776
+ <_notes>
1777
+ <_notes_general/>
1778
+ <_notes_output/>
1779
+ <_attachments/>
1780
+ </_notes>
1781
+ </call>
1782
+ <call id="a37" endpoint="ut">
1783
+ <parameters>
1784
+ <label>UT Radsatzwelle 430</label>
1785
+ <method>:post</method>
1786
+ <arguments/>
1787
+ </parameters>
1788
+ <finalize output="result">data.radsatzwelle_status = result["radsatzwelle_status"] # gut / schlecht</finalize>
1789
+ <update output="result"/>
1790
+ <_timing>
1791
+ <_timing_min/>
1792
+ <_timing_max/>
1793
+ <_timing_avg/>
1794
+ </_timing>
1795
+ <_notes>
1796
+ <_notes_general/>
1797
+ <_notes_output/>
1798
+ <_attachments/>
1799
+ </_notes>
1800
+ </call>
1801
+ </loop>
1802
+ <choose mode="exclusive">
1803
+ <alternative condition="data.lagerbauart[&quot;innenring&quot;]">
1804
+ <call id="a36" endpoint="innenringmontage">
1805
+ <parameters>
1806
+ <label>Innenringmontage 190</label>
1807
+ <method>:post</method>
1808
+ <arguments/>
1809
+ </parameters>
1810
+ <finalize output="result">data.innenring_status = result["innenring_status"] # ok, beschaedigung, untermass</finalize>
1811
+ <update output="result"/>
1812
+ <_timing>
1813
+ <_timing_min/>
1814
+ <_timing_max/>
1815
+ <_timing_avg/>
1816
+ </_timing>
1817
+ <_notes>
1818
+ <_notes_general/>
1819
+ <_notes_output/>
1820
+ <_attachments/>
1821
+ </_notes>
1822
+ </call>
1823
+ </alternative>
1824
+ <otherwise/>
1825
+ </choose>
1826
+ </loop>
1827
+ <call id="a41" endpoint="timeout">
1828
+ <parameters>
1829
+ <label>MT Allg. Prüfung 170</label>
1830
+ <method>:post</method>
1831
+ <arguments>
1832
+ <timeout>2</timeout>
1833
+ </arguments>
1834
+ </parameters>
1835
+ <finalize output="result"/>
1836
+ <update output="result"/>
1837
+ <_timing>
1838
+ <_timing_min/>
1839
+ <_timing_max/>
1840
+ <_timing_avg/>
1841
+ </_timing>
1842
+ <_notes>
1843
+ <_notes_general/>
1844
+ <_notes_output/>
1845
+ <_attachments/>
1846
+ </_notes>
1847
+ </call>
1848
+ <call id="a18" endpoint="ut_scheibe">
1849
+ <parameters>
1850
+ <label>UT Scheibe 630</label>
1851
+ <method>:post</method>
1852
+ <arguments/>
1853
+ </parameters>
1854
+ <finalize output="result">if result["ut_scheibe_status"] != 'gut'
1855
+ data.taetigkeiten &lt;&lt; 'Drehen'
1856
+ end</finalize>
1857
+ <update output="result"/>
1858
+ <_timing>
1859
+ <_timing_min/>
1860
+ <_timing_max/>
1861
+ <_timing_avg/>
1862
+ </_timing>
1863
+ <_notes>
1864
+ <_notes_general/>
1865
+ <_notes_output/>
1866
+ <_attachments/>
1867
+ </_notes>
1868
+ </call>
1869
+ </alternative>
1870
+ <otherwise/>
1871
+ </choose>
1872
+ <loop mode="post_test" condition="data.taetigkeiten.include? 'Drehen'">
1873
+ <choose mode="exclusive">
1874
+ <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]">
1875
+ <call id="a39" endpoint="drehen">
1876
+ <parameters>
1877
+ <label>Rad und Bremsscheibe drehen 320</label>
1878
+ <method>:post</method>
1879
+ <arguments>
1880
+ <wellentyp/>
1881
+ </arguments>
1882
+ </parameters>
1883
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
1884
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false # eventuell abpressen
1885
+ if result["taetigkeiten"]
1886
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
1887
+ end</finalize>
1888
+ <update output="result"/>
1889
+ <_timing>
1890
+ <_timing_min/>
1891
+ <_timing_max/>
1892
+ <_timing_avg/>
1893
+ </_timing>
1894
+ <_notes>
1895
+ <_notes_general/>
1896
+ <_notes_output/>
1897
+ <_attachments/>
1898
+ </_notes>
1899
+ </call>
1900
+ </alternative>
1901
+ <otherwise>
1902
+ <call id="a40" endpoint="drehen">
1903
+ <parameters>
1904
+ <label>Radscheibe drehen 321</label>
1905
+ <method>:post</method>
1906
+ <arguments>
1907
+ <wellentyp/>
1908
+ </arguments>
1909
+ </parameters>
1910
+ <finalize output="result">data.geometriedaten_radsatz = result['geometriedaten']
1911
+ data.geometriedaten_radsatz_neu = result['geometriedaten_neu'] # true/false</finalize>
1912
+ <update output="result"/>
1913
+ <_timing>
1914
+ <_timing_min/>
1915
+ <_timing_max/>
1916
+ <_timing_avg/>
1917
+ </_timing>
1918
+ <_notes>
1919
+ <_notes_general/>
1920
+ <_notes_output/>
1921
+ <_attachments/>
1922
+ </_notes>
1923
+ </call>
1924
+ </otherwise>
1925
+ </choose>
1926
+ <choose mode="exclusive">
1927
+ <alternative condition="data.taetigkeiten.include? 'Kerbschleifen'">
1928
+ <call id="a17" endpoint="kerb">
1929
+ <parameters>
1930
+ <label>Kerbschleifen 240</label>
1931
+ <method>:post</method>
1932
+ <arguments/>
1933
+ </parameters>
1934
+ <finalize output="result">data.taetigkeiten.delete("Kerbschleifen")
1935
+
1936
+ # eventuell abpressen
1937
+ if result["taetigkeiten"]
1938
+ data.taetigkeiten &lt;&lt; result["taetigkeiten"]
1939
+ end</finalize>
1940
+ <update output="result"/>
1941
+ <_timing>
1942
+ <_timing_min/>
1943
+ <_timing_max/>
1944
+ <_timing_avg/>
1945
+ </_timing>
1946
+ <_notes>
1947
+ <_notes_general/>
1948
+ <_notes_output/>
1949
+ <_attachments/>
1950
+ </_notes>
1951
+ </call>
1952
+ </alternative>
1953
+ <otherwise/>
1954
+ </choose>
1955
+ <call id="a10" endpoint="ut">
1956
+ <parameters>
1957
+ <label>UT Scheibe 630</label>
1958
+ <method>:post</method>
1959
+ <arguments/>
1960
+ </parameters>
1961
+ <finalize output="result">data.taetigkeiten.delete("UT Scheibe")
1962
+ if result['radsatzwelle_status'] == 'gut'
1963
+ data.taetigkeiten.delete("Drehen")
1964
+ end
1965
+ # if endpoints.ut != "http://localhost/customers/oebb/services/oebb.php"
1966
+ # data.taetigkeiten = data.taetigkeiten + result['taetigkeiten']
1967
+ # end
1968
+ # endpoints.ut = "http://localhost/customers/oebb/services/oebb.php"</finalize>
1969
+ <update output="result"/>
1970
+ <_timing>
1971
+ <_timing_min/>
1972
+ <_timing_max/>
1973
+ <_timing_avg/>
1974
+ </_timing>
1975
+ <_notes>
1976
+ <_notes_general/>
1977
+ <_notes_output/>
1978
+ <_attachments/>
1979
+ </_notes>
1980
+ </call>
1981
+ </loop>
1982
+ </parallel_branch>
1983
+ <parallel_branch pass="" local="">
1984
+ <call id="a7" endpoint="lageraufbereitung">
1985
+ <parameters>
1986
+ <label>Lageraufbereitung 680</label>
1987
+ <method>:post</method>
1988
+ <arguments>
1989
+ <timeout>2</timeout>
1990
+ </arguments>
1991
+ </parameters>
1992
+ <finalize output="result"/>
1993
+ <update output="result"/>
1994
+ <_timing>
1995
+ <_timing_min/>
1996
+ <_timing_max/>
1997
+ <_timing_avg/>
1998
+ </_timing>
1999
+ <_notes>
2000
+ <_notes_general/>
2001
+ <_notes_output/>
2002
+ <_attachments/>
2003
+ </_notes>
2004
+ </call>
2005
+ </parallel_branch>
2006
+ </parallel>
2007
+ <call id="a11" endpoint="fix">
2008
+ <parameters>
2009
+ <label>Lagermontage 640</label>
2010
+ <method>:post</method>
2011
+ <arguments>
2012
+ <lagerbauart/>
2013
+ </arguments>
2014
+ </parameters>
2015
+ <finalize output="result">data.taetigkeiten.delete("Montage Deckel")</finalize>
2016
+ <update output="result"/>
2017
+ <_notes>
2018
+ <_notes_general/>
2019
+ </_notes>
2020
+ </call>
2021
+ <call id="a12" endpoint="fix">
2022
+ <parameters>
2023
+ <label>Austrittskontrolle 650</label>
2024
+ <method>:post</method>
2025
+ <arguments/>
2026
+ </parameters>
2027
+ <finalize output="result"/>
2028
+ <update output="result"/>
2029
+ <_timing>
2030
+ <_timing_min/>
2031
+ <_timing_max/>
2032
+ <_timing_avg/>
2033
+ </_timing>
2034
+ <_notes>
2035
+ <_notes_general/>
2036
+ <_notes_output/>
2037
+ <_attachments/>
2038
+ </_notes>
2039
+ </call>
2040
+ <call id="a13" endpoint="fix">
2041
+ <parameters>
2042
+ <label>Lackierung 675</label>
2043
+ <method>:post</method>
2044
+ <arguments>
2045
+ <strategie/>
2046
+ </arguments>
2047
+ </parameters>
2048
+ <finalize output="result"/>
2049
+ <update output="result"/>
2050
+ <_timing>
2051
+ <_timing_min/>
2052
+ <_timing_max/>
2053
+ <_timing_avg/>
2054
+ </_timing>
2055
+ <_notes>
2056
+ <_notes_general/>
2057
+ <_notes_output/>
2058
+ <_attachments/>
2059
+ </_notes>
2060
+ </call>
2061
+ <call id="a14" endpoint="fix">
2062
+ <parameters>
2063
+ <label>Versandfertig 690</label>
2064
+ <method>:post</method>
2065
+ <arguments>
2066
+ <technische_weisungen/>
2067
+ <regelwerk/>
2068
+ </arguments>
2069
+ </parameters>
2070
+ <finalize output="result"/>
2071
+ <update output="result"/>
2072
+ <_timing>
2073
+ <_timing_min/>
2074
+ <_timing_max/>
2075
+ <_timing_avg/>
2076
+ </_timing>
2077
+ <_notes>
2078
+ <_notes_general/>
2079
+ <_notes_output/>
2080
+ <_attachments/>
2081
+ </_notes>
2082
+ </call>
2083
+ <call id="a15" endpoint="fix">
2084
+ <parameters>
2085
+ <label>Qualitaetsfreigabe 710</label>
2086
+ <method>:post</method>
2087
+ <arguments>
2088
+ <regelwerk/>
2089
+ <technische_weisungen/>
2090
+ </arguments>
2091
+ </parameters>
2092
+ <finalize output="result"/>
2093
+ <update output="result"/>
2094
+ <_timing>
2095
+ <_timing_min/>
2096
+ <_timing_max/>
2097
+ <_timing_avg/>
2098
+ </_timing>
2099
+ <_notes>
2100
+ <_notes_general/>
2101
+ <_notes_output/>
2102
+ <_attachments/>
2103
+ </_notes>
2104
+ </call>
2105
+ <choose mode="exclusive">
2106
+ <alternative condition="data.taetigkeiten.include? &quot;Anbauteile montieren&quot;">
2107
+ <call id="a35" endpoint="">
2108
+ <parameters>
2109
+ <label>Anbauteilmontage 670</label>
2110
+ <method>:post</method>
2111
+ <arguments/>
2112
+ </parameters>
2113
+ <finalize output="result"/>
2114
+ <update output="result"/>
2115
+ <_notes>
2116
+ <_notes_general/>
2117
+ </_notes>
2118
+ </call>
2119
+ </alternative>
2120
+ <otherwise/>
2121
+ </choose>
2122
+ </description>
2123
+ </description>
2124
+ <transformation>
2125
+ <description type="copy"/>
2126
+ <dataelements type="none"/>
2127
+ <endpoints type="none"/>
2128
+ </transformation>
2129
+ </properties>