Last updated on Sep 04, 2024.

netsse.base.Vessel.add_operation#

netsse.base.Vessel.add_operation(*args, ignore_msg: bool = False)#

Add an Operation instance to the list of operations of the platform.

Parameters:
  • *args (Operation object) – Operation to be added to the platform.

  • ignore_msg (bool, default False) – If False, messages are printed to inform about any changes made to the platform. If True, thoses messages are turned off.

Example

>>> operation2 = netsse.base.Operation()
>>> platform1.add_operation(operation2,ignore_msg=True)