MotionDeviceAccessAddStateTransitioned Method |
Add a handler for the StateTransitioned event.
Namespace:
Demo3D.PLC.Comms.CIP.Nodes.Motion
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic void AddStateTransitioned(
Action<AxisState, AxisState> handler,
CallbackContext callbackContext
)
Parameters
- handler
- Type: SystemActionAxisState, AxisState
Handler for StateTransitioned events to add. - callbackContext
- Type: Demo3D.NetCallbackContext
Defines the context in which the callback should be called.
Remarks
If callbackContext is CallerContext then handler is Demo3D thread safe.
It's called in the same thread (synchronization context) as the caller to this method.
See Also