added more new whatsminer types

This commit is contained in:
UpstreamData
2022-06-06 10:06:17 -06:00
parent 264db3bdd6
commit 481d31a0f1
6 changed files with 77 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
from miners._backends import BTMiner # noqa - Ignore access to _module
from miners._types import M30S, M30SV50 # noqa - Ignore access to _module
from miners._types import (
M30S,
M30SV50,
M30SVG20,
M30SVE20,
M30SVE10,
) # noqa - Ignore access to _module
class BTMinerM30S(BTMiner, M30S):
@@ -12,3 +18,21 @@ class BTMinerM30SV50(BTMiner, M30SV50):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SVG20(BTMiner, M30SVG20):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SVE20(BTMiner, M30SVE20):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SVE10(BTMiner, M30SVE10):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip

View File

@@ -3,6 +3,7 @@ from miners._types import (
M30SPlus,
M30SPlusVE40,
M30SPlusVF20,
M30SPlusVG60,
) # noqa - Ignore access to _module
@@ -22,3 +23,9 @@ class BTMinerM30SPlusVF20(BTMiner, M30SPlusVF20):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip
class BTMinerM30SPlusVG60(BTMiner, M30SPlusVG60):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.ip = ip

View File

@@ -1,4 +1,10 @@
from .M30S import BTMinerM30S, BTMinerM30SV50
from .M30S import (
BTMinerM30S,
BTMinerM30SVE10,
BTMinerM30SVE20,
BTMinerM30SVG20,
BTMinerM30SV50,
)
from .M30S_Plus import BTMinerM30SPlus, BTMinerM30SPlusVF20, BTMinerM30SPlusVE40
from .M30S_Plus_Plus import (
BTMinerM30SPlusPlus,