pndBase.py hinzugefügt
This commit is contained in:
20
pndBase.py
Normal file
20
pndBase.py
Normal 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
|
||||
Reference in New Issue
Block a user