DLMS-SPODES 0.86.10__py3-none-any.whl → 0.86.11__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.
@@ -0,0 +1,18 @@
1
+ from typing import Protocol, ClassVar
2
+ from functools import cached_property
3
+ from .parameter import Parameter
4
+
5
+
6
+ class Base(Protocol):
7
+ OBIS: ClassVar[Parameter]
8
+
9
+ @cached_property
10
+ def LN(self) -> Parameter:
11
+ return self.OBIS.set_i(1)
12
+
13
+
14
+ class Data(Base, Protocol):
15
+
16
+ @cached_property
17
+ def VALUE(self) -> Parameter:
18
+ return self.OBIS.set_i(2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DLMS_SPODES
3
- Version: 0.86.10
3
+ Version: 0.86.11
4
4
  Summary: dlms-spodes
5
5
  Author-email: Serj Kotilevski <youserj@outlook.com>
6
6
  Project-URL: Source, https://github.com/youserj/DlmsSPODES-project
@@ -38,6 +38,7 @@ DLMS_SPODES/cosem_interface_classes/ln_pattern.py,sha256=IPluhyGWJQLBEUjOjdfEMct
38
38
  DLMS_SPODES/cosem_interface_classes/obis.py,sha256=yEwYm5CshJx8X8uSy3QH8XIbdVPg8Tt6zPUjFgkAB0M,575
39
39
  DLMS_SPODES/cosem_interface_classes/overview.py,sha256=4RjE6_5x_dDGv4M5J2rjT8MZDF-Q4nFE8JSOUA7OD84,6973
40
40
  DLMS_SPODES/cosem_interface_classes/parameter.py,sha256=ukoDSqGutYV4K4QSaM7i9zKYm8eyqQ8gnOWvqqAeDCo,18252
41
+ DLMS_SPODES/cosem_interface_classes/parameters.py,sha256=hNW-fZ-4up_CQLNKvTSwaBx0HdkM3zC3shzd9sG0bi4,388
41
42
  DLMS_SPODES/cosem_interface_classes/register.py,sha256=ClnkQ9-lg9NCxxCtFLR0soQ7VuNdigHia9qx1suGVZE,1854
42
43
  DLMS_SPODES/cosem_interface_classes/register_monitor.py,sha256=CrcFqas157kGaaDDwy8a0DKy5wK1Jm-tzCOBGBLuIKM,1760
43
44
  DLMS_SPODES/cosem_interface_classes/reports.py,sha256=9kOt9Ztyp5D59j3k3x5URy7WD1qlFNMa8xFlMu7nUmA,3320
@@ -111,7 +112,7 @@ DLMS_SPODES/types/implementations/integers.py,sha256=KAcaTY8ZwhBaJThbLSr39Oh_-9h
111
112
  DLMS_SPODES/types/implementations/long_unsigneds.py,sha256=SxmFvD2moQ03p-KZSBYK1Rv7bQSaywlHVXBfkTZG1OQ,8761
112
113
  DLMS_SPODES/types/implementations/octet_string.py,sha256=Jo_sfWcsfstiP4O6mXfBOOQlksx1c2qJMI-vbAOV-yM,294
113
114
  DLMS_SPODES/types/implementations/structs.py,sha256=GMOo6Jy8jA9d6KTLs0D-j5t0oSRvxUIwtBr_4UePwbA,2059
114
- dlms_spodes-0.86.10.dist-info/METADATA,sha256=TIED87Nv6wSzhQegjcQTg-_5uFsI5aQJIzoLb9CqeA8,999
115
- dlms_spodes-0.86.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
- dlms_spodes-0.86.10.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
117
- dlms_spodes-0.86.10.dist-info/RECORD,,
115
+ dlms_spodes-0.86.11.dist-info/METADATA,sha256=AbGIOtpiKkBMXknUmlyMyEIlsKR-9CuY5iXdAFnuTzA,999
116
+ dlms_spodes-0.86.11.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
117
+ dlms_spodes-0.86.11.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
118
+ dlms_spodes-0.86.11.dist-info/RECORD,,