, U- V/ l) \- f }! t1 I O; Y0 n) `% a* R
// Return the results.$ ~% U' [& E y9 m4 r6 J2 a
return returnValue 1 b8 U* Y0 W7 h. N( s7 y1 ?# @9 W1 i! f
}* P) o. S* l& T
$ ]. \! Q- k2 N9 v /**; w% N# q& U' {
* 7 b4 X. {- q# {$ s. F* i * This is the step behavior.$ C x0 K! h5 K& P4 p7 E
* @method step 4 c% g) S5 B& c; ~% g: ~ * . v% z6 U& _. q" b& G) v3 W8 _% \ S* W */. h, S" H1 A2 _; I
@ScheduledMethod(/ r8 g- X# N8 \/ t& a; A
start = 1d,5 j( ~5 ]+ ?7 [! @8 X9 o8 w) }! v
interval = 1d, / `8 h8 {3 x1 F5 t* d, B1 b1 Z shuffle = false$ O# K Q9 h; Z! _
) ) N$ q% S2 y0 l' `0 _5 Z, x public void step() {3 q! g$ V" q6 h- M9 b
3 Y+ ?( Z1 Q: A% s! p2 j
// Note the simulation time.* \$ ?: b6 o w1 @
def time = GetTickCountInTimeUnits()6 w" A0 d8 F. J; m
$ ^% b( n# {& s- `5 ]' R8 `
// This is a task.% W) O6 o% @; g
measurePressure=pressure+ RandomDraw(-20.0, 20.0) 6 ?+ R* M W6 B9 H+ P // End the method.+ t3 G3 |* j5 ^/ n
return - u. i0 X9 u. d* A7 e ( U# k* u& R# j" ] N0 p }