( @& e/ ?6 l' f$ G. O! W) c% x+ V. J" A
}/ z" p! v- t7 v3 x
// Return the results. ( W7 g- c; N7 @! J) d$ O9 ?/ q: Q+ @ return returnValue " m2 ]$ Z" Q& F5 {( e& p / I; H ~6 t3 C0 Y }5 @0 O, V \8 }; ?/ h- W
. w- h& x2 E' ]& C F0 f1 G( h* {6 C! X /** 7 y7 s5 W* r1 x, t" t * ' N( J+ @; v8 r * This is the step behavior. " @+ X, L3 r6 c * @method step 0 S/ s+ w: L) A7 ?5 n' t5 s *8 V) n6 K1 |1 i
*/ + K0 a' v7 p* \ @ScheduledMethod( 0 @+ V# |! F+ ?2 }' A start = 1d, ' ?3 [- r# ~5 S interval = 1d, ) r5 n# W4 V' j3 ]5 Z% G1 P0 W* p shuffle = false : v |' K( a( `8 R( | )8 d* G7 k: u7 z: C5 q( e! G
public void step() { , K/ s7 M+ F% F' o ) B& u. Z+ l7 l* b6 R, A C, t // Note the simulation time.. @4 F; E: I% o- \- j" ~3 N) Z
def time = GetTickCountInTimeUnits() 9 |6 f& k& K N2 W6 n$ J + _ c, |$ r. K+ Y! j // This is a task. & B8 D1 N X- l1 L" h* C measurePressure=pressure+ RandomDraw(-20.0, 20.0)/ M4 I3 x) {5 B9 a# I* g
// End the method. 6 e1 {6 a4 E/ P, m return * r: p- G% K* q, n, g" S6 I4 D! | q% B7 X2 b% d
}