3 C3 o5 w3 Y+ B1 ]- ^% e8 R 2 l! D( M; W' R, G B8 ]4 I9 N- X: ^ }% Q. _ i1 C6 t7 J
// Return the results. 9 k% T! E; f' w" @ p return returnValue2 T t% f( R# z. A; m
( q* b$ Z+ d( i D% u
} : n m$ S; |2 k$ k' M* s6 ]1 V$ n ; Q- t5 \' U1 Z /**5 P8 p' Z, y; _0 ` c( h3 ^
* " y* v2 X! ]5 ]7 V, T * This is the step behavior.- i0 ~; o5 l T H' V
* @method step9 `" s- u1 n8 d& }
* ( j _& ?$ n5 s */) ?8 r; U7 p$ C8 P1 T
@ScheduledMethod( 5 A$ q# p7 \7 ? start = 1d,, @4 e7 U: ^9 G, Y/ Y4 V# |
interval = 1d,! Z R! z! e* L& z' `+ V
shuffle = false" ^: j& W! n% v( [4 N
)3 C" _: F+ M2 _& ?
public void step() { " B y) _& P1 l/ Z- k& w5 W" R" M2 [: X7 C; ^" c z2 y
// Note the simulation time.* r+ T7 L; t: i# H) p
def time = GetTickCountInTimeUnits()- M( R* L* w) [1 n& y! t+ t
' }& V! {( {9 N3 f' j. \* \ // This is a task. 3 R6 s4 M" R$ @+ n0 a- }; I measurePressure=pressure+ RandomDraw(-20.0, 20.0) . ?7 b) E8 z1 O // End the method. , S: H" v1 r: ~ ^" ~' ]& V$ i return , w# D Z. k6 I; m 1 _$ u5 a. _- F' G' P }