- G& X5 m9 w/ M$ U" h; ?3 N& v } 0 k$ C8 K( A+ Y4 E7 _9 g // Return the results.5 s' D3 t" H2 Y
return returnValue % Q4 k, \: T! _; j7 _+ `5 ]) z! L3 _: B& [* m2 d
} * w; V* v U7 Y $ ~- @3 ~8 j$ p# e, Q /**2 M5 Q; }" E! }" E7 j0 D
* ) T, G- V3 p) ^% |3 q * This is the step behavior.3 Q8 Z, t2 T, L1 P
* @method step ) O/ G: t% O) A% f+ c; @ *5 p1 b5 S( Q" G6 Q B% e' f
*/9 ~) e. ~7 M6 m1 U! ?. ~% T
@ScheduledMethod(. E! M! V! Q8 y) L! _
start = 1d,6 v! q- s8 v0 k1 g t4 ^
interval = 1d,) E7 w5 e3 c5 d& U* S' T) [& A
shuffle = false ( D$ R( j# P, S; t) b/ ? ) ( @- f$ I/ d# H0 ?7 U" D public void step() { ! p2 M2 K0 h* h7 l- D( B - u* b7 l+ P. A) X: G' |; ~4 |5 | // Note the simulation time. 3 [# L F7 h, O2 R5 M5 w9 H def time = GetTickCountInTimeUnits()* V8 l- c" v# E" S5 Y
z1 E. w9 _; }1 g. G3 o // This is a task. $ [: A0 f; d8 H6 F* o" o measurePressure=pressure+ RandomDraw(-20.0, 20.0) - F" J2 Q& J8 O3 q) \, z. Z // End the method.1 Z" D# ^9 O+ ~: S! s
return 7 z# E# k% j4 b2 Z8 g 2 B, [3 R: k1 J% W6 j }