feature: add support for whatsminer M30S+ VG40

This commit is contained in:
UpstreamData
2022-12-13 10:05:07 -07:00
parent f69e07fe68
commit 2d8c7eb4fd
7 changed files with 27 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ from pyasic.miners._types import ( # noqa - Ignore access to _module
M30SPlusVE40,
M30SPlusVF20,
M30SPlusVG60,
M30SPlusVG40,
)
@@ -39,6 +40,12 @@ class BTMinerM30SPlusVE40(BTMiner, M30SPlusVE40):
self.ip = ip
class BTMinerM30SPlusVG40(BTMiner, M30SPlusVG40):
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)

View File

@@ -23,6 +23,7 @@ from .M30S_Plus import (
BTMinerM30SPlus,
BTMinerM30SPlusVE40,
BTMinerM30SPlusVF20,
BTMinerM30SPlusVG40,
BTMinerM30SPlusVG60,
)
from .M30S_Plus_Plus import (