gravity-controller-operator 2.2.4__py3-none-any.whl → 2.2.5__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.
- gravity_controller_operator/controllers/sigur.py +8 -8
- gravity_controller_operator/main.py +1 -1
- {gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/METADATA +1 -1
- {gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/RECORD +7 -7
- {gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/WHEEL +0 -0
- {gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/licenses/LICENSE +0 -0
- {gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/top_level.txt +0 -0
|
@@ -5,15 +5,15 @@ from gravity_controller_operator.controllers_super import DIInterface, RelayInte
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class SigurBase:
|
|
8
|
-
def __init__(self
|
|
9
|
-
|
|
8
|
+
def __init__(self):
|
|
9
|
+
pass
|
|
10
10
|
|
|
11
11
|
class SigurDI(DIInterface, SigurBase):
|
|
12
12
|
map_keys_amount = 5
|
|
13
13
|
starts_with = 3
|
|
14
14
|
|
|
15
|
-
def __init__(self
|
|
16
|
-
SigurBase.__init__(self
|
|
15
|
+
def __init__(self):
|
|
16
|
+
SigurBase.__init__(self)
|
|
17
17
|
DIInterface.__init__(self)
|
|
18
18
|
|
|
19
19
|
def get_phys_dict(self):
|
|
@@ -27,8 +27,8 @@ class SigurRelay(RelayInterface, SigurBase):
|
|
|
27
27
|
map_keys_amount = 3
|
|
28
28
|
starts_with = 1
|
|
29
29
|
|
|
30
|
-
def __init__(self
|
|
31
|
-
SigurBase.__init__(self
|
|
30
|
+
def __init__(self):
|
|
31
|
+
SigurBase.__init__(self)
|
|
32
32
|
RelayInterface.__init__(self)
|
|
33
33
|
|
|
34
34
|
def get_phys_dict(self):
|
|
@@ -47,6 +47,6 @@ class Sigur:
|
|
|
47
47
|
|
|
48
48
|
def __init__(self, sock, login="Administrator", password="",
|
|
49
49
|
name="Sigur", *args, **kwargs):
|
|
50
|
-
di = SigurDI(
|
|
51
|
-
relay = SigurRelay(
|
|
50
|
+
di = SigurDI()
|
|
51
|
+
relay = SigurRelay()
|
|
52
52
|
self.interface = ControllerInterface(di_interface=di, relay_interface=relay)
|
{gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gravity_controller_operator
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.5
|
|
4
4
|
Summary: SDK предоставляющий универсальный интерфейс для работы со многими промышленными контроллерами ввода-вывода (количество расширяемо)
|
|
5
5
|
Author: PunchyArchy
|
|
6
6
|
Author-email: ksmdrmvscthny@gmail.com
|
{gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/RECORD
RENAMED
|
@@ -2,21 +2,21 @@ gravity_controller_operator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
2
2
|
gravity_controller_operator/controller_factory.py,sha256=QQHym-fPhWCBCOFUp7MHrecjXcRy9dXVnUbg6LvwvDo,1111
|
|
3
3
|
gravity_controller_operator/controllers_super.py,sha256=xn_66lJbyT9CQ-mMVy_QkUYEPc3nPoiI9zBuIo_yFzk,3785
|
|
4
4
|
gravity_controller_operator/exceptions.py,sha256=tAuviQbnrZh_T5E31RBeEnagwbvdi7x23uQJ8v4XRtM,647
|
|
5
|
-
gravity_controller_operator/main.py,sha256=
|
|
5
|
+
gravity_controller_operator/main.py,sha256=NMEukJrei6xbxoDxHyJyBL2GB4uOjRoUO9ffDi2vKxA,1586
|
|
6
6
|
gravity_controller_operator/controllers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
gravity_controller_operator/controllers/arm_k210.py,sha256=qlpQoqoLfZddTVJ-Dzdvk_59-0E4FEays3kE8V2Xd1I,2036
|
|
8
8
|
gravity_controller_operator/controllers/emulator_contr.py,sha256=SGZBzUeCXDwWXHcYdMDvErwIj1L81ycnObHvCjB86Sk,943
|
|
9
9
|
gravity_controller_operator/controllers/moxa.py,sha256=OGvEB6ggDi1NZh7OOEfjxVUTKC-opi0hIcAKTJJAMi0,2407
|
|
10
10
|
gravity_controller_operator/controllers/netping_relay.py,sha256=0cpioEQbZ19BApAPJT2fXWTKDEB9zf2GU9OUfbBGkAY,2572
|
|
11
|
-
gravity_controller_operator/controllers/sigur.py,sha256=
|
|
11
|
+
gravity_controller_operator/controllers/sigur.py,sha256=o0n7Oc4AJSvRBpiVNae7QBM-MXWD4lq0hnAuYMuGQa0,1504
|
|
12
12
|
gravity_controller_operator/controllers/wb_mr6lv.py,sha256=qDmb71t7KXX_w8nhguUpEoMgkPOZcoVs83We5kTgFfk,2358
|
|
13
13
|
gravity_controller_operator/controllers/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
gravity_controller_operator/controllers/tests/test_moxa_controller.py,sha256=RKwpE4WI6QylPD6qGrse6iv6X8ybzf45oTHHTjlCLXA,1068
|
|
15
15
|
gravity_controller_operator/docs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
gravity_controller_operator/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
gravity_controller_operator/tests/main_tests.py,sha256=BkgWDKUXVmK4WIYY_5CAHazYmqkKumYPtfbnyxcm_UU,575
|
|
18
|
-
gravity_controller_operator-2.2.
|
|
19
|
-
gravity_controller_operator-2.2.
|
|
20
|
-
gravity_controller_operator-2.2.
|
|
21
|
-
gravity_controller_operator-2.2.
|
|
22
|
-
gravity_controller_operator-2.2.
|
|
18
|
+
gravity_controller_operator-2.2.5.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
|
|
19
|
+
gravity_controller_operator-2.2.5.dist-info/METADATA,sha256=x4WQnlL4BXk0yeXpmFkclhD44Xia9AtT2PNIq1yBHAc,4124
|
|
20
|
+
gravity_controller_operator-2.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
21
|
+
gravity_controller_operator-2.2.5.dist-info/top_level.txt,sha256=krapbz1cEDGquDJf0DnoTbnybUwi7J_8OgoIumEc0OM,28
|
|
22
|
+
gravity_controller_operator-2.2.5.dist-info/RECORD,,
|
{gravity_controller_operator-2.2.4.dist-info → gravity_controller_operator-2.2.5.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|