:time8 v; S+ d" R' M0 n3 O
is( T3 _2 w3 Z* q$ {/ B: B
do
! [, P' R2 e, X+ a if @.name = "Materials"
& q: z: z: i) S( W4 `) A then 8 q$ a& ^7 c* v- }% V X! o
result:=z_normal(1,330,120);
' \: b/ N V& }2 n+ c. U% }- { elseif @.name = "Pallets"
% g6 h0 J7 F4 h+ G! l$ f then 5 {; @& G! `% P/ S
result:=z_normal(1,492,120);
. ~* r6 a8 l, |* {3 c f8 b; u elseif @.name = "Charging"- U) s$ P5 p* F$ l3 v
then
$ ]% ?$ f0 C, M/ i* x- F: z' { result:=z_uniform(1,240,480);+ I5 O& e( Q* I
elseif @.name = "Endproduct"% v, I$ j! V" ~# N v- B
then . @6 F2 c. r* C; K! I
result:=z_uniform(1,300,540);
) U3 Z, _! {' h2 t+ b: T7 Q' U* I elseif @.name = "Waste"
4 U7 P* {5 u [$ U then # \3 J7 V4 S2 H( i
result:=z_normal(1,720,240);
/ b, Z# |0 v) `% f9 q) V, [ end; ~% @% m7 o" d9 j3 \# ^: w& V$ q* e
end;; ^- W* c9 E0 P% b# d, A) ?
; ?9 Y Q0 ~1 W+ G; ]/ U9 K
|% j( w" G9 C0 t# A7 G8 a% U' l3 u
|