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