MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / MyMonitorGDaemon

Class MyMonitorGDaemon

python/tutorial/MyGDaemon/MyMonitorDaemon.py:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11from MyParams.MyParam import MyParam
12
13class MyMonitorGDaemon(GDaemon):
14 def daemonTask(self, _):
15 param: MyParam = self.getGParamWithNoEmpty('param1')
16 print("----> [MyMonitorDaemon] monitor span is [{0}] ms, count is [{1}]".format(
17 self.getInterval(), param.count))

Callers 1

tutorial_daemonFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected