--- a/runtime/NevowServer.py Fri Dec 18 11:50:28 2020 +0100
+++ b/runtime/NevowServer.py Mon Dec 21 11:10:27 2020 +0100
@@ -219,16 +219,16 @@
action=_("Send"))
# pylint: disable=no-self-argument
- def restartOrResetPLC(
+ def restartOrRepairPLC(
ctx=annotate.Context(),
- action=annotate.Choice(["Restart", "Reset"],
+ action=annotate.Choice(["Restart", "Repair"],
required=True,
label=_("Action"))):
pass
- restartOrResetPLC = annotate.autocallable(restartOrResetPLC,
+ restartOrRepairPLC = annotate.autocallable(restartOrRepairPLC,
label=_(
- "Restart or Reset"),
+ "Restart or Repair"),
action=_("Do"))
customSettingsURLs = {
@@ -300,8 +300,8 @@
GetPLCObjectSingleton().LogMessage(
level, "Web form log message: " + message)
- def restartOrResetPLC(self, action, **kwargs):
- if(action == "Reset"):
+ def restartOrRepairPLC(self, action, **kwargs):
+ if(action == "Repair"):
GetPLCObjectSingleton().RepairPLC()
else:
MainWorker.quit()