pndBase.py hinzugefügt

This commit is contained in:
2025-10-30 01:40:23 +00:00
parent 01fd9cc79e
commit 536f746d36

20
pndBase.py Normal file
View File

@@ -0,0 +1,20 @@
## 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