smartinspectpython.sicontrolcommandeventargs

Module: sicontrolcommandeventargs.py

Revision History

Date Version Description
2023/05/30 3.0.0.0 Initial Version.

@export
class SIControlCommandEventArgs:

This class is used by the SmartInspect.ControlCommandEvent event.

Threadsafety:

This class is fully thread-safe.

SIControlCommandEventArgs(controlCommand: smartinspectpython.sicontrolcommand.SIControlCommand)

Initializes a new instance of the class.

Arguments:
  • controlCommand (SIControlCommand): The Control Command packet which caused the event.

Returns the ControlCommand item that was processed.

@export
class SIControlCommandEventHandler:

This is the event handler type for the SmartInspect.ControlCommandEvent event.

SIControlCommandEventHandler( sender: object, e: smartinspectpython.sicontrolcommandeventargs.SIControlCommandEventArgs)

Initializes a new instance of the class.

Arguments:
  • sender (object): The object which fired the event.
  • e (SIControlCommandEventArgs): Arguments that contain detailed information related to the event.