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.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
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
- Type: Brainboxes.IOAIOLineChangedEventHandler
[Missing <param name="function"/> documentation for "M:Brainboxes.IO.IOList`1.SubscribeToTargetRangeEvent(Brainboxes.IO.AIOLineChangedEventHandler@,System.Double,System.Double)"]
- target
- Type: SystemDouble
[Missing <param name="target"/> documentation for "M:Brainboxes.IO.IOList`1.SubscribeToTargetRangeEvent(Brainboxes.IO.AIOLineChangedEventHandler@,System.Double,System.Double)"]
- delta
- Type: SystemDouble
[Missing <param name="delta"/> documentation for "M:Brainboxes.IO.IOList`1.SubscribeToTargetRangeEvent(Brainboxes.IO.AIOLineChangedEventHandler@,System.Double,System.Double)"]
See Also