+ W% s4 k/ b P# _7 b' ] N }- e9 C, Y1 B+ m4 i" P
// Return the results.! X3 Y# d+ ~' L$ D8 O& k5 T& o
return returnValue 8 E( e8 c& r4 J* L- o1 q8 v( j6 |% {4 y8 a; c8 B
} 9 s; Z/ W) p8 C7 s- r4 F/ m$ ]+ v* u
/** B3 z. g2 M/ D7 A! w( u% c
*3 y) Q* C$ z. r4 u
* This is the step behavior.& }/ ~4 w7 Y7 \! n% x* q
* @method step , Y- U. C/ M$ a8 d' S *0 h9 _* Z0 Z! m6 `- Y
*/6 V* J+ R4 P. O+ S4 u
@ScheduledMethod( 5 B! Z% |7 B' T4 ^/ Y start = 1d, H h' m! M$ t interval = 1d, ?1 U% |9 |5 n6 }- A shuffle = false' H. D- f7 C2 Y
) b4 c1 ?2 f/ w' z* c9 g
public void step() {$ Z# |6 g5 z! i! x1 d! b6 M8 U5 d
' H5 [$ E& o) X3 V
// Note the simulation time./ V7 K) z" p1 R- i
def time = GetTickCountInTimeUnits()* X) s9 B Z' e/ c( V$ U
7 m: g" M6 I9 p4 j+ E // This is a task. 1 U2 a5 R, s6 W: h6 e* _! A measurePressure=pressure+ RandomDraw(-20.0, 20.0)( ]: z: K1 N4 j$ {8 I% {3 t
// End the method.+ ^ u. A7 P) X# ]. I5 g
return2 r* j( Z# s& I9 R7 {4 k