( t, g- k+ {, _1 I # I1 V1 o6 _7 A }! A0 l. L- a& H
// Return the results./ O, O/ @. N0 j5 {* N: h7 x
return returnValue3 Q4 N B8 w/ c, Z. B3 w
2 Q$ m" ?0 N/ J4 H$ t
}# W# H0 J7 E+ j. S. t% f& K
% b) p: a( m8 R0 V9 O
/** . u" h! Z' u9 e# L8 D, C8 u: x *7 |2 ]( X A: u! r
* This is the step behavior. 2 j2 b, R* l; ^5 |+ A F * @method step 1 e/ q5 c+ x! E/ @6 n# ?6 H3 k- j * 2 Y' G; ]; {: J, | */ 1 h! a0 ?% D; ~' |4 o9 g. G @ScheduledMethod( / @3 T4 Y" |% I4 L8 I( N start = 1d,, a$ Y* F- F4 d: V' x) i
interval = 1d,% A% R; \" }3 b- m$ T5 d n! n
shuffle = false1 n* J9 y6 c* K- r' h& j1 _# a- N% d
) D+ {# ~9 u, \% h2 V) o9 I) s( O public void step() {7 Z$ Y$ B# g2 K* m
' r6 J, n! t/ Z7 T
// Note the simulation time.: f, f/ {2 Z; E& p
def time = GetTickCountInTimeUnits()$ G: S5 M" g S9 M0 w& b
d5 o* Y/ W. R: t // This is a task. % a; ^! x, ~0 F5 q% g measurePressure=pressure+ RandomDraw(-20.0, 20.0)6 a3 T. r1 A& u0 H
// End the method.# F z; z8 j- s1 \& f
return $ ^6 b, D4 I4 K ' J% j) I; \& @. E7 r4 V }