Skip to content

Commit ff8feda

Browse files
committed
1 parent 79c1dc5 commit ff8feda

File tree

12 files changed

+622
-49
lines changed

12 files changed

+622
-49
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
gurux-common==1.0.13
2-
gurux-dlms==1.0.195
2+
gurux-dlms==1.0.196
33
gurux-net==1.0.22
44
gurux-serial==1.0.21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
gurux-common==1.0.13
2-
gurux-dlms==1.0.195
2+
gurux-dlms==1.0.196
33
gurux-net==1.0.19
44
gurux-serial==1.0.21
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
gurux-common==1.0.13
2-
gurux-dlms==1.0.195
2+
gurux-dlms==1.0.196
33
gurux-net==1.0.19
44
gurux-serial==1.0.21

Gurux.DLMS.python/.pylintrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ recursive=no
9999
# source root.
100100
source-roots=
101101

102-
# When enabled, pylint would attempt to guess common misconfiguration and emit
103-
# user-friendly hints instead of false-positive error messages.
104-
suggestion-mode=yes
105-
106102
# Allow loading of arbitrary C extensions. Extensions are imported into the
107103
# active Python interpreter and may run arbitrary code.
108104
unsafe-load-any-extension=no

Gurux.DLMS.python/gurux_dlms/_GXObjectFactory.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
from .objects.GXDLMSFunctionControl import GXDLMSFunctionControl
102102
from .objects.GXDLMSG3Plc6LoWPan import GXDLMSG3Plc6LoWPan
103103
from .objects.GXDLMSLteMonitoring import GXDLMSLteMonitoring
104+
from .objects.GXDLMSCommunicationPortProtection import GXDLMSCommunicationPortProtection
104105

105106

106107
class _GXObjectFactory:
@@ -241,6 +242,8 @@ def createObject(cls, ot):
241242
ret = GXDLMSFunctionControl()
242243
elif ot == ObjectType.LTE_MONITORING:
243244
ret = GXDLMSLteMonitoring()
245+
elif ot == ObjectType.COMMUNICATION_PORT_PROTECTION:
246+
ret = GXDLMSCommunicationPortProtection()
244247
else:
245248
ret = GXDLMSObject(ot)
246249
return ret

0 commit comments

Comments
 (0)