Python scripting - Series operators

CENPyOlpSeries_EventInitOperator

Previous  Chapter  Next

 

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

 

 

Methods

 

RegisterPyTechnologyEvent(pyScriptName: string)

 

o

pyScriptName

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')

 


 

GetLoggerOperator(): CENPyOlpLogOperator

 

o

return

Object of CENPyOlpLogOperator class

 

[Example]

   logOperator = seriesEventInitOperator.GetLoggerOperator()

 


 


Previous
Previous page
Chapter
Chapter page
Next
Next page