solax-py-library 1.0.0.13__py3-none-any.whl → 1.0.0.15__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.
- solax_py_library/snap_shot/base_modbus.py +2 -2
- {solax_py_library-1.0.0.13.dist-info → solax_py_library-1.0.0.15.dist-info}/METADATA +1 -1
- {solax_py_library-1.0.0.13.dist-info → solax_py_library-1.0.0.15.dist-info}/RECORD +4 -4
- {solax_py_library-1.0.0.13.dist-info → solax_py_library-1.0.0.15.dist-info}/WHEEL +0 -0
@@ -3,12 +3,12 @@ from typing import List
|
|
3
3
|
|
4
4
|
class ModbusClientBase(ABC):
|
5
5
|
@abstractmethod
|
6
|
-
def read_registers(self, address: int, quantity_of_x: int) -> List[int]:
|
6
|
+
async def read_registers(self, address: int, quantity_of_x: int) -> List[int]:
|
7
7
|
"""抽象读取寄存器方法"""
|
8
8
|
pass
|
9
9
|
|
10
10
|
@abstractmethod
|
11
|
-
def write_registers(self, address: int, values: List[int]) -> bool:
|
11
|
+
async def write_registers(self, address: int, values: List[int]) -> bool:
|
12
12
|
"""抽象写入寄存器方法"""
|
13
13
|
pass
|
14
14
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
solax_py_library/__init__.py,sha256=zLUfOeLUGy1sFFu4tZI8cDlfuEATRZ3VcYywVhPLObE,35
|
2
2
|
solax_py_library/snap_shot/__init__.py,sha256=kcu0XnVuMAHv2YBCJ5W8XAphUTrR3aeIqoJLVrMxiGM,100
|
3
3
|
solax_py_library/snap_shot/address.py,sha256=T4za0U5My5K-0u42unze7g4Ue0qDsxgu-hy-4jZbXuU,4071
|
4
|
-
solax_py_library/snap_shot/base_modbus.py,sha256=
|
4
|
+
solax_py_library/snap_shot/base_modbus.py,sha256=xDEmIpr1dgZZw2SmFwDOdifz1NJNgxoBtfsZRQzNiOw,418
|
5
5
|
solax_py_library/snap_shot/core.py,sha256=D4jaSCo35AOfq5lZEtNXV0OoRFMBx3747_4QeKPC9Xg,9830
|
6
6
|
solax_py_library/snap_shot/exceptions.py,sha256=ky-i7TNy7fZVAJ2Z2sdGPTIYNQmxieYqKl_2bUnnwn0,95
|
7
7
|
solax_py_library/snap_shot/parser.py,sha256=OqSorkrCYI69E-m4eAU8zmbkRM1BO5pKv5I9kDpgLV8,7866
|
@@ -24,6 +24,6 @@ solax_py_library/upload/test/test_ftp.py,sha256=ROM5tlWdRvyxiKUIx72FAEqMcvSlHcw_
|
|
24
24
|
solax_py_library/upload/types/__init__.py,sha256=mgfwypAgvWNfhLMOK-osoF6Nf5QSn-uB02MkaH4m5pY,255
|
25
25
|
solax_py_library/upload/types/client.py,sha256=KqrwTRniunJCV6HjaXkZAYzFryYxXirmIWmfh5V93qI,511
|
26
26
|
solax_py_library/upload/types/ftp.py,sha256=kgjB0DyUQCGLH2iZncMuuRWKrxhh1fBD_KTu_PeEPUE,716
|
27
|
-
solax_py_library-1.0.0.
|
28
|
-
solax_py_library-1.0.0.
|
29
|
-
solax_py_library-1.0.0.
|
27
|
+
solax_py_library-1.0.0.15.dist-info/METADATA,sha256=3HbJj9xBAv9-wP8dZ4CeZV3u_2DgeXSh3XPEIk0BqbU,1789
|
28
|
+
solax_py_library-1.0.0.15.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
29
|
+
solax_py_library-1.0.0.15.dist-info/RECORD,,
|
File without changes
|