Files
esp-base/pndBase.py
2025-10-30 01:40:23 +00:00

20 lines
735 B
Python

## this is the Basic Implementation
## of the pnd Framework
## It should provide Insights
## to the usage and configuration
import 'pg26/pnd.py' as Services
import 'pg26/pndSRC.py' as Backend #not needet Just tobshiw all involved modules
import 'pg26/pndCFG' as Config
ServiceRuntime = Services.rt() #RuntimeObject
print(Config.gc_name) # print Name of current configuration
# initialize the runtime context object
ServiceRuntime.init(0) # the passed 0 as integer is internaly used as "lastTry" Parameter for the exception handling
# the Implementation will provide at least
# the following methods
# run() <this is the Main method wich has the defined Loop
# aswell as selfhealing exception handling
# BackgroundTask() <ToDo