Sedona

math::MinMax


sys::Obj
  sys::Virtual
    sys::Component
      math::MinMax

public class MinMax [niagaraIcon="module://icons/x16/control/control.png"]

Min/Max object computes min and max of an input value every execute cycle Resets min/max to input value if r == true


in

public property float in

the value on which to track the min and max value

maxOut

public property float maxOut [readonly]

the computed max of all in's

minOut

public property float minOut [readonly]

the computed min of all in's

r

public property bool r

reset input. If r = true, then minOut and maxOut are forced to "in" value

execute

public virtual override void execute()

Execute computes the min/max

reset

public action void reset()

reset action sets the initial values

start

public virtual override void start()

Start sets the initial values