Codecore Logo
Quick Search
Advanced Search »

EventArgs Object

Many device events have arguments associated with them which can be referenced from the rule's script using the EventArgs object. This object is created by the event for use within the rule script and can not be created in a script. Please see the documentation for each driver's event for applicable event argument properties.




if ( EventArgs.NodeId == 5 )
  TextToSpeech("Node " + EventArgs.NodeId);
Privacy Policy | Conditions Of Use

Copyright ©2014 Codecore Technologies, All rights reserved.