bacnet/web_settings.py
branchsvghmi
changeset 2993 b76f303ffce6
parent 2686 703ebf57508a
equal deleted inserted replaced
2992:d48ad9c3ec91 2993:b76f303ffce6
   293     _BacnetSavedConfiguration = None
   293     _BacnetSavedConfiguration = None
   294 
   294 
   295 
   295 
   296 
   296 
   297 # location_str is replaced by extension's value in CTNGenerateC call
   297 # location_str is replaced by extension's value in CTNGenerateC call
   298 def _runtime_bacnet_websettings_%(location_str)s_init():
   298 def _runtime_%(location_str)s_bacnet_websettings_init():
   299     """
   299     """
   300     # Callback function, called (by PLCObject.py) when a new PLC program
   300     # Callback function, called (by PLCObject.py) when a new PLC program
   301     # (i.e. XXX.so file) is transfered to the PLC runtime
   301     # (i.e. XXX.so file) is transfered to the PLC runtime
   302     # and oaded into memory
   302     # and oaded into memory
   303     """
   303     """
   381         return "Unchanged"
   381         return "Unchanged"
   382     return "Modified"
   382     return "Modified"
   383 
   383 
   384 
   384 
   385 # location_str is replaced by extension's value in CTNGenerateC call
   385 # location_str is replaced by extension's value in CTNGenerateC call
   386 def _runtime_bacnet_websettings_%(location_str)s_cleanup():
   386 def _runtime_%(location_str)s_bacnet_websettings_cleanup():
   387     """
   387     """
   388     # Callback function, called (by PLCObject.py) when a PLC program is unloaded from memory
   388     # Callback function, called (by PLCObject.py) when a PLC program is unloaded from memory
   389     """
   389     """
   390 
   390 
   391     #PLCObject.LogMessage("BACnet web server extension::OnUnLoadPLC() Called...")
   391     #PLCObject.LogMessage("BACnet web server extension::OnUnLoadPLC() Called...")