DLMS-SPODES 0.87.16__py3-none-any.whl → 0.87.17__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- DLMS_SPODES/cosem_interface_classes/collection.py +1 -1
- DLMS_SPODES/cosem_interface_classes/profile_generic/ver0.py +11 -0
- {dlms_spodes-0.87.16.dist-info → dlms_spodes-0.87.17.dist-info}/METADATA +1 -1
- {dlms_spodes-0.87.16.dist-info → dlms_spodes-0.87.17.dist-info}/RECORD +6 -6
- {dlms_spodes-0.87.16.dist-info → dlms_spodes-0.87.17.dist-info}/WHEEL +0 -0
- {dlms_spodes-0.87.16.dist-info → dlms_spodes-0.87.17.dist-info}/top_level.txt +0 -0
|
@@ -1353,7 +1353,7 @@ class Collection:
|
|
|
1353
1353
|
@lru_cache(4)
|
|
1354
1354
|
def get_association_id(self, client_sap: enums.ClientSAP) -> int:
|
|
1355
1355
|
"""return id(association instance) from it client address without current"""
|
|
1356
|
-
for ass in get_filtered(iter(self), (ln_pattern.
|
|
1356
|
+
for ass in get_filtered(iter(self), (ln_pattern.ASSOCIATION,)):
|
|
1357
1357
|
if ass.associated_partners_id.client_SAP == client_sap:
|
|
1358
1358
|
return ass.logical_name.e
|
|
1359
1359
|
else:
|
|
@@ -33,6 +33,14 @@ class SortMethod(cdt.Enum, elements=(1, 2, 3, 4, 5, 6)):
|
|
|
33
33
|
"""sort_method"""
|
|
34
34
|
|
|
35
35
|
|
|
36
|
+
class GetBufferByIndex(cdt.Structure):
|
|
37
|
+
"""get_buffer_by_index"""
|
|
38
|
+
from_index: cdt.DoubleLongUnsigned
|
|
39
|
+
to_index: cdt.DoubleLongUnsigned
|
|
40
|
+
selected_values: cdt.Array
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
36
44
|
class ProfileGeneric(ic.COSEMInterfaceClasses):
|
|
37
45
|
"""5.3.1 Profile generic"""
|
|
38
46
|
CLASS_ID = ClassID.PROFILE_GENERIC
|
|
@@ -56,6 +64,9 @@ class ProfileGeneric(ic.COSEMInterfaceClasses):
|
|
|
56
64
|
M_ELEMENTS = (
|
|
57
65
|
ic.ICMElement("reset", integers.Only0),
|
|
58
66
|
ic.ICMElement("capture", integers.Only0),
|
|
67
|
+
ic.ICMElement("write", cdt.Structure), # todo: make anyhow
|
|
68
|
+
ic.ICMElement("get_buffer_by_range", integers.Only0),
|
|
69
|
+
ic.ICMElement("get_buffer_by_index", integers.Only0)
|
|
59
70
|
# more 2 elements
|
|
60
71
|
)
|
|
61
72
|
|
|
@@ -25,7 +25,7 @@ DLMS_SPODES/cosem_interface_classes/activity_calendar.py,sha256=iPmFZ4dtcKMbD8Le
|
|
|
25
25
|
DLMS_SPODES/cosem_interface_classes/arbitrator.py,sha256=RMLpgDPoyMGcdTP2PEuvJJjGTbeWfbotcEDT4u_6KSs,3135
|
|
26
26
|
DLMS_SPODES/cosem_interface_classes/attr_indexes.py,sha256=WyE7YsdCGa606NHCzsOrUmk-FIW58iQBc1PamziCTYg,316
|
|
27
27
|
DLMS_SPODES/cosem_interface_classes/clock.py,sha256=MY9rbb3xXEcckHnuBFywiPjbDTOd1XiPYU-XNnoEETo,4372
|
|
28
|
-
DLMS_SPODES/cosem_interface_classes/collection.py,sha256=
|
|
28
|
+
DLMS_SPODES/cosem_interface_classes/collection.py,sha256=ZzkdERdnZTcIqX9UdBrMoapJqMPA3tM9l8SiMYm9Joo,96437
|
|
29
29
|
DLMS_SPODES/cosem_interface_classes/cosem_interface_class.py,sha256=xtdinFiaCGKi98Wn8KhFVsWqRmxhecQjFryezCqPx6A,22601
|
|
30
30
|
DLMS_SPODES/cosem_interface_classes/data.py,sha256=1M7_74iiv2lu8CP1Dt95J5lWvQZWQ8fNTWaP5EqlJRM,788
|
|
31
31
|
DLMS_SPODES/cosem_interface_classes/disconnect_control.py,sha256=QZS2-8m_2mtL2yfvFpTrkl3Z9nbopPQhvWrsp-YAR08,2852
|
|
@@ -80,7 +80,7 @@ DLMS_SPODES/cosem_interface_classes/modem_configuration/ver1.py,sha256=fJhnkbwAE
|
|
|
80
80
|
DLMS_SPODES/cosem_interface_classes/ntp_setup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
81
81
|
DLMS_SPODES/cosem_interface_classes/ntp_setup/ver0.py,sha256=Bj_qB6f2CdzaCGMgkYdyMKl6u4iE_p_KNh1MuMsxV8M,1977
|
|
82
82
|
DLMS_SPODES/cosem_interface_classes/profile_generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
|
-
DLMS_SPODES/cosem_interface_classes/profile_generic/ver0.py,sha256=
|
|
83
|
+
DLMS_SPODES/cosem_interface_classes/profile_generic/ver0.py,sha256=WkJnkHaeS_ETw9RTnLiJS06uD3xoZFDd8lztFJ265HY,4472
|
|
84
84
|
DLMS_SPODES/cosem_interface_classes/profile_generic/ver1.py,sha256=uTcor-jm_TcFMRToHGhRXlwDDNQH3Gtpukm_40vaW1I,13728
|
|
85
85
|
DLMS_SPODES/cosem_interface_classes/push_setup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
86
|
DLMS_SPODES/cosem_interface_classes/push_setup/ver0.py,sha256=ltZuV-GwbvgvnmGCg8ef_jS1rDrMA5xlADRqAhhslhI,373
|
|
@@ -111,7 +111,7 @@ DLMS_SPODES/types/implementations/integers.py,sha256=aw1Y7-2VI_eyGoDPUZEj5_xTtPO
|
|
|
111
111
|
DLMS_SPODES/types/implementations/long_unsigneds.py,sha256=0JDdc3rygG7TlbKcBkKawe4hlhai32UxO7-Hu49qRJY,8634
|
|
112
112
|
DLMS_SPODES/types/implementations/octet_string.py,sha256=K_evjfdZvK4MEl1YStDxZvey2dIKHjBpST8lmRZ6Pak,283
|
|
113
113
|
DLMS_SPODES/types/implementations/structs.py,sha256=bq720Jv9uEgdTrz-Cj-8DXnbWUIV_uqzuHlrmHpL1VY,1995
|
|
114
|
-
dlms_spodes-0.87.
|
|
115
|
-
dlms_spodes-0.87.
|
|
116
|
-
dlms_spodes-0.87.
|
|
117
|
-
dlms_spodes-0.87.
|
|
114
|
+
dlms_spodes-0.87.17.dist-info/METADATA,sha256=DuQ-DrdqsvCgUbW1sjCTdPGK2KTZpnZdvzsH0OW9Lew,1079
|
|
115
|
+
dlms_spodes-0.87.17.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
116
|
+
dlms_spodes-0.87.17.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
|
|
117
|
+
dlms_spodes-0.87.17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|