add support for whatsminer M31S+ V30

This commit is contained in:
UpstreamData
2022-09-28 10:05:28 -06:00
parent e07bd3bffb
commit f0a8b6e1c7
7 changed files with 28 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ from pyasic.miners._backends import BTMiner # noqa - Ignore access to _module
from pyasic.miners._types import (
M31SPlus,
M31SPlusVE20,
M31SPlusV30,
M31SPlusV40,
M31SPlusV60,
M31SPlusV80,
@@ -35,6 +36,12 @@ class BTMinerM31SPlusVE20(BTMiner, M31SPlusVE20):
self.ip = ip
class BTMinerM31SPlusV30(BTMiner, M31SPlusV30):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM31SPlusV40(BTMiner, M31SPlusV40):
def __init__(self, ip: str) -> None:
super().__init__(ip)