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.
@@ -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, sock):
9
- self.sock = None
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, sock):
16
- SigurBase.__init__(self, sock)
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, sock):
31
- SigurBase.__init__(self, sock)
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(sock)
51
- relay = SigurRelay(sock)
50
+ di = SigurDI()
51
+ relay = SigurRelay()
52
52
  self.interface = ControllerInterface(di_interface=di, relay_interface=relay)
@@ -47,4 +47,4 @@ class ControllerOperator:
47
47
  return self.get_point("relays", ch)
48
48
 
49
49
  def get_model(self):
50
- return self.controller.model
50
+ return self.controller.model
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gravity_controller_operator
3
- Version: 2.2.4
3
+ Version: 2.2.5
4
4
  Summary: SDK предоставляющий универсальный интерфейс для работы со многими промышленными контроллерами ввода-вывода (количество расширяемо)
5
5
  Author: PunchyArchy
6
6
  Author-email: ksmdrmvscthny@gmail.com
@@ -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=2xp4cM0zzgxUW0otXrDNVTk93ftYKeGmBW7KbwoJYRk,1584
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=nljHk1nRu1ijJPp_ApwGPNucdR_z4AWxMJeeIHF6nTk,1554
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.4.dist-info/licenses/LICENSE,sha256=6kbiFSfobTZ7beWiKnHpN902HgBx-Jzgcme0SvKqhKY,1091
19
- gravity_controller_operator-2.2.4.dist-info/METADATA,sha256=YhROoX40gBs1UIzqhijUF4pk_yE12mbT1OIv6Vn5KmA,4124
20
- gravity_controller_operator-2.2.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- gravity_controller_operator-2.2.4.dist-info/top_level.txt,sha256=krapbz1cEDGquDJf0DnoTbnybUwi7J_8OgoIumEc0OM,28
22
- gravity_controller_operator-2.2.4.dist-info/RECORD,,
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,,