:time
* C( g" h! A7 n: _& v6 L. S/ u' iis7 J' g M# c) N U
do ! G6 O# ?! d5 j* X& y+ }8 C6 |
if @.name = "Materials" x& W0 A/ P, O) u3 {: c
then
! ?) c0 q! I2 t% ^& e result:=z_normal(1,330,120);3 m1 I" F- g4 m1 o
elseif @.name = "Pallets"
$ `7 h' O, s$ p. ]" O/ W/ e4 G3 A then : C3 g+ ?% c0 ]9 L4 P
result:=z_normal(1,492,120);6 d# n l/ B& g+ ^
elseif @.name = "Charging"
- o: E- j2 k5 j then
3 f" Q& I+ I% `- p; O+ ]. Y" J4 h result:=z_uniform(1,240,480);/ t( d+ D& t/ b9 w- S
elseif @.name = "Endproduct"
" Y8 ~$ {4 L; D4 X3 A; ~ then
5 k: L3 J2 T$ n" m8 F8 u0 ~5 @+ @ result:=z_uniform(1,300,540);
4 ~3 O% m& o) s elseif @.name = "Waste"
1 a) L* j# c. w! S then & Q r/ z4 w: B1 Q, _6 r o
result:=z_normal(1,720,240);
- c7 W5 i8 x/ A! K: w4 T7 E) f end;
4 o- ^* k0 e- Oend;
( P8 k2 m9 P9 u, s5 c# ?" `
; c8 Y# w3 n7 s5 Y: v( J; M
4 ^' A) s' w2 l% u6 v
: _! o/ B% O: r" V |