) j- P, ], H: l } / x5 f6 B. u' F' O1 \ // Return the results." }! j) b6 }; ~( B% y3 @) M
return returnValue2 j: }% C5 g g E( e
2 U3 E' k1 ]/ A# l0 g0 i
}; J; \. Z; u# P5 t, g# U6 x
! A- w% W# s1 {9 Y /** ; `/ s1 j' L* R2 M5 E! z9 } * }/ k& e) Q# n* _; f C: Z6 g
* This is the step behavior. ( e* c9 X+ i* O M) u- g * @method step 7 ? C: E8 e- P$ q* G* W *) K: s: S9 b! L
*/+ c7 e. t( `3 d* `1 a
@ScheduledMethod( 3 x! x" A7 p% n5 I+ g/ q start = 1d, 6 C2 B# n# ^# h6 e r* H interval = 1d, 3 b: k( p* M6 ~+ f) ]& q% K shuffle = false' S4 }8 N" G$ f" A# B, K
) }$ W2 s; Q+ o) E- R: \
public void step() { 1 T& x5 J% C) `# E& A, U. ?- S# {4 e) F9 z, F
// Note the simulation time.! o" O5 t" c/ s' ^- P6 P& {
def time = GetTickCountInTimeUnits()% p! y; ~* v9 I' x" I, l4 i
9 x; W- Q- J6 t! U8 M // This is a task.4 g+ T" _5 t$ T+ w: P$ W# \5 V5 k7 v
measurePressure=pressure+ RandomDraw(-20.0, 20.0)+ q" l* t# K2 R' {
// End the method.1 ^/ I+ i) R- c% s
return% A0 p- H, g$ C. e' o