IOListTSubscribeToTargetRangeEvent Method |
Register event with this handler to be notified when the state of this AIOLines in the list
changes more than the specified delta value away from the specified target value.
If IOlines are subsequently added or removed then the events will also be applied
The same event cannot be added twice (function will return and do nothing)
The event can be unregistered using the UnsubscribeToTargetRangeEvents
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SubscribeToTargetRangeEvent(
ref AIOLineChangedEventHandler function,
double target,
double delta
)
Public Sub SubscribeToTargetRangeEvent (
ByRef function As AIOLineChangedEventHandler,
target As Double,
delta As Double
)
member SubscribeToTargetRangeEvent :
function : AIOLineChangedEventHandler byref *
target : float *
delta : float -> unit
Parameters
- function AIOLineChangedEventHandler
- Function to be run when event is triggered
- target Double
- Target value over or below which the event is triggered
- delta Double
- Delta to the target value
See Also