--- a/connectors/WAMP/__init__.py Mon Oct 01 15:53:34 2018 +0300
+++ b/connectors/WAMP/__init__.py Tue Oct 02 16:53:14 2018 +0300
@@ -36,6 +36,7 @@
from autobahn.wamp.exception import TransportLost
from autobahn.wamp.serializer import MsgPackSerializer
+from runtime import PlcStatus
_WampSession = None
_WampConnection = None
@@ -59,7 +60,7 @@
PLCObjDefaults = {
"StartPLC": False,
"GetTraceVariables": ("Broken", None),
- "GetPLCstatus": ("Broken", None),
+ "GetPLCstatus": (PlcStatus.Broken, None),
"RemoteExec": (-1, "RemoteExec script failed!")
}