DLMS-SPODES 0.87.6__py3-none-any.whl → 0.87.7__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.
@@ -1234,7 +1234,7 @@ class Collection:
1234
1234
  def obis2obj(self, obis: o.OBIS) -> result.SimpleOrError[InterfaceClass]:
1235
1235
  if obj := self.__objs.get(obis):
1236
1236
  return result.Simple(obj)
1237
- return result.Error.from_e(exc.NoObject(obis))
1237
+ return result.Error.from_e(ValueError(str(obis)), "no object")
1238
1238
 
1239
1239
  def logicalName2obj(self, ln: cst.LogicalName) -> result.SimpleOrError[InterfaceClass]:
1240
1240
  return self.obis2obj(o.OBIS(ln.contents))
@@ -62,7 +62,7 @@ class Parameter:
62
62
 
63
63
  @cached_property
64
64
  def logical_name(self) -> "Parameter":
65
- return self.get_attr(2)
65
+ return self.get_attr(1)
66
66
 
67
67
  def __eq__(self, other: object) -> bool:
68
68
  if isinstance(other, Parameter):
@@ -47,14 +47,6 @@ class Clock(Parameter):
47
47
  def status(self) -> "Clock":
48
48
  return self.get_attr(4)
49
49
 
50
- @property
51
- def time_zone(self) -> "Clock":
52
- return self.get_attr(3)
53
-
54
- @property
55
- def status(self) -> "Clock":
56
- return self.get_attr(4)
57
-
58
50
  @property
59
51
  def daylight_savings_begin(self) -> "Clock":
60
52
  return self.get_attr(5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DLMS_SPODES
3
- Version: 0.87.6
3
+ Version: 0.87.7
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
@@ -25,7 +25,7 @@ DLMS_SPODES/cosem_interface_classes/activity_calendar.py,sha256=VWSiKn2LNBA1VLAA
25
25
  DLMS_SPODES/cosem_interface_classes/arbitrator.py,sha256=S9TguoMG6O5DpMBp6mpcJpw6PHanvh4SEAN3M_v6qts,3240
26
26
  DLMS_SPODES/cosem_interface_classes/attr_indexes.py,sha256=aUSnT-dKoBsDbwLhlgtLIHGRl7PZrT-ld2ThCEUjUeA,328
27
27
  DLMS_SPODES/cosem_interface_classes/clock.py,sha256=vgRt9NcPAAlRZfDrlR11Q8o-wHz6uA0PnBUP2318WsY,4503
28
- DLMS_SPODES/cosem_interface_classes/collection.py,sha256=4zafwek9zuWPLlpOZqZ0-uC7z2X-IhsVC5kCUaxhEmY,98545
28
+ DLMS_SPODES/cosem_interface_classes/collection.py,sha256=K3VEkFSxfh7dn7nU6lcsKrHNYzuaQMlg7AXdK4v15JM,98561
29
29
  DLMS_SPODES/cosem_interface_classes/cosem_interface_class.py,sha256=tPHsO-AlCflQzWO3gARSHoBkn6-SW_Y_O2TTCzB1sK8,23184
30
30
  DLMS_SPODES/cosem_interface_classes/data.py,sha256=YSjA3Y0M5NMcfYzWPEuZw6ojIqr2UghgW_ck8dXySMU,809
31
31
  DLMS_SPODES/cosem_interface_classes/disconnect_control.py,sha256=CIx7I4QRpPxAC5iYxpbhCIuv6U2P3s6ELam8eD-kD5w,2926
@@ -37,8 +37,8 @@ DLMS_SPODES/cosem_interface_classes/limiter.py,sha256=LDVoix4L2yq4yPxbfSv6zoyA5p
37
37
  DLMS_SPODES/cosem_interface_classes/ln_pattern.py,sha256=IPluhyGWJQLBEUjOjdfEMct8JP_4orUwF92c3sQfSNM,13921
38
38
  DLMS_SPODES/cosem_interface_classes/obis.py,sha256=yEwYm5CshJx8X8uSy3QH8XIbdVPg8Tt6zPUjFgkAB0M,575
39
39
  DLMS_SPODES/cosem_interface_classes/overview.py,sha256=0eko1CW0eH397J5kM20G7RSQUzCGV6lGCMPbLsKPEqQ,7146
40
- DLMS_SPODES/cosem_interface_classes/parameter.py,sha256=esTD-1VzvX0rnazsHSVIR8mLuVxpdqwdjzppxj5Zz7s,18961
41
- DLMS_SPODES/cosem_interface_classes/parameters.py,sha256=aYkpdsomVxOFCkNduYlWxxqyH8Y7Ncvn3qGYWOouSNE,4390
40
+ DLMS_SPODES/cosem_interface_classes/parameter.py,sha256=yCYAegKzz7RXvxOCFlVYiH9llZLLvHSOkzLWAsDQ56s,18961
41
+ DLMS_SPODES/cosem_interface_classes/parameters.py,sha256=XGfZaFdKusVTom1dwjbz1O_Sd95Pkf6pTMjC77NP7qE,4219
42
42
  DLMS_SPODES/cosem_interface_classes/register.py,sha256=Cfikftpo1Nzg_B2drOmJDwoGkbS2wXlqQpxVgXL1w2U,1886
43
43
  DLMS_SPODES/cosem_interface_classes/register_monitor.py,sha256=fNM-JrjHxQB8b5DgUOtDcnkO_hxu5bFICiuKEoZa37g,1792
44
44
  DLMS_SPODES/cosem_interface_classes/reports.py,sha256=zsWmKGqdP6uiZrH8hR5aqHJPMsyHwyrSCRf6khhFoSg,3365
@@ -111,7 +111,7 @@ DLMS_SPODES/types/implementations/integers.py,sha256=Asy4X260t1Fzw_V5iw0uiDOxtfB
111
111
  DLMS_SPODES/types/implementations/long_unsigneds.py,sha256=SxmFvD2moQ03p-KZSBYK1Rv7bQSaywlHVXBfkTZG1OQ,8761
112
112
  DLMS_SPODES/types/implementations/octet_string.py,sha256=Jo_sfWcsfstiP4O6mXfBOOQlksx1c2qJMI-vbAOV-yM,294
113
113
  DLMS_SPODES/types/implementations/structs.py,sha256=GMOo6Jy8jA9d6KTLs0D-j5t0oSRvxUIwtBr_4UePwbA,2059
114
- dlms_spodes-0.87.6.dist-info/METADATA,sha256=wehMrVJEQXZiW2GNtUpjl6ehFbTXDoL8rLvGiAAaEWY,1027
115
- dlms_spodes-0.87.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
- dlms_spodes-0.87.6.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
117
- dlms_spodes-0.87.6.dist-info/RECORD,,
114
+ dlms_spodes-0.87.7.dist-info/METADATA,sha256=71uBnKiv6EIx6nPNjJAzJUHQo9Xfp64fyOIyFRRNCjE,1027
115
+ dlms_spodes-0.87.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
116
+ dlms_spodes-0.87.7.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
117
+ dlms_spodes-0.87.7.dist-info/RECORD,,