:time
" f" C! C& q/ b# a9 X8 Uis
4 n% n/ V5 B# ?) Z9 Qdo D7 y6 d5 T5 m" `/ p; ]' ^
if @.name = "Materials"
9 j3 G* k/ n3 @ then 9 t5 N0 r" y* Q# @
result:=z_normal(1,330,120);
G# V8 t( J7 `: y: \ elseif @.name = "Pallets"
& s. W( r9 e1 I3 l6 U) ^( q) e* Z! r then * \* T) P J0 i% h2 V4 a' `8 U
result:=z_normal(1,492,120);5 L; g3 B. v0 t0 z- I
elseif @.name = "Charging"
K7 u5 r4 u6 T then
/ T, m+ H1 A$ `, ^ @+ F& O result:=z_uniform(1,240,480);
0 N* W1 j3 r Y" ? elseif @.name = "Endproduct"
; B( f" G% v" o" d then # ~; Z- b) b/ R% }, ?
result:=z_uniform(1,300,540);2 G7 G( F5 O1 z+ y7 @4 u* D. f1 S" y
elseif @.name = "Waste" R1 J+ c1 {' Y
then
; O) Q1 i- p- a8 ~1 q' a result:=z_normal(1,720,240);
. F7 l% p+ x& Q- M end;( a: ? x1 U0 X1 c
end;
! y( V. F! k( B+ h) J* z
- t2 {/ K8 G; j8 A! U/ U
0 v4 Q) h7 X8 Q, J+ z3 D0 i Q, t+ I- h5 X$ P2 G
|