% e4 Z2 V/ Q$ R' |4 l8 ?3 ~9 V }2 l) O. u" B0 @4 ]; b
// Return the results. 1 i* Y% ^6 H( y1 N8 L return returnValue, l) j+ g1 l$ I, g P( Z& R! F# @1 m
+ C4 W" }) O; r: d! N, e0 j2 o } l* {+ f5 R1 r: c/ V' v. @
, a) Z5 p4 ]) T! o. Y /**" m4 I4 |1 k5 b/ w
* # g; F- [- z) J, q7 Z5 u0 O9 Y * This is the step behavior.6 _" j% U; V" H5 Y' b' d' W
* @method step/ ^ a7 r" \, L: E( `9 C
* 8 q0 n" {, U; } */ $ M1 v! l+ q+ D* K7 a+ U. @ @ScheduledMethod(: w/ Y7 j& `3 d; f
start = 1d, $ U4 R( f- t) o interval = 1d, % @) n$ Q1 _. R' Q* X shuffle = false7 s, e6 K7 ] S7 b& J
) ; T' Y8 F3 _8 l7 O6 d/ c public void step() {; C9 p, Z/ f/ ?( I3 S
! j! L' ]; c. K# m9 z0 g
// Note the simulation time. 1 u3 q. j5 w) q5 ~$ c: R& @/ T& M def time = GetTickCountInTimeUnits()& o' u6 \" T! X' x l; C! M) a
2 ?3 n) }4 H$ `# {9 e, D // This is a task.0 m9 U9 N$ {3 d+ O: C* @
measurePressure=pressure+ RandomDraw(-20.0, 20.0)% Q! t" @6 b4 l, X& N$ @
// End the method. # s' Q5 m! S% w A y; a% m return9 j5 i- A- ]5 k5 x t% y+ Y( |
- O$ r3 o b) f5 C/ t, Q
}