The object of the CENPyOlpSeries_EventInitOperator class is passed to the PostSeriesInitEvents callback as a parameter.
It can be used to obtain the required operators within the scope of the PostSeriesInitEvents callback in the %SeriesName%.py script file, located in the folder of the plugin.
[Example]
def PostSeriesInitEvents(seriesEventInitOperator):
pass
•
|
RegisterPyTechnologyEvent(pyScriptName: string)
|
|
|
Name of the python script file of event. File should be located in the folder specified for current technology scripts.
|
[Example]
seriesEventInitOperator.RegisterPyTechnologyEvent('GasEvent.py')
[Example]
logOperator = seriesEventInitOperator.GetLoggerOperator()
|