Fulltest_3.6.xml 48 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198
  1. <testset>
  2. <positions/>
  3. <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
  4. <dataelements/>
  5. <endpoints>
  6. <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://172.18.0.30/timeout.php</timeout>
  7. <init xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?taetigkeiten[]=Eigenspannungsprüfung&amp;taetigkeiten[]=Austrittskontrolle&amp;befundung_zufuhrungs_codes[]=X&amp;tauschgruppe=%7B%22lagerlaufleistung%22%3A1.5%2C%22wucht_gramm_pro_meter%22%3A5%2C%22bremsscheiben%22%3Atrue%2C%22personenzug%22%3Atrue%2C%22gueterzug%22%3Afalse%2C%22restverschleissstaerke%22%3A5%7D&amp;lagerlaufleistung=2.1&amp;_lagerbauart=lagerbauart.txt&amp;restverschleissstaerke=2</init>
  8. <fix xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php</fix>
  9. <eigen xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?taetigkeiten[]=Radsatz%20regenerieren&amp;status=gut</eigen>
  10. <scheibe_drehen xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?geometriedaten=%7B%22X%22%3A1%2C%22Y%22%3A2%2C%22Z%22%3A3%7D&amp;geometriedaten_neu=true</scheibe_drehen>
  11. <kerb xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php</kerb>
  12. <lageraufbereitung xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/timeout.php</lageraufbereitung>
  13. <aufpressen xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?presskraftdiagramm=0&amp;wellenstatus=gut</aufpressen>
  14. <abpressen xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?status=gut</abpressen>
  15. <aufpressen_gut xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?presskraftdiagramm=gut&amp;wellenstatus=gut</aufpressen_gut>
  16. <buersten xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?taetigkeiten=Sandstrahlen</buersten>
  17. <ut_welle xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?radsatzwelle_status=gut</ut_welle>
  18. <ut_scheibe xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?ut_scheibe_status=gut</ut_scheibe>
  19. <innenringmontage xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?innenring_status=gut</innenringmontage>
  20. <wuchten xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?wucht_gramm_pro_meter=5</wuchten>
  21. <worklist_b xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/back.php?taetigkeiten[0]=UT%20Scheibe&amp;taetigkeiten[1]=Eigenspannungsprüfung</worklist_b>
  22. <read_db xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://172.18.0.30/read_db.php</read_db>
  23. <!-- <read_db_schrott xmlns="http://riddl.org/ns/common-patterns/properties/1.0">https://centurio.work/customers/oebb/fulltest/database_read_schrott.php</read_db_schrott> -->
  24. </endpoints>
  25. <description>
  26. <description xmlns="http://cpee.org/ns/description/1.0">
  27. <call id="a1" endpoint="read_db">
  28. <parameters>
  29. <label>Identifikation 110</label>
  30. <method>:get</method>
  31. <arguments>
  32. <radsatz>!data.radsatz</radsatz>
  33. </arguments>
  34. <sensors/>
  35. </parameters>
  36. <finalize output="result">data.path = result['path']
  37. data.schrott = result['schrott']
  38. data.taetigkeiten = result['taetigkeiten']
  39. data.tauschgruppe = result["tauschgruppe"]
  40. data.innenring = result['innenring']
  41. #data.wellentyp =result['wellentyp']
  42. #data.lagerbauart = result["lagerbauart"]
  43. #data.wellenkruemmung_frei = result['wellenkruemmung']
  44. #data.radsatznummer = result["radsatznummer_vor_deckeldemontage"]
  45. #data.schadcodes = result['befundung_zufuhrungs_codes']
  46. #data.auftragsnummer=result['auftragsnummer']
  47. #data.bearbeitungsstufe=result['bearbeitungsstufe']</finalize>
  48. <update output="result"/>
  49. <_timing>
  50. <_timing_min/>
  51. <_timing_max/>
  52. <_timing_avg/>
  53. </_timing>
  54. <_notes>
  55. <_notes_general/>
  56. <_notes_output/>
  57. <_attachments/>
  58. </_notes>
  59. </call>
  60. <choose mode="exclusive">
  61. <alternative condition="not(data.taetigkeiten.include?'Lagerdemontage')"/>
  62. <alternative condition="data.wellenkruemmung_frei== false &amp;&amp; not(data.taetigkeiten.include?(&quot;Lagerdemontage&quot;))">
  63. <_probability>
  64. <_probability_min/>
  65. <_probability_max/>
  66. <_probability_avg/>
  67. </_probability>
  68. <call id="a2" endpoint="timeout">
  69. <parameters>
  70. <label>Lagerdeckeldemontage 130</label>
  71. <method>:post</method>
  72. <arguments>
  73. <deckel>true</deckel>
  74. <lager>false</lager>
  75. <anbauteile>true</anbauteile>
  76. </arguments>
  77. <sensors/>
  78. </parameters>
  79. <finalize output="result">data.taetigkeiten &lt;&lt; "Montage Deckel"
  80. data.taetigkeiten &lt;&lt; "Anbauteile montieren"</finalize>
  81. <update output="result"/>
  82. <_timing>
  83. <_timing_min/>
  84. <_timing_max/>
  85. <_timing_avg/>
  86. </_timing>
  87. <_notes>
  88. <_notes_general/>
  89. <_notes_output/>
  90. <_attachments/>
  91. </_notes>
  92. </call>
  93. </alternative>
  94. <otherwise>
  95. <call id="a16" endpoint="timeout">
  96. <parameters>
  97. <label>Lagerdemontage 130</label>
  98. <method>:post</method>
  99. <arguments>
  100. <deckel>true</deckel>
  101. <lager>true</lager>
  102. <anbauteile>true</anbauteile>
  103. <timeout>2</timeout>
  104. <!-- <station>130</station> -->
  105. </arguments>
  106. <sensors/>
  107. </parameters>
  108. <finalize output="result">
  109. data.taetigkeiten &lt;&lt; "Montage Deckel"
  110. #data.schrott = result['schrott']
  111. </finalize>
  112. <update output="result"/>
  113. <_timing>
  114. <_timing_min/>
  115. <_timing_max/>
  116. <_timing_avg/>
  117. </_timing>
  118. <_notes>
  119. <_notes_general/>
  120. <_notes_output/>
  121. <_attachments/>
  122. </_notes>
  123. </call>
  124. <choose mode="exclusive">
  125. <alternative condition="data.radsatznummer != data.wellennummer">
  126. <call id="a4" endpoint="timeout">
  127. <parameters>
  128. <label>Datenkonsistenz herstellen, Radsatznummer ändern </label>
  129. <method>:post</method>
  130. <arguments/>
  131. <sensors/>
  132. </parameters>
  133. <finalize output="result"/>
  134. <update output="result"/>
  135. <_timing>
  136. <_timing_min/>
  137. <_timing_max/>
  138. <_timing_avg/>
  139. </_timing>
  140. <_notes>
  141. <_notes_general/>
  142. <_notes_output/>
  143. <_attachments/>
  144. </_notes>
  145. </call>
  146. </alternative>
  147. <otherwise/>
  148. </choose>
  149. <choose mode="exclusive">
  150. <alternative condition="data.lagerbauart == &quot;kegelrollenlager&quot; ">
  151. <call id="a6" endpoint="timeout">
  152. <parameters>
  153. <label>Externe Lageraufbereitung</label>
  154. <method>:post</method>
  155. <arguments/>
  156. <sensors/>
  157. </parameters>
  158. <_timing>
  159. <_timing_min/>
  160. <_timing_max/>
  161. <_timing_avg/>
  162. </_timing>
  163. <_notes>
  164. <_notes_general/>
  165. <_attachments/>
  166. </_notes>
  167. </call>
  168. </alternative>
  169. <otherwise>
  170. <manipulate id="a42" label="Lager soll aufbereitet werden">data.taetigkeiten &lt;&lt; 'Lageraufbereitung'</manipulate>
  171. </otherwise>
  172. </choose>
  173. </otherwise>
  174. </choose>
  175. <parallel wait="-1">
  176. <parallel_branch pass="" local="">
  177. <loop mode="post_test" condition=" data.taetigkeiten.include?('Eigenspannungsprüfung') || data.taetigkeiten.include?( 'Abpressen') || data.taetigkeiten.include?('Radsatzwelle drehen') || data.taetigkeiten.include?('Sandstrahlen') || data.taetigkeiten.include?('MT Pruefung') || data.taetigkeiten.include?('UT Radsatzwelle')">
  178. <loop mode="pre_test" condition="data.tauschgruppe[&quot;bremsscheibe&quot;] == false || data.taetigkeiten.include?('Eigenspannungsprüfung')">
  179. <_probability>
  180. <_probability_min/>
  181. <_probability_max/>
  182. <_probability_avg/>
  183. </_probability>
  184. <call id="a3" endpoint="eigen">
  185. <parameters>
  186. <label>Eigenspannungsprüfung 140-141-142</label>
  187. <method>:post</method>
  188. <arguments/>
  189. <sensors/>
  190. </parameters>
  191. <finalize output="result"># Radsatz regenerieren falls Eigenspannungsprüfung schlecht
  192. if result["status"]!= "gut"
  193. data.taetigkeiten.concat(result["taetigkeiten"])
  194. end
  195. data.taetigkeiten.delete("Eigenspannungsprüfung")</finalize>
  196. <update output="result"/>
  197. <_timing>
  198. <_timing_min/>
  199. <_timing_max/>
  200. <_timing_avg/>
  201. </_timing>
  202. <_notes>
  203. <_notes_general/>
  204. <_notes_output/>
  205. <_attachments/>
  206. </_notes>
  207. </call>
  208. <choose mode="exclusive">
  209. <alternative condition="data.taetigkeiten.include? 'Radsatz regenerieren'">
  210. <call id="a20" endpoint="timeout">
  211. <parameters>
  212. <label>Radsatz regenerieren 150</label>
  213. <method>:post</method>
  214. <arguments>
  215. <timeout>2</timeout>
  216. </arguments>
  217. </parameters>
  218. <finalize output="result">data.taetigkeiten.delete("Radsatz regenerieren")</finalize>
  219. <update output="result"/>
  220. <_timing>
  221. <_timing_min/>
  222. <_timing_max/>
  223. <_timing_avg/>
  224. </_timing>
  225. <_notes>
  226. <_notes_general/>
  227. <_notes_output/>
  228. <_attachments/>
  229. </_notes>
  230. </call>
  231. </alternative>
  232. <otherwise/>
  233. </choose>
  234. </loop>
  235. <choose mode="exclusive">
  236. <alternative condition="data.innenring== true">
  237. <_probability>
  238. <_probability_min/>
  239. <_probability_max/>
  240. <_probability_avg/>
  241. </_probability>
  242. <call id="a32" endpoint="timeout">
  243. <parameters>
  244. <label>Demontage Innenringe 420</label>
  245. <method>:post</method>
  246. <arguments>
  247. <timeout>2</timeout>
  248. <!-- <station>410</station> -->
  249. </arguments>
  250. <sensors/>
  251. </parameters>
  252. <finalize output="result">#if result['schrott']
  253. # data.schrott = result['schrott']
  254. #end</finalize>
  255. <update output="result"/>
  256. <_timing>
  257. <_timing_min/>
  258. <_timing_max/>
  259. <_timing_avg/>
  260. </_timing>
  261. <_notes>
  262. <_notes_general/>
  263. <_notes_output/>
  264. <_attachments/>
  265. </_notes>
  266. </call>
  267. </alternative>
  268. <otherwise>
  269. <manipulate id="a43" label="Innenringstatus OK (da nicht vorhanden)">data.innenring_status = "gut"</manipulate>
  270. </otherwise>
  271. </choose>
  272. <choose mode="exclusive">
  273. <alternative condition="data.taetigkeiten.include? 'Presse' || data.ihs.to_i == 1">
  274. <_probability>
  275. <_probability_min/>
  276. <_probability_max/>
  277. <_probability_avg/>
  278. </_probability>
  279. <loop mode="post_test" condition="data.wuchten_status == &quot;schlecht&quot;">
  280. <_probability>
  281. <_probability_min/>
  282. <_probability_max/>
  283. <_probability_avg/>
  284. </_probability>
  285. <loop mode="post_test" condition="data.taetigkeiten.include?('Abpressen') || data.taetigkeiten.include?('Aufpressen') || data.taetigkeiten.include?('Drehen') || data.presskraftdiagram == &quot;Schlecht&quot;">
  286. <choose mode="exclusive">
  287. <alternative condition="data.taetigkeiten.include?'Presse'">
  288. <_probability>
  289. <_probability_min/>
  290. <_probability_max/>
  291. <_probability_avg/>
  292. </_probability>
  293. <call id="a22" endpoint="timeout">
  294. <parameters>
  295. <label>Radscheibe abpressen 510/511</label>
  296. <method>:post</method>
  297. <arguments>
  298. <timeout>2</timeout>
  299. </arguments>
  300. <sensors/>
  301. </parameters>
  302. <finalize output="result">data.taetigkeiten.delete("Presse")
  303. #if result['schrott']
  304. # data.schrott = result ['schrott']
  305. #end</finalize>
  306. <update output="result"/>
  307. <_timing>
  308. <_timing_min/>
  309. <_timing_max/>
  310. <_timing_avg/>
  311. </_timing>
  312. <_notes>
  313. <_notes_general/>
  314. <_notes_output/>
  315. <_attachments/>
  316. </_notes>
  317. </call>
  318. </alternative>
  319. <otherwise/>
  320. </choose>
  321. <loop mode="pre_test" condition="data.taetigkeiten.include?('Drehen') || data.taetigkeiten.include?('Welle unbescheibt pruefen') ">
  322. <_probability>
  323. <_probability_min/>
  324. <_probability_max/>
  325. <_probability_avg/>
  326. </_probability>
  327. <choose mode="exclusive">
  328. <alternative condition="data.taetigkeiten.include?('Drehen')">
  329. <_probability>
  330. <_probability_min/>
  331. <_probability_max/>
  332. <_probability_avg/>
  333. </_probability>
  334. <call id="a23" endpoint="timeout">
  335. <parameters>
  336. <label>Radsatzwelle drehen 520-521</label>
  337. <method>:post</method>
  338. <arguments>
  339. <timeout>2</timeout>
  340. </arguments>
  341. <sensors/>
  342. </parameters>
  343. <finalize output="result">data.taetigkeiten.delete("Drehen")
  344. #if result['schrott']
  345. # data.schrott = result ['schrott']
  346. #end</finalize>
  347. <update output="result"/>
  348. <_timing>
  349. <_timing_min/>
  350. <_timing_max/>
  351. <_timing_avg/>
  352. </_timing>
  353. <_notes>
  354. <_notes_general/>
  355. <_notes_output/>
  356. <_attachments/>
  357. </_notes>
  358. </call>
  359. </alternative>
  360. <otherwise/>
  361. </choose>
  362. <call id="a24" endpoint="timeout">
  363. <parameters>
  364. <label>Welle unbescheibt prüfen 535</label>
  365. <method>:post</method>
  366. <arguments/>
  367. <sensors/>
  368. </parameters>
  369. <finalize output="result"/>
  370. <update output="result"/>
  371. <_timing>
  372. <_timing_min/>
  373. <_timing_max/>
  374. <_timing_avg/>
  375. </_timing>
  376. <_notes>
  377. <_notes_general/>
  378. <_notes_output/>
  379. <_attachments/>
  380. </_notes>
  381. </call>
  382. </loop>
  383. <choose mode="exclusive">
  384. <alternative condition="data.taetigkeiten.include?('Senkrechtbohrwerk')">
  385. <call id="a25" endpoint="timeout">
  386. <parameters>
  387. <label>Senkrechtbohrwerk 530/531</label>
  388. <method>:post</method>
  389. <arguments>
  390. <timeout>2</timeout>
  391. </arguments>
  392. </parameters>
  393. <finalize output="result"/>
  394. <update output="result"/>
  395. <_timing>
  396. <_timing_min/>
  397. <_timing_max/>
  398. <_timing_avg/>
  399. </_timing>
  400. <_notes>
  401. <_notes_general/>
  402. <_notes_output/>
  403. <_attachments/>
  404. </_notes>
  405. </call>
  406. </alternative>
  407. <otherwise/>
  408. </choose>
  409. <call id="a26" endpoint="aufpressen">
  410. <parameters>
  411. <label>Radscheibe aufpressen 516/510</label>
  412. <method>:post</method>
  413. <arguments/>
  414. <sensors/>
  415. </parameters>
  416. <finalize output="result">data.presskraftdiagramm = result["presskraftdiagramm"]
  417. if result["taetigkeiten"]
  418. data.taetigkeiten.concat(result["taetigkeiten"])
  419. end</finalize>
  420. <update output="result"/>
  421. <_timing>
  422. <_timing_min/>
  423. <_timing_max/>
  424. <_timing_avg/>
  425. </_timing>
  426. <_notes>
  427. <_notes_general/>
  428. <_notes_output/>
  429. <_attachments/>
  430. </_notes>
  431. </call>
  432. </loop>
  433. <choose mode="exclusive">
  434. <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]">
  435. <call id="a8" endpoint="scheibe_drehen">
  436. <parameters>
  437. <label>Rad und Bremsscheibe messen 320</label>
  438. <method>:post</method>
  439. <arguments>
  440. <wellentyp/>
  441. </arguments>
  442. <sensors/>
  443. </parameters>
  444. <finalize output="result"/>
  445. <update output="result"/>
  446. <_timing>
  447. <_timing_min/>
  448. <_timing_max/>
  449. <_timing_avg/>
  450. </_timing>
  451. <_notes>
  452. <_notes_general/>
  453. <_notes_output/>
  454. <_attachments/>
  455. </_notes>
  456. </call>
  457. </alternative>
  458. <otherwise>
  459. <call id="a9" endpoint="scheibe_drehen">
  460. <parameters>
  461. <label>Radscheibe messen 321</label>
  462. <method>:post</method>
  463. <arguments>
  464. <wellentyp/>
  465. </arguments>
  466. <sensors/>
  467. </parameters>
  468. <finalize output="result"/>
  469. <update output="result"/>
  470. <_timing>
  471. <_timing_min/>
  472. <_timing_max/>
  473. <_timing_avg/>
  474. </_timing>
  475. <_notes>
  476. <_notes_general/>
  477. <_notes_output/>
  478. <_attachments/>
  479. </_notes>
  480. </call>
  481. </otherwise>
  482. </choose>
  483. <choose mode="exclusive">
  484. <alternative condition="data.tauschgruppe[&quot;personenzug&quot;] || (data.tauschgruppe[&quot;gueterzug&quot;] &amp;&amp; data.tauschgruppe[&quot;bremsscheiben&quot;])">
  485. <call id="a21" endpoint="wuchten">
  486. <parameters>
  487. <label>Wuchten 550</label>
  488. <method>:post</method>
  489. <arguments/>
  490. <sensors/>
  491. <aggregators/>
  492. </parameters>
  493. <finalize output="result">data.wucht_gramm_pro_meter = result['wucht_gramm_pro_meter']
  494. data.wucht = data.tauschgruppe['wucht_gramm_pro_meter']
  495. if data.wucht_gramm_pro_meter.to_i != data.wucht.to_i
  496. data.wuchten_status = "schlecht"
  497. else
  498. data.wuchten_status = "gut"
  499. end
  500. data.loop=false</finalize>
  501. <update output="result"/>
  502. <_timing>
  503. <_timing_min/>
  504. <_timing_max/>
  505. <_timing_avg/>
  506. </_timing>
  507. <_cost/>
  508. <_notes>
  509. <_notes_general/>
  510. <_notes_output/>
  511. <_attachments/>
  512. </_notes>
  513. </call>
  514. </alternative>
  515. <otherwise/>
  516. </choose>
  517. </loop>
  518. </alternative>
  519. <otherwise>
  520. <loop mode="pre_test" condition="data.taetigkeiten.include?('Buerstanlage') || data.taetigkeiten.include?('Sandstrahlen') || data.taetigkeiten.include?('Radsatzwelle drehen') || data.taetigkeiten.include?('UT Radsatzwelle')">
  521. <_probability>
  522. <_probability_min/>
  523. <_probability_max/>
  524. <_probability_avg/>
  525. </_probability>
  526. <choose mode="exclusive">
  527. <alternative condition="data.taetigkeiten.include?&quot;Buerstanlage&quot;">
  528. <_probability>
  529. <_probability_min/>
  530. <_probability_max/>
  531. <_probability_avg/>
  532. </_probability>
  533. <call id="a31" endpoint="buersten">
  534. <parameters>
  535. <label>Radsatzwelle Buersten 490</label>
  536. <method>:post</method>
  537. <arguments>
  538. <timeout>2</timeout>
  539. </arguments>
  540. <sensors/>
  541. </parameters>
  542. <finalize output="result">data.taetigkeiten.delete("Buerstanlage")
  543. if result["taetigkeiten"]
  544. data.taetigkeiten.concat(result["taetigkeiten"])
  545. end</finalize>
  546. <update output="result"/>
  547. <_timing>
  548. <_timing_min/>
  549. <_timing_max/>
  550. <_timing_avg/>
  551. </_timing>
  552. <_notes>
  553. <_notes_general/>
  554. <_notes_output/>
  555. <_attachments/>
  556. </_notes>
  557. </call>
  558. </alternative>
  559. <otherwise/>
  560. </choose>
  561. <choose mode="exclusive">
  562. <alternative condition="data.taetigkeiten.include?'Sandstrahlen'">
  563. <call id="a33" endpoint="timeout">
  564. <parameters>
  565. <label>Sandstrahlen 480</label>
  566. <method>:post</method>
  567. <arguments>
  568. <timeout>2</timeout>
  569. </arguments>
  570. </parameters>
  571. <finalize output="result">data.taetigkeiten.delete("Sandstrahlen")</finalize>
  572. <update output="result"/>
  573. <_timing>
  574. <_timing_min/>
  575. <_timing_max/>
  576. <_timing_avg/>
  577. </_timing>
  578. <_notes>
  579. <_notes_general/>
  580. <_notes_output/>
  581. <_attachments/>
  582. </_notes>
  583. </call>
  584. </alternative>
  585. <otherwise/>
  586. </choose>
  587. <choose mode="exclusive">
  588. <alternative condition="data.taetigkeiten.include?'HS4 Welle drehen '">
  589. <_probability>
  590. <_probability_min/>
  591. <_probability_max/>
  592. <_probability_avg/>
  593. </_probability>
  594. <call id="a28" endpoint="timeout">
  595. <parameters>
  596. <label>Radsatzwelle drehen 595</label>
  597. <method>:post</method>
  598. <arguments>
  599. <timeout>2</timeout>
  600. </arguments>
  601. <sensors/>
  602. </parameters>
  603. <finalize output="result">data.taetigkeiten.delete("Drehen")
  604. #if result['schrott']
  605. # data.schrott = result['schrott']
  606. #end</finalize>
  607. <update output="result"/>
  608. <_timing>
  609. <_timing_min/>
  610. <_timing_max/>
  611. <_timing_avg/>
  612. </_timing>
  613. <_notes>
  614. <_notes_general/>
  615. <_notes_output/>
  616. <_attachments/>
  617. </_notes>
  618. </call>
  619. </alternative>
  620. <otherwise/>
  621. </choose>
  622. <choose mode="exclusive">
  623. <alternative condition="data.taetigkeiten.include?('Ultraschallprüfen (Ausgang)')">
  624. <_probability>
  625. <_probability_min/>
  626. <_probability_max/>
  627. <_probability_avg/>
  628. </_probability>
  629. <call id="a34" endpoint="ut_welle">
  630. <parameters>
  631. <label>UT Radsatzwelle 430</label>
  632. <method>:post</method>
  633. <arguments/>
  634. <sensors/>
  635. </parameters>
  636. <finalize output="result">data.radsatzwelle_status = result["radsatzwelle_status"]
  637. if data.radsatzwelle_status == "gut"
  638. data.taetigkeiten.delete("UT Radsatzwelle")
  639. end</finalize>
  640. <update output="result"/>
  641. <_timing>
  642. <_timing_min/>
  643. <_timing_max/>
  644. <_timing_avg/>
  645. </_timing>
  646. <_notes>
  647. <_notes_general/>
  648. <_notes_output/>
  649. <_attachments/>
  650. </_notes>
  651. </call>
  652. </alternative>
  653. <otherwise/>
  654. </choose>
  655. </loop>
  656. <choose mode="exclusive">
  657. <alternative condition="data.taetigkeiten.include?'MT Pruefung'">
  658. <call id="a41" endpoint="timeout">
  659. <parameters>
  660. <label>MT Allg. Prüfung 170</label>
  661. <method>:post</method>
  662. <arguments>
  663. <timeout>2</timeout>
  664. </arguments>
  665. <sensors/>
  666. </parameters>
  667. <finalize output="result">if result['pruefung'] == "gut"
  668. data.taetigkeiten.delete("MT Pruefung")
  669. end</finalize>
  670. <update output="result"/>
  671. <_timing>
  672. <_timing_min/>
  673. <_timing_max/>
  674. <_timing_avg/>
  675. </_timing>
  676. <_notes>
  677. <_notes_general/>
  678. <_notes_output/>
  679. <_attachments/>
  680. </_notes>
  681. </call>
  682. </alternative>
  683. <otherwise/>
  684. </choose>
  685. <loop mode="pre_test" condition="data.radsatzwelle_status == &quot;schlecht&quot;">
  686. <_probability>
  687. <_probability_min/>
  688. <_probability_max/>
  689. <_probability_avg/>
  690. </_probability>
  691. <call id="a19" endpoint="timeout">
  692. <parameters>
  693. <label>Radsatzwelle drehen HS4 506</label>
  694. <method>:post</method>
  695. <arguments/>
  696. <sensors/>
  697. </parameters>
  698. <finalize output="result"/>
  699. <update output="result"/>
  700. <_timing>
  701. <_timing_min/>
  702. <_timing_max/>
  703. <_timing_avg/>
  704. </_timing>
  705. <_notes>
  706. <_notes_general/>
  707. <_notes_output/>
  708. <_attachments/>
  709. </_notes>
  710. </call>
  711. <call id="a18" endpoint="ut_welle">
  712. <parameters>
  713. <label>UT Radsatzwelle 430 V2</label>
  714. <method>:post</method>
  715. <arguments/>
  716. <sensors/>
  717. <aggregators/>
  718. </parameters>
  719. <finalize output="result">data.radsatzwelle_status = result['radsatzwelle_status']</finalize>
  720. <update output="result"/>
  721. <_timing>
  722. <_timing_min/>
  723. <_timing_max/>
  724. <_timing_avg/>
  725. </_timing>
  726. <_cost/>
  727. <_notes>
  728. <_notes_general/>
  729. <_notes_output/>
  730. <_attachments/>
  731. </_notes>
  732. </call>
  733. </loop>
  734. </otherwise>
  735. </choose>
  736. <loop mode="post_test" condition="data.innenring_status != &quot;gut&quot;">
  737. <_probability>
  738. <_probability_min/>
  739. <_probability_max/>
  740. <_probability_avg/>
  741. </_probability>
  742. <choose mode="exclusive">
  743. <alternative condition="data.innenring == true">
  744. <_probability>
  745. <_probability_min/>
  746. <_probability_max/>
  747. <_probability_avg/>
  748. </_probability>
  749. <call id="a36" endpoint="innenringmontage">
  750. <parameters>
  751. <label>Innenringmontage 190</label>
  752. <method>:post</method>
  753. <arguments/>
  754. <sensors/>
  755. </parameters>
  756. <finalize output="result">data.innenring_status = result["innenring_status"]</finalize>
  757. <update output="result"/>
  758. <_timing>
  759. <_timing_min/>
  760. <_timing_max/>
  761. <_timing_avg/>
  762. </_timing>
  763. <_notes>
  764. <_notes_general/>
  765. <_notes_output/>
  766. <_attachments/>
  767. </_notes>
  768. </call>
  769. </alternative>
  770. <otherwise/>
  771. </choose>
  772. </loop>
  773. <loop mode="post_test" condition="data.taetigkeiten.include?('Radscheibe drehen')">
  774. <choose mode="exclusive">
  775. <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]==false &amp;&amp; data.taetigkeiten.include?('Vermessen und Drehen')">
  776. <_probability>
  777. <_probability_min/>
  778. <_probability_max/>
  779. <_probability_avg/>
  780. </_probability>
  781. <call id="a40" endpoint="scheibe_drehen">
  782. <parameters>
  783. <label>Radscheibe drehen 321</label>
  784. <method>:post</method>
  785. <arguments>
  786. <wellentyp/>
  787. </arguments>
  788. <sensors/>
  789. </parameters>
  790. <finalize output="result">if result["taetigkeiten"]
  791. data.taetigkeiten.concat(result["taetigkeiten"])
  792. end</finalize>
  793. <update output="result"/>
  794. <_timing>
  795. <_timing_min/>
  796. <_timing_max/>
  797. <_timing_avg/>
  798. </_timing>
  799. <_notes>
  800. <_notes_general/>
  801. <_notes_output/>
  802. <_attachments/>
  803. </_notes>
  804. </call>
  805. </alternative>
  806. <alternative condition="data.tauschgruppe[&quot;bremsscheiben&quot;]==true &amp;&amp; data.taetigkeiten.include?('Vermessen und Drehen')">
  807. <_probability>
  808. <_probability_min/>
  809. <_probability_max/>
  810. <_probability_avg/>
  811. </_probability>
  812. <call id="a39" endpoint="scheibe_drehen">
  813. <parameters>
  814. <label>Rad und Bremsscheibe drehen 320</label>
  815. <method>:post</method>
  816. <arguments>
  817. <wellentyp/>
  818. </arguments>
  819. <sensors/>
  820. </parameters>
  821. <finalize output="result">if result["taetigkeiten"]
  822. data.taetigkeiten.concat(result["taetigkeiten"])
  823. end</finalize>
  824. <update output="result"/>
  825. <_timing>
  826. <_timing_min/>
  827. <_timing_max/>
  828. <_timing_avg/>
  829. </_timing>
  830. <_notes>
  831. <_notes_general/>
  832. <_notes_output/>
  833. <_attachments/>
  834. </_notes>
  835. </call>
  836. </alternative>
  837. <otherwise/>
  838. </choose>
  839. <call id="a30" endpoint="timeout">
  840. <parameters>
  841. <label>Read New Schrott</label>
  842. <method>:post</method>
  843. <arguments>
  844. <timeout>2</timeout>
  845. </arguments>
  846. <sensors/>
  847. </parameters>
  848. <finalize output="result">#if result['schrott']
  849. # data.schrott = result['schrott']
  850. #end</finalize>
  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. <choose mode="exclusive">
  864. <alternative condition="data.taetigkeiten.include?'Kerbschleifen'">
  865. <call id="a17" endpoint="kerb">
  866. <parameters>
  867. <label>Kerbschleifen 340</label>
  868. <method>:post</method>
  869. <arguments/>
  870. <sensors/>
  871. </parameters>
  872. <finalize output="result">data.taetigkeiten.delete("Kerbschleifen")
  873. if result["taetigkeiten"]
  874. data.taetigkeiten.concat(result["taetigkeiten"])
  875. end</finalize>
  876. <update output="result"/>
  877. <_timing>
  878. <_timing_min/>
  879. <_timing_max/>
  880. <_timing_avg/>
  881. </_timing>
  882. <_notes>
  883. <_notes_general/>
  884. <_notes_output/>
  885. <_attachments/>
  886. </_notes>
  887. </call>
  888. </alternative>
  889. <otherwise/>
  890. </choose>
  891. <choose mode="exclusive">
  892. <alternative condition="data.taetigkeiten.include?'Ultraschallprüfen (Ausgang)'">
  893. <_probability>
  894. <_probability_min/>
  895. <_probability_max/>
  896. <_probability_avg/>
  897. </_probability>
  898. <call id="a10" endpoint="ut_scheibe">
  899. <parameters>
  900. <label>UT Scheibe 630</label>
  901. <method>:post</method>
  902. <arguments/>
  903. <sensors/>
  904. </parameters>
  905. <finalize output="result">data.taetigkeiten.delete("UT Scheibe")
  906. if result['ut_scheibe_status'] == 'gut'
  907. data.taetigkeiten.delete("Radscheibe drehen")
  908. end
  909. if result["taetigkeiten"]
  910. data.taetigkeiten.concat(result["taetigkeiten"])
  911. end</finalize>
  912. <update output="result"/>
  913. <_timing>
  914. <_timing_min/>
  915. <_timing_max/>
  916. <_timing_avg/>
  917. </_timing>
  918. <_notes>
  919. <_notes_general/>
  920. <_notes_output/>
  921. <_attachments/>
  922. </_notes>
  923. </call>
  924. </alternative>
  925. <otherwise/>
  926. </choose>
  927. </loop>
  928. </loop>
  929. </parallel_branch>
  930. <parallel_branch pass="" local="">
  931. <choose mode="exclusive">
  932. <alternative condition="data.taetigkeiten.include?(&quot;Lageraufbereitung&quot;)">
  933. <call id="a7" endpoint="timeout">
  934. <parameters>
  935. <label>Lageraufbereitung 680</label>
  936. <method>:post</method>
  937. <arguments>
  938. <timeout>2</timeout>
  939. </arguments>
  940. <sensors/>
  941. </parameters>
  942. <finalize output="result">#if result['schrott']
  943. # data.schrott = result ['schrott']
  944. #end</finalize>
  945. <update output="result"/>
  946. <_timing>
  947. <_timing_min/>
  948. <_timing_max/>
  949. <_timing_avg/>
  950. </_timing>
  951. <_notes>
  952. <_notes_general/>
  953. <_notes_output/>
  954. <_attachments/>
  955. </_notes>
  956. </call>
  957. <choose mode="exclusive">
  958. <alternative condition="data.schrott == true">
  959. <_probability>
  960. <_probability_min/>
  961. <_probability_max/>
  962. <_probability_avg/>
  963. </_probability>
  964. <call id="a5" endpoint="timeout">
  965. <parameters>
  966. <label>Lager verschrotten</label>
  967. <method>:post</method>
  968. <arguments>
  969. <timeout>2</timeout>
  970. </arguments>
  971. <sensors/>
  972. </parameters>
  973. <finalize output="result"/>
  974. <update output="result"/>
  975. <_timing>
  976. <_timing_min/>
  977. <_timing_max/>
  978. <_timing_avg/>
  979. </_timing>
  980. <_notes>
  981. <_notes_general/>
  982. <_notes_output/>
  983. <_attachments/>
  984. </_notes>
  985. </call>
  986. </alternative>
  987. <otherwise>
  988. <_probability>
  989. <_probability_min/>
  990. <_probability_max/>
  991. <_probability_avg/>
  992. </_probability>
  993. </otherwise>
  994. </choose>
  995. </alternative>
  996. </choose>
  997. </parallel_branch>
  998. </parallel>
  999. <choose mode="exclusive">
  1000. <alternative condition="data.taetigkeiten.include?('Montage Deckel')">
  1001. <call id="a11" endpoint="timeout">
  1002. <parameters>
  1003. <label>Lagermontage 640</label>
  1004. <method>:post</method>
  1005. <arguments/>
  1006. <sensors/>
  1007. </parameters>
  1008. <finalize output="result">data.taetigkeiten.delete("Montage Deckel")</finalize>
  1009. <update output="result"/>
  1010. <_timing>
  1011. <_timing_min/>
  1012. <_timing_max/>
  1013. <_timing_avg/>
  1014. </_timing>
  1015. <_notes>
  1016. <_notes_general/>
  1017. <_notes_output/>
  1018. <_attachments/>
  1019. </_notes>
  1020. </call>
  1021. </alternative>
  1022. <otherwise/>
  1023. </choose>
  1024. <loop mode="post_test" condition="data.taetigkeiten.include?('Manganplatten schweissen') || data.taetigkeiten.include?('Austrittskontrolle')">
  1025. <choose mode="exclusive">
  1026. <alternative condition="data.taetigkeiten.include?('Radsatz prüfen')">
  1027. <_probability>
  1028. <_probability_min/>
  1029. <_probability_max/>
  1030. <_probability_avg/>
  1031. </_probability>
  1032. <call id="a12" endpoint="timeout">
  1033. <parameters>
  1034. <label>Austrittskontrolle 650</label>
  1035. <method>:post</method>
  1036. <arguments/>
  1037. <sensors/>
  1038. </parameters>
  1039. <finalize output="result">if result["taetigkeiten"]
  1040. data.taetigkeiten.concat(result["taetigkeiten"])
  1041. end
  1042. data.taetigkeiten.delete("Austrittskontrolle")</finalize>
  1043. <update output="result"/>
  1044. <_timing>
  1045. <_timing_min/>
  1046. <_timing_max/>
  1047. <_timing_avg/>
  1048. </_timing>
  1049. <_notes>
  1050. <_notes_general/>
  1051. <_notes_output/>
  1052. <_attachments/>
  1053. </_notes>
  1054. </call>
  1055. </alternative>
  1056. <otherwise/>
  1057. </choose>
  1058. <choose mode="exclusive">
  1059. <alternative condition="data.taetigkeiten.include?('Platten schweissen')">
  1060. <_probability>
  1061. <_probability_min/>
  1062. <_probability_max/>
  1063. <_probability_avg/>
  1064. </_probability>
  1065. <call id="a29" endpoint="timeout">
  1066. <parameters>
  1067. <label>Manganplatten Schweissen 560</label>
  1068. <method>:post</method>
  1069. <arguments/>
  1070. <sensors/>
  1071. </parameters>
  1072. <finalize output="result">if result["taetigkeiten"]
  1073. data.taetigkeiten.concat(result["taetigkeiten"])
  1074. end
  1075. data.taetigkeiten.delete("Manganplatten schweissen")</finalize>
  1076. <update output="result"/>
  1077. <_timing>
  1078. <_timing_min/>
  1079. <_timing_max/>
  1080. <_timing_avg/>
  1081. </_timing>
  1082. <_notes>
  1083. <_notes_general/>
  1084. <_notes_output/>
  1085. <_attachments/>
  1086. </_notes>
  1087. </call>
  1088. </alternative>
  1089. <otherwise/>
  1090. </choose>
  1091. </loop>
  1092. <call id="a13" endpoint="timeout">
  1093. <parameters>
  1094. <label>Lackierung 675</label>
  1095. <method>:post</method>
  1096. <arguments/>
  1097. <sensors/>
  1098. </parameters>
  1099. <finalize output="result"/>
  1100. <update output="result"/>
  1101. <_timing>
  1102. <_timing_min/>
  1103. <_timing_max/>
  1104. <_timing_avg/>
  1105. </_timing>
  1106. <_notes>
  1107. <_notes_general/>
  1108. <_notes_output/>
  1109. <_attachments/>
  1110. </_notes>
  1111. </call>
  1112. <call id="a14" endpoint="timeout">
  1113. <parameters>
  1114. <label>Versandfertig 690</label>
  1115. <method>:post</method>
  1116. <arguments/>
  1117. <sensors/>
  1118. </parameters>
  1119. <finalize output="result"/>
  1120. <update output="result"/>
  1121. <_timing>
  1122. <_timing_min/>
  1123. <_timing_max/>
  1124. <_timing_avg/>
  1125. </_timing>
  1126. <_notes>
  1127. <_notes_general/>
  1128. <_notes_output/>
  1129. <_attachments/>
  1130. </_notes>
  1131. </call>
  1132. <call id="a15" endpoint="timeout">
  1133. <parameters>
  1134. <label>Qualitaetsfreigabe 710</label>
  1135. <method>:post</method>
  1136. <arguments/>
  1137. <sensors/>
  1138. </parameters>
  1139. <finalize output="result"/>
  1140. <update output="result"/>
  1141. <_timing>
  1142. <_timing_min/>
  1143. <_timing_max/>
  1144. <_timing_avg/>
  1145. </_timing>
  1146. <_notes>
  1147. <_notes_general/>
  1148. <_notes_output/>
  1149. <_attachments/>
  1150. </_notes>
  1151. </call>
  1152. <choose mode="exclusive">
  1153. <alternative condition="data.taetigkeiten.include?&quot;Anbauteile montieren&quot;">
  1154. <call id="a35" endpoint="timeout">
  1155. <parameters>
  1156. <label>Anbauteilmontage 670</label>
  1157. <method>:post</method>
  1158. <arguments/>
  1159. <sensors/>
  1160. </parameters>
  1161. <finalize output="result"/>
  1162. <update output="result"/>
  1163. <_timing>
  1164. <_timing_min/>
  1165. <_timing_max/>
  1166. <_timing_avg/>
  1167. </_timing>
  1168. <_notes>
  1169. <_notes_general/>
  1170. <_notes_output/>
  1171. <_attachments/>
  1172. </_notes>
  1173. </call>
  1174. </alternative>
  1175. <otherwise/>
  1176. </choose>
  1177. </description>
  1178. </description>
  1179. <transformation>
  1180. <description type="copy"/>
  1181. <dataelements type="none"/>
  1182. <endpoints type="none"/>
  1183. </transformation>
  1184. <attributes>
  1185. <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Main Fulltest</info>
  1186. <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
  1187. <theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">labels</theme>
  1188. <customer xmlns="http://riddl.org/ns/common-patterns/properties/1.0">OEBB</customer>
  1189. <status xmlns="http://riddl.org/ns/common-patterns/properties/1.0">development</status>
  1190. </attributes>
  1191. </testset>